IPR-NIOS Altera, IPR-NIOS Datasheet - Page 29
![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: 29 of 294
- Download datasheet (3Mb)
Chapter 2: Processor Architecture
Arithmetic Logic Unit
December 2010 Altera Corporation
1
All the floating-point custom instructions are single-precision operations.
Double-precision floating-point operations are implemented in software.
When the floating-point custom instructions are not present, the Nios II compiler
treats floating-point constants as double-precision values. However, with the
floating-point custom instructions, the Nios II compiler treats floating-point constants
as single-precision numbers by default. This allows all floating-point expressions to
be evaluated in hardware, at a possible cost in precision.
If you do not wish floating-point constants to be cast down to single precision values,
append L to each constant value, to instruct the compiler to treat the constant as a
double-precision floating-point value. In this case, if an expression contains a
floating-point constant, each term in the expression is cast to double precision. As a
result, the expression is computed with software-implemented double-precision
arithmetic, at a possible cost in computation speed.
Table 2–3
computation is implemented.
Table 2–3. Floating-Point Constant Examples
With the GCC 4 compiler toolchain, precompiled libraries are compiled with
double-precision floating-point constants. The behavior of precompiled floating-point
library functions such as sin() and cos() is unaffected by the presence of the
floating-point custom instructions.
b = a × 4.67
b = a × 4.67f
b = a × 4.67L
b = a × 4.67
b = a × 4.67f
b = a × 4.67L
Example Code
shows code examples using floating-point constants, indicating how each
Custom Instructions
Floating-Point
Present?
Yes
Yes
Yes
No
No
No
Precision
Double
Double
Double
Single
Single
Single
Nios II Processor Reference Handbook
Implementation
Hardware
Hardware
Software
Software
Software
Software
2–7
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: