The GRFPU is an IEEE-754 compliant floating-point unit, supporting both single and double precision operands. The advanced design combines high throughput with low latency. The host interface is clean and versatile, simplifying the interfacing to processor pipelines and DSPs. The accuracy and convergence of the FPU algorithms have been proven mathematically, and the implementation has been validated with more than 20 million test vectors.
Functional Description The GRFPU performs operations on single and double precision floating-point operands. All operations are IEEE-754 compliant, with exception of denormalized numbers which are flushed to zero. The specified four rounding modes and the detection of exception conditions is fully supported.
An FPU operation is started by providing the operands, opcode and rounding mode on a rising clock edge. The result and the exception flags will be available three clocks later. The FPU is fully pipelined and a new operation can be started every clock cycle. The only exceptions are the FDIV and FSQRT instructions which require between 15 and 24 clock cycles to complete, and which are not pipelined. They are however calculated in a separate non-blocking execution unit, allowing all other operations to be performed in parallel without stalling the FPU pipeline. The table below summarises the throughput and latency of the supported operations:
|FADDS, FADDD, FSUBS, FSUBD, FMULS, FMULD, FSMULD||1||3||Add, subtract, multiply|
|FITOS, FITOD, FSTOI, FDTOI, FSTOD, FDTOS||1||3||Convert between floats and integers|
|FCMPS, FCMPD, FCMPES, FCMPED||1||3||Compare|
The GRFPU core has been extensively validated with a large set of test vectors. Special test programs such as TestFloat, UCBTEST and IEEE CC754 has been used, as well as floating-point based application software.
LEON FPU Control Unit
The GRFPU can be attached to LEON processors through the LEON FPU Control unit (GRFPC). The control unit receives SPARC FPU instructions (FPOP) from the LEON integer unit, and schedules them for execution by the FPU. The FPOPs are executed in parallel with other integer instructions, the LEON pipeline is only stalled in case of operand or resource conflicts. The GRFPC also includes the FPU register file, the processor floating-point status register (FSR) and a deferred trap queue. The GRFPC is available for all versions of the LEON processor.
The fault-tolerant version of GRFPU and GRFPC includes SEU protection by design.
|GRFPU/GRFPC product sheet||grfpu_product_sheet.pdf||1-Feb-2010|
|GRFPU/GRFPC White Paper||grfpu_wp.pdf||6-Jul-2004|
|GRFPU presentation from DASIA 2004||grfpu_dasia.pdf||6-Jul-2004|
For evaluation purposes, Xilinx and Altera netlists of GRFPC/GRFPU for LEON2/3 are available from the LEON download page.
GRFPU and GRFPC are available immediately and licensed together.
The GRFPU has been used several critical applications, in particular in the Aeroflex UT699, UT699E and UT700 devices as well as in our GR740 device.