Features
- Direct replacement for C float software functions such as: +, -, *, /,==, !=,<=, <=, <,>
- C interface supplied for Altera® Nios® embedded processors, 8051 compilers
- No programming required
- Single-precision real format support: float type
- Flexible arguments and result registers location
- Performs the following functions:
- FADD, FSUB—addition, subtraction
- FMUL, FDIV—multiplication, division
- FSQRT—square root
- FCHS, FABS—change of sign, absolute value
- FXAM—examine input data
- FUCOM—comparison
- Exception built-in routines
- Masks each exception indicator
- Precision lack: PE
- Underflow result: UE
- Overflow result: OE
- Invalid operand: IE
- Division by zero: ZE
- Denormal operand: DE
- Fully synthesizable, static synchronous design with no internal tri-states
- Optimized for use with the Nios II embedded processors
Block Diagram
Figure 1 shows a block diagram of the function.
Figure 1. DFPAU — Floating-Point Arithmetic Unit