IP PortfolioDatapath and DSPfloating point

of_fp_cvt

Floating-point format converter

Maturity simulatedTargets FPGA + ASICDifficulty MediumPriority 1

Converts between binary64, binary32, binary16, bfloat16 and the OCP FP8 formats with correct rounding, saturation options and NaN canonicalization.

Simulated. The RTL is lint clean and passes its self-checking testbench against a reference model in simulation. It has not been run on an FPGA board or in silicon.

Interfaces

PortDirectionKindWidthNotes
ainparallel64 
youtparallel64 

Standards

  • IEEE 754-2019
  • OCP 8-bit Floating Point Specification (OFP8)

More in floating point

IDBlockMaturity
of_fp_addFloating-point adder/subtractorsimulated
of_fp_mulFloating-point multipliersimulated
of_fp_roundFloating-point round & pack unitsimulated
of_fp2intFloating-point to fixed-point convertersimulated
of_int2fpFixed-point to floating-point convertersimulated
of_fp_fmaFloating-point fused multiply-addsimulated
of_fp_divsqrtFloating-point divide and square rootsimulated
of_fp_cmpFloating-point compare, min/max and classifysimulated
of_bf16_dotpbfloat16 dot-product unitsimulated
of_fp8_macFP8 (E4M3 / E5M2) multiply-accumulatesimulated