This page describes parameters that reside in the HDL Code Generation > Global Settings > General tab of the Configuration Parameters dialog box.
Specify the architecture name for your DUT in the generated HDL code.
Default:
'rtl'
Specify the VHDL architecture name for your DUT in the generated HDL code as a character vector.
Property:
VHDLArchitectureName |
Type: character vector |
Default:
'rtl' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
For example:
Pass the property as an argument to the makehdl
function.
makehdl(gcb,'VHDLArchitectureName','_rtl2')
When you use hdlset_param
, you can set the
parameter on the model and then generate HDL code using
makehdl
.
hdlset_param(gcs,'VHDLArchitectureName','_rtl2') makehdl('myDUT')
Specify the target library name for the generated VHDL® code.
Default:
'work'
Target library name for generated VHDL code.
Property:
VHDLLibraryName |
Type: character vector |
Default:
'work' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
For example:
Pass the property as an argument to the makehdl
function.
makehdl(gcb,'VHDLLibraryName','__work1')
When you use hdlset_param
, you can set the
parameter on the model and then generate HDL code using
makehdl
.
hdlset_param(gcs,'VHDLLibraryName','__work1') makehdl('myDUT')
Specify whether VHDL code generated for model references is in a single library, or in separate libraries.
Default: Off
Generate VHDL code for model references into a single library.
For each model reference, generate a separate VHDL library.
This option is enabled when the target language (specified by the Language option) is VHDL.
Property:
UseSingleLibrary |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
For example:
Pass the property as an argument to the makehdl
function.
makehdl(gcb,'UseSingleLibrary','on')
When you use hdlset_param
, you can set the
parameter on the model and then generate HDL code using
makehdl
.
hdlset_param(gcs,'UseSingleLibrary','on') makehdl('myDUT')