Main Content

VHDL library name

Target library name for generated VHDL code

Model Configuration Pane: Global Settings / General

Description

Specify the target library name for the generated VHDL® code.

Settings

'work' (default) | character vector

Default: 'work'

Target library name for generated VHDL code.

Tips

To set this property, use the functions hdlset_param or makehdl. To view the property value, use the function 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')

Recommended Settings

No recommended settings.

Programmatic Use

Parameter: VHDLLibraryName
Type: character vector
Default: 'work'

Version History

Introduced in R2012a