Package: hdlcoder
Specify floating-point target configuration for floating-point library
The hdlcoder.FloatingPointTargetConfig
object
sets options for HDL Coder™ to generate synthesizable floating-point
code. To create an hdlcoder.FloatingPointTargetConfig
object
for a floating-point library, use the hdlcoder.createFloatingPointTargetConfig
function.
You can create a floating-point configuration object for these floating-point
libraries:
Native Floating Point
Altera® Megafunctions (ALTERA FP Functions)
Altera Megafunctions (ALTFP)
Xilinx® LogiCORE®
creates
an fpconfig
=
hdlcoder.createFloatingPointConfig(library
)hdlcoder.FloatingPointTargetConfig
object for a
floating-point library.
creates
an fpconfig
= hdlcoder.createFloatingPointConfig(library
,Name,Value
)hdlcoder.FloatingPointTargetConfig
object with additional
options specified by one or more Name,Value
pair
arguments. Name
can
also be a property name and Value
is
the corresponding value. Name
must appear inside
single quotes (''
). You can specify several name-value
pair arguments in any order as Name1,Value1,...,NameN,ValueN
.
The name-value pair arguments that you can specify depend on the library that you select for creating the floating-point configuration.
createFloatingPointTargetConfig | Create floating-point target configuration for floating-point library that you specify |