Enable HDL DUT input port generation for tunable parameters
Enable creation of DUT input ports for tunable parameters
Since R2021b
Model Configuration Pane: Global Settings / Ports
Description
Disable this setting to prevent creation of DUT input ports for tunable parameters in the generated HDL code.
Settings
on (default) | offDefault: On
onThe code generator creates DUT input ports for the tunable parameters signals in the generated HDL code.
offThe code generator preserves the tunable parameters and does not create DUT input ports in the generated HDL code. Selecting
offmight speed up code generation.
Tips
To set this property, use the functions hdlset_param or makehdl. To view the property value, use
the function hdlget_param.
For example, after you designate signals as tunable parameters for the
sfir_fixed/symmetric_fir DUT subsystem, to generate DUT input
ports in the HDL code, use either of these methods:
Pass the property as an argument to the
makehdlfunction.makehdl ('sfir_fixed/symmetric_sfir','GenDUTPortForTunableParam','on')
When you use
hdlset_param, you can set the parameter on the model, and then generate HDL code by usingmakehdl.hdlset_param('sfir_fixed','GenDUTPortForTunableParam','on') makehdl('sfir_fixed/symmetric_fir')
Recommended Settings
No recommended settings.
Programmatic Use
Parameter:
GenDUTPortForTunableParam |
| Type: character vector |
Value:
'on' | 'off' |
Default:
'on' |
Version History
Introduced in R2021b