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
Honored Contributor II
1,137 Views

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 Kudos
3 Replies
Altera_Forum
Honored Contributor II
475 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
475 Views

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 Kudos
Altera_Forum
Honored Contributor II
475 Views

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

0 Kudos
Reply