Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

What is cpuresetrequest_to_the_cpu

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'?

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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'.