Check for name conflicts in black box interfaces
Specify whether to check for duplicate module or entity names
Model Configuration Pane: Global Settings / Advanced
Description
Specify whether to check for duplicate module or entity names in generated HDL code and black box interface HDL code.
Settings
Warning
(default) | None
| Error
Default: Warning
- None
Do not check for black box subsystems that have the same HDL module name as a generated HDL module name.
- Warning
Check for black box subsystems that have the same HDL module name as a generated HDL module name. Display a warning if matching names are found.
- Error
Check for black box subsystems that have the same HDL module name as a generated HDL module name. Display an error if matching names are found.
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 specify this property while generating HDL code for the symmetric_fir
subsystem inside the sfir_fixed
model using either of these methods.
Use
hdlset_param
to set the parameter on the model. Then generate HDL code usingmakehdl
.hdlset_param('sfir_fixed','DetectBlackBoxNameCollision','None') makehdl('sfir_fixed/symmetric_fir')
Pass the property as an argument to the
makehdl
function.makehdl('sfir_fixed/symmetric_fir','DetectBlackBoxNameCollision','None')
Recommended Settings
No recommended settings.
Programmatic Use
Parameter: DetectBlackBoxNameCollision |
Type: character vector |
Value: 'None' | 'Warning' | 'Error' |
Default: 'Warning' |
Version History
Introduced in R2015a