Floating Point IP Library
This parameter resides in the HDL Code Generation > Floating Point pane of the Configuration Parameters dialog box. Use this parameter to specify the floating-point target library.
The options are:
Select this option if you do not want the design to map to floating-point target libraries.
Native Floating Point
Specify native floating-point as the library. You can specify the latency strategy and whether to handle denormal numbers in your design.
Altera Megafunctions (ALTERA FP FUNCTIONS)
Specify Altera® Megafunctions (ALTERA FP FUNCTIONS) as the floating-point target library. You can provide the IP Target frequency.
Altera Megafunctions (ALTFP)
Specify Altera Megafunctions (ALTFP) as the floating-point target library. You can provide the objective and latency strategy for the IP.
Specify Xilinx® LogiCORE® as the floating-point target library. You can provide the objective and latency strategy for the IP.
To set the floating-point library:
Create a floating-point target configuration object for the floating-point library. This example shows how to create an
hdlcoder.FloatingPointTargetConfigobject for the
Native Floating Pointlibrary:
fpconfig = hdlcoder.createFloatingPointTargetConfig('NativeFloatingPoint');
Set the floating-point target configuration on the model and then generate HDL code. This example shows how to set the configuration on the
sfir_singlemodel and generate HDL code for the