Main Content

Compile initialization

Format name used to write the Init section of the compilation script

Model Configuration Pane: EDA Tool Scripts


Format name passed to fprintf to write the Init section of the compilation script.


vlib %s\n (default)

Default: vlib %s\n

The Init phase of the script performs required setup actions, such as creating a design library or a project file.

The implicit argument, %s, is the contents of the 'VHDLLibraryName' property, which defaults to'work'. You can override the default Init string ('vlib work\n' by changing the value of 'VHDLLibraryName'.


To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function hdlget_param.

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: HDLCompileInit
Type: character vector
Default: 'vlib %s\n'

Version History

Introduced in R2012a