Hauptinhalt

FPGA Floating-Point Libraries

R2026b
Map to Altera® and AMD® FPGA floating-point libraries

You can map to a floating-point library to synthesize your floating-point design without converting from a floating-point to fixed-point design. Eliminating this conversion step reduces the loss of data precision and enables you to model a wider dynamic range.

If your model design uses Single or Double data types, use FPGA floating-point target libraries to generate code for your Simulink® model. HDL Coder™ can map your design to the native floating-point library and a vendor-specific FPGA point library, such as the Altera or AMD FPGA floating-point libraries. Using native floating point and vendor-specific IP together more efficiently uses resources on the FPGA, such as hardened DSP floating point adder or multiplier primitives, which allows you to fit a bigger design into the FPGA fabric. This mixed design is advantageous for large and complex models.

Classes

hdlcoder.FloatingPointTargetConfigFloating-point target configuration for floating-point library
hdlcoder.FloatingPointTargetConfig.IPConfigIP settings for selected floating-point configuration

Functions

createFloatingPointTargetConfigCreate floating-point target configuration for floating-point library that you specify

Model Settings

expand all

Use Floating PointUse native floating-point library (Since R2023a)
Vendor Specific Floating Point LibrarySelect vendor-specific floating-point library (Since R2023a)

Topics