IPR-NIOS Altera, IPR-NIOS Datasheet - Page 138
![no-image](/images/manufacturer_photos/0/0/40/altera_sml.jpg)
IPR-NIOS
Manufacturer Part Number
IPR-NIOS
Description
IP NIOS II MEGACORE RENEW
Manufacturer
Altera
Type
MegaCorer
Datasheet
1.IP-NIOS.pdf
(294 pages)
Specifications of IPR-NIOS
License
Renewal License
Lead Free Status / RoHS Status
Not applicable / Not applicable
- Current page: 138 of 294
- Download datasheet (3Mb)
5–6
Table 5–4. Hardware Multiply and Divide Details for the Nios II/f Core
Nios II Processor Reference Handbook
No hardware multiply or
divide
Logic elements
DSP block on Stratix II
and Stratix III families
Embedded multipliers on
Cyclone II and
Cyclone III families
Hardware divide
ALU Option
1
The Nios II/f core also provides a hardware divide option that includes LE-based
divide circuitry in the ALU.
Including an ALU option improves the performance of one or more arithmetic
instructions.
The performance of the embedded multipliers differ, depending on the target FPGA
family.
Table 5–4
The cycles per instruction value determines the maximum rate at which the ALU can
dispatch instructions and produce each result. The latency value determines when the
result becomes available. If there is no data dependency between the results and
operands for back-to-back instructions, then the latency does not affect throughput.
However, if an instruction depends on the result of an earlier instruction, then the
processor stalls through any result latency cycles until the result is ready.
In the following code example, a multiply operation (with 1 instruction cycle and 2
result latency cycles) is followed immediately by an add operation that uses the result
of the multiply. On the Nios II/f core, the addi instruction, like most ALU
instructions, executes in a single cycle. However, in this code example, execution of
the addi instruction is delayed by two additional cycles until the multiply operation
completes.
mul r1, r2, r3
addi r1, r1, 100
In contrast, the following code does not stall the processor.
mul r1, r2, r3
or r5, r5, r6
or r7, r7, r8
addi r1, r1, 100
Multiply and divide
instructions generate an
exception
ALU includes 32 x 4-bit
multiplier
ALU includes 32 x 32-bit
multiplier
ALU includes 32 x 16-bit
multiplier
ALU includes multicycle
divide circuit
Hardware Details
lists the details of the hardware multiply and divide options.
; r1 = r2 * r3
; r1 = r1 + 100 (Depends on result of mul)
; r1 = r2 * r3
; No dependency on previous results
; No dependency on previous results
; r1 = r1 + 100 (Depends on result of mul)
Instruction
Cycles per
4 – 66
11
–
1
5
Result Latency
Chapter 5: Nios II Core Implementation Details
Cycles
+2
+2
+2
+2
–
December 2010 Altera Corporation
mul, muli, mulxss,
mulxsu, mulxuu
Instructions
Supported
mul, muli
mul, muli
div, divu
None
Nios II/f Core
Related parts for IPR-NIOS
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DK-CYCII-2C20N](/photos/9/20/92074/mfgdk-cycii-2c20nboard_tmb.jpg)
Part Number:
Description:
CYCLONE II STARTER KIT EP2C20N
Manufacturer:
Altera
Datasheet:
![EP610PC-35](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 35 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
![EP610PC-15](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 15 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
![EP610IPC-25](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
![EP610PC-30](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 30 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet:
![EP220PC-10](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
![EP220PC-7](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 7ns
Manufacturer:
Altera Corporation
Datasheet:
![EP220PC-12](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
Classic EPLD
Manufacturer:
Altera Corporation
Datasheet:
![EP220PC-10A](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
High-performance, low-power erasable programmable logic devices with 8 macrocells, 10ns
Manufacturer:
Altera Corporation
Datasheet:
![P85C224-66](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
![EP320PC](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
![EP2A15B724C7](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Altera Corporation
Datasheet:
![EP610PC-25T](/images/manufacturer_photos/0/0/41/altera_corporation_tmb.jpg)
Part Number:
Description:
CPLD, EP610 Family, ECMOS Process, 300 Gates, 16 Macro Cells, 16 Reg., 16 User I/Os, 5V Supply, 25 Speed Grade, 24DIP
Manufacturer:
Altera Corporation
Datasheet: