Floating-Point IPs
Share floating-point IPs in the design
Model Configuration Pane: Optimization / Resource sharing
Description
The Floating-point Ips parameter enable the use of resource sharing optimization to share floating-point IPs in your design.
Dependencies
To share floating-point IPs:
In the HDL Block Properties for the parent DUT Subsystem, specify the SharingFactor. The number of floating-point IP blocks that get shared depends on the SharingFactor that you specify for the subsystem.
In the Configuration Parameters dialog box, in the HDL Code Generation > Floating Point Target pane, select Use Floating Point.
Settings
On
(default) | Off
On
When you enable resource sharing, HDL Coder™ shares floating-point IP blocks.
Off
Do not share floating-point IP blocks.
Tips
To set this property, use the functions hdlset_param
or makehdl
. To view the property value, use
the function hdlget_param
.
For example, you can use the ShareFloatingPointIPs
setting when you
generate HDL code for the symmetric_fir
subsystem inside
the sfir_fixed
model using either of these methods.
Pass the property as an argument to the
makehdl
function.makehdl('sfir_fixed/symmetric_fir', ... 'ShareFloatingPointIPs','on')
When you use
hdlset_param
, you can set the parameter on the model and then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','ShareFloatingPointIPs','on') makehdl('sfir_fixed/symmetric_fir')
Recommended Settings
No recommendations.
Programmatic Use
Parameter:
ShareFloatingPointIPs |
Type: character vector |
Value: 'on' | 'off' |
Default: 'on' |
Version History
Introduced in R2016b