Specifications
Table Of Contents
- Nios II Processor Reference Handbook
- Contents
- Chapter Revision Dates
- About This Handbook
- Section I. Nios II Processor
- 1. Introduction
- 2. Processor Architecture
- 3. Programming Model
- Introduction
- General- Purpose Registers
- Control Registers
- Operating Modes
- Exception Processing
- Memory and Peripheral Access
- Instruction Set Categories
- Referenced Documents
- Document Revision History
- 4. Instantiating the Nios II Processor in SOPC Builder
- Section II. Appendices
- 5. Nios II Core Implementation Details
- Introduction
- Device Family Support
- Nios II/f Core
- Nios II/s Core
- Nios II/e Core
- Referenced Documents
- Document Revision History
- 6. Nios II Processor Revision History
- 7. Application Binary Interface
- 8. Instruction Set Reference
- Introduction
- Word Formats
- Instruction Opcodes
- Assembler Pseudo- instructions
- Assembler Macros
- Instruction Set Reference
- add
- addi
- and
- andhi
- andi
- beq
- bge
- bgeu
- bgt
- bgtu
- ble
- bleu
- blt
- bltu
- bne
- br
- break
- bret
- call
- callr
- cmpeq
- cmpeqi
- cmpge
- cmpgei
- cmpgeu
- cmpgeui
- cmpgt
- cmpgti
- cmpgtu
- cmpgtui
- cmple
- cmplei
- cmpleu
- cmpleui
- cmplt
- cmplti
- cmpltu
- cmpltui
- cmpne
- cmpnei
- custom
- div
- divu
- eret
- flushd
- flushda
- flushi
- flushp
- initd
- initi
- jmp
- jmpi
- ldb / ldbio
- ldbu / ldbuio
- ldh / ldhio
- ldhu / ldhuio
- ldw / ldwio
- mov
- movhi
- movi
- movia
- movui
- mul
- muli
- mulxss
- mulxsu
- mulxuu
- nextpc
- nop
- nor
- or
- orhi
- ori
- rdctl
- ret
- rol
- roli
- ror
- sll
- slli
- sra
- srai
- srl
- srli
- stb / stbio
- sth / sthio
- stw / stwio
- sub
- subi
- sync
- trap
- wrctl
- xor
- xorhi
- xori
- Referenced Documents
- Document Revision History

2–6 Altera Corporation
Nios II Processor Reference Handbook October 2007
Reset Signals
1 The floating point custom instructions can be added to any
Nios II processor core. The Nios II software development tools
recognize C code that can take advantage of the floating point
instructions when they are present in the processor core.
Reset Signals
The Nios II processor core supports two reset signals.
■ reset - This a global hardware reset signal that forces the processor
core to reset immediately.
■ cpu_resetrequest - This is an 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. The processor core asserts the cpu_resettaken signal
for 1 cycle when the reset is complete and then periodically if
cpu_resetrequest remains asserted. The processor remains in reset
for as long as cpu_resetrequest is asserted.
While the processor is in reset, it periodically reads from the reset
address. It discards the result of the read, and remains in reset.
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.
Exception and
Interrupt
Controller
Exception Controller
The Nios II architecture provides a simple, non-vectored exception
controller to handle all exception types. All exceptions, including
hardware interrupts, cause the processor to transfer execution to a single
exception address. The exception handler at this address determines the
cause of the exception and dispatches an appropriate exception routine.
The exception address is specified at system generation time.
Integral Interrupt Controller
The Nios II architecture supports 32 external hardware interrupts. The
processor core has 32 level-sensitive interrupt request (IRQ) inputs, irq0
through irq31, providing a unique input for each interrupt source. IRQ
priority is determined by software. The architecture supports nested
interrupts.