The cycles column specifies the number of cycles required to execute the instruction.
A combinatorial custom instruction takes 1 cycle. A multi-cycle custom instruction
requires at least 2 cycles. An N-cycle multi-cycle custom instruction has N - 2 register
stages inside the custom instruction because the Nios II processor registers the result
from the custom instruction and allows another cycle for g wire delays in the source
operand bypass multiplexers. The number of cycles does not include the extra cycles
(maximum of 2) that an instruction following the multi-cycle custom instruction is
stalled by the Nios II/f if the instruction uses the result within 2 cycles. These extra
cycles occur because multi-cycle instructions are late result instructions
In Platform Designer, the Floating Point Hardware 2 component is under
Embedded Processors on the Component Library tab.
The Nios II Software Build Tools (SBT) include software support for the Floating Point
Custom Instruction 2 component. When the Floating Point Custom Instruction 2
component is present in hardware, the Nios II compiler compiles the software codes to
use the custom instructions for floating point operations.
2.3.3.2. Nios II Floating Point Hardware (FPH1) Component
The FPH1 component supports addition, subtraction, multiplication, and (optionally)
division.
When the FPH1 custom instructions are present in your target hardware, the Nios II
Software Build Tools (SBT) for Eclipse compile your code to use the custom
instructions for floating point operations, including the four primitive arithmetic
operations (addition, subtraction, multiplication and division) and the newlib math
library.
Note:
For optimum performance and device footprint, Intel recommends using FPH2 rather
than FPH1.
The FPH1 parameter editor allows you to omit the floating point division hardware for
cases in which code running on your hardware design does not make heavy use of
floating point division. When you omit the floating point divide instruction, the Nios II
compiler implements floating point division in software.
In Platform Designer, the Floating Point Hardware component is under Embedded
Processors on the Component Library tab.
Related Information
Nios II Processor webpage
2.4. Reset and Debug Signals
The table below describes the reset and debug signals that the Nios II processor core
supports.
2. Processor Architecture
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
21