Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12745 Discussions

What is cpuresetrequest_to_the_cpu

Altera_Forum
Contributeur émérite II
1 138 Visites

The sopc builder generates a simple niosii model,but i donot know why there are the two pins ,marked 'cpuresetrequest_to_the_cpu' and 'cpuresettaken_from_the_cpu'?

0 Compliments
3 Réponses
Altera_Forum
Contributeur émérite II
476 Visites

You can use those pins, one for RESET CPU, one for RESET INDICATOR

0 Compliments
Altera_Forum
Contributeur émérite II
476 Visites

They can be connected to other vhdl blocks to force the nios cpu into a reset state (it keeps reading the first instruction from the reset vector, but decides not to execute it), and to find out whether the cpu is in reset (pulsed active for one clock - probably when the execution is aborted). 

To be useful the 'reset taken' line needs latching and masking with 'reset request'.
0 Compliments
Altera_Forum
Contributeur émérite II
476 Visites

Search for "cpu_resetrequest" in this document: http://www.altera.com/literature/hb/nios2/n2cpu_nii51002.pdf

0 Compliments
Répondre