![Intel NIOS II Owner Reference Manual Download Page 22](http://html1.mh-extra.com/html/intel/nios-ii/nios-ii_owner-reference-manual_2071826022.webp)
Table 4.
Nios II Processor Debug and Reset Signals
Signal Name
Type
Purpose
reset
Reset
This is a global hardware reset signal that forces the processor core to reset immediately.
cpu_resetrequest
Reset
This is an optional, local reset signal that causes the processor to reset without affecting
other components in the Nios II system. The processor finishes executing any instructions
in the pipeline, and then enters the reset state. This process can take several clock cycles,
so be sure to continue asserting the
cpu_resetrequest
signal until the processor core
asserts a
cpu_resettaken
signal.
The processor core asserts a
cpu_resettaken
signal for 1 cycle when the reset is
complete and then periodically if
cpu_resetrequest
remains asserted. The processor
remains in the reset state for as long as
cpu_resetrequest
is asserted. While the
processor is in the reset state, it periodically reads from the reset address. It discards the
result of the read, and remains in the reset state.
The processor does not respond to
cpu_resetrequest
when the processor is under the
control of the JTAG debug module, that is, when the processor is paused. The processor
responds to the
cpu_resetrequest
signal if the signal is asserted when the JTAG debug
module relinquishes control, both momentarily during each single step as well as when you
resume execution.
debugreq
Debug
This is an optional signal that temporarily suspends the processor for debugging purposes.
When you assert the signal, the processor pauses in the same manner as when a
breakpoint is encountered, transfers execution to the routine located at the break address,
and asserts a
debugack
signal. Asserting the
debugreq
signal when the processor is
already paused has no effect.
reset_req
Reset
This optional signal prevents the memory corruption by performing a reset handshake
before the processor resets.
For more information on adding reset signals to the Nios II processor, refer to
“Advanced Features Tab” in the Instantiating the Nios II Processor chapter of the Nios
II Processor Reference Handbook.
For more information on the break vector and adding debug signals to the Nios II
processor, refer to “JTAG Debug Module Tab” in the Instantiating the Nios II Processor
chapter of the Nios II Processor Reference Handbook.
Related Information
Instantiating the Nios II Processor
on page 106
2.5. Exception and Interrupt Controllers
The Nios II processor includes hardware for handling exceptions, including hardware
interrupts. It also includes an optional external interrupt controller (EIC) interface. The
EIC interface enables you to speed up interrupt handling in a complex system by
adding a custom interrupt controller.
2.5.1. Exception Controller
The Nios II architecture provides a simple, nonvectored exception controller to handle
all exception types. Each exception, including internal hardware interrupts, causes the
processor to transfer execution to an exception address. An exception handler at this
address determines the cause of the exception and dispatches an appropriate
exception routine.
Exception addresses are specified with the Platform Designer Nios II Processor
parameter editor.
2. Processor Architecture
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
22