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–2 Altera Corporation
Nios II Processor Reference Handbook October 2007
Processor Implementation
Figure 2–1. Nios II Processor Core Block Diagram
The Nios II architecture defines the following user-visible functional
units:
■ Register file
■ Arithmetic logic unit
■ Interface to custom instruction logic
■ Exception controller
■ Interrupt controller
■ Instruction bus
■ Data bus
■ Instruction and data cache memories
■ Tightly-coupled memory interfaces for instructions and data
■ JTAG debug module
The following sections discuss hardware implementation details related
to each functional unit.
Processor
Implementation
The functional units of the Nios II architecture form the foundation for
the Nios II instruction set. However, this does not indicate that any unit
is implemented in hardware. The Nios II architecture describes an
Exception
Controller
Interrupt
Controller
Arithmetic
Logic Unit
General
Purpose
Registers
r0 to r31
Control
Registers
ctl0 to ctl5
Nios II Processor Core
reset
clock
JTAG
interface
to software
debugger
Custom
I/O
Signals
irq[31..0]
JTAG
Debug Module
Program
Controller
&
Address
Generation
Custom
Instruction
Logic
Data Bus
Tightly Coupled
Data Memory
Tightly Coupled
Data Memory
Data
Cache
Instruction
Cache
Instruction Bus
Tightly Coupled
Instruction Memory
Tightly Coupled
Instruction Memory
cpu_resetrequest
cpu_resettaken