HDL Code Generation Pane: EDA Tool Scripts

EDA Tool Scripts Overview

The EDA Tool Scripts pane lets you set the options that control generation of script files for third-party HDL simulation and synthesis tools.

Generate EDA scripts

Enable generation of script files for third-party electronic design automation (EDA) tools. These scripts let you compile and simulate generated HDL code and/or synthesize generated HDL code.

Settings

Default: On

On

Generation of script files is enabled.

Off

Generation of script files is disabled.

Command-Line Information

Parameter: EDAScriptGeneration
Type: character vector
Value: 'on' | 'off'
Default: 'on'

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

See Also

Generate multicycle path information

Generate a file that reports multicycle path constraint information.

Settings

Default: Off

On

Generate a text file that reports multicycle path constraint information, for use with synthesis tools.

Off

Do not generate a multicycle path information file.

Command-Line Information

Parameter: MulticyclePathInfo
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.

See Also

Compile file postfix

Specify a postfix to append to the DUT or test bench name to form the compilation script file name.

Settings

Default: _compile.do

For example, if the name of the device under test or test bench is my_design, HDL Coder™ adds the postfix _compile.do to form the name my_design_compile.do.

Command-Line Information

Property: HDLCompileFilePostfix
Type: character vector
Default: '_compile.do'

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

See Also

Compile initialization

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

Settings

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'.

Command-Line Information

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

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

See Also

Compile command for VHDL

Format name passed to fprintf to write the Cmd section of the compilation script for VHDL® files.

Settings

Default: vcom %s %s\n

The command-per-file phase (Cmd) of the script is called iteratively, once per generated HDL file. On each call, a different file name is passed in.

The two implicit arguments in the compile command are the contents of the SimulatorFlags property and the file name of the current entity or module. To omit the flags, set SimulatorFlags to '' (the default).

Command-Line Information

Property: HDLCompileVHDLCmd
Type: character vector
Default: 'vcom %s %s\n'

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

See Also

Compile command for Verilog

Format name passed to fprintf to write the Cmd section of the compilation script for Verilog® files.

Settings

Default: vlog %s %s\n

The command-per-file phase (Cmd) of the script is called iteratively, once per generated HDL file. On each call, a different file name is passed in.

The two implicit arguments in the compile command are the contents of the SimulatorFlags property and the file name of the current entity or module. To omit the flags, set SimulatorFlags property to '' (the default).

Command-Line Information

Property: HDLCompileVerilogCmd
Type: character vector
Default: 'vlog %s %s\n'

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

See Also

Compile termination

Format name passed to fprintf to write the termination portion of the compilation script.

Settings

Default: empty character vector

The termination phase (Term) is the final execution phase of the script. One application of this phase is to execute a simulation of HDL code that was compiled in the Cmd phase. The Term phase does not take arguments.

Command-Line Information

Property: HDLCompileTerm
Type: character vector
Default: ''

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

See Also

Simulation file postfix

Specify a postfix to append to the DUT or test bench name to form the simulation script file name.

Settings

Default: _sim.do

For example, if the name of the device under test or test bench is my_design, HDL Coder adds the postfix _sim.do to form the name my_design_sim.do.

Command-Line Information

Property: HDLSimFilePostfix
Type: character vector
Default: '_sim.do'

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

See Also

Simulation initialization

Format name passed to fprintf to write the initialization section of the simulation script.

Settings

Default: The default is

 ['onbreak resume\nonerror resume\n'] 

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

Command-Line Information

Property: HDLSimInit
Type: character vector
Default: ['onbreak resume\nonerror resume\n']

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

See Also

Simulation command

Format name passed to fprintf to write the simulation command.

Settings

Default: vsim -novopt %s.%s\n

If your target language is VHDL, the first implicit argument is the value of the VHDLLibraryName property. If your target language is Verilog, the first implicit argument is 'work'.

The second implicit argument is the top-level module or entity name.

Command-Line Information

Property: HDLSimCmd
Type: character vector
Default: 'vsim -novopt %s.%s\n'

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

See Also

Simulation waveform viewing command

Specify the waveform viewing command written to simulation script.

Settings

Default: add wave sim:%s\n

The implicit argument, %s, adds the signal paths for the DUT top-level input, output, and output reference signals.

Command-Line Information

Property: HDLSimViewWaveCmd
Type: character vector
Default: 'add wave sim:%s\n'

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

See Also

Simulation termination

Format name passed to fprintf to write the termination portion of the simulation script.

Settings

Default: run -all\n

The termination phase (Term) is the final execution phase of the script. One application of this phase is to execute a simulation of HDL code that was compiled in the Cmd phase. The Term phase does not take arguments.

Command-Line Information

Property: HDLSimTerm
Type: character vector
Default: 'run -all\n'

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

See Also

Choose synthesis tool

Enable or disable generation of synthesis scripts, and select the synthesis tool for which HDL Coder generates scripts.

Settings

Default: None

None

When you select None, HDL Coder does not generate a synthesis script. The coder clears and disables the fields in the Synthesis script pane.

Xilinx ISE

Generate a synthesis script for Xilinx® ISE. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _ise.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Microsemi Libero

Generate a synthesis script for Microsemi Libero. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _libero.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Mentor Graphics Precision

Generate a synthesis script for Mentor Graphics® Precision. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _precision.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Altera Quartus II

Generate a synthesis script for Altera® Quartus II. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _quartus.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Synopsys Synplify Pro

Generate a synthesis script for Synopsys® Synplify Pro®. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _synplify.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Xilinx Vivado

Generate a synthesis script for Xilinx Vivado®. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _vivado.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with TCL script code for the tool.

Custom

Generate a custom synthesis script. When you select this option, the coder:

  • Enables the fields in the Synthesis script pane.

  • Sets Synthesis file postfix to _custom.tcl

  • Fills in the Synthesis initialization, Synthesis command and Synthesis termination fields with example TCL script code.

Command-Line Information

Property: HDLSynthTool
Type: character vector
Value: 'None' | 'ISE' | 'Libero' | 'Precision' | 'Quartus' | 'Synplify' | 'Vivado' | 'Custom'
Default: 'None'

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

See Also

HDLSynthTool

Synthesis file postfix

Specify a postfix to append to file name for generated synthesis scripts.

Settings

Default: None.

Your choice of synthesis tool (from the Choose synthesis tool pulldown menu) sets the postfix for generated synthesis file names to one of the following:

_ise.tcl
_libero.tcl
_precision.tcl
_quartus.tcl
_synplify.tcl
_vivado.tcl
_custom.tcl

For example, if the DUT name is my_designand the choice of synthesis tool is Synopsys Synplify Pro, HDL Coder adds the postfix _synplify.tcl to form the name my_design_synplify.tcl.

Command-Line Information

Property: HDLSynthFilePostfix
Type: character vector
Default: none

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

See Also

Synthesis initialization

Format name passed to fprintf to write the initialization section of the synthesis script.

Settings

Default: none.

Your choice of synthesis tool (from the Choose synthesis tool pulldown menu) sets the Synthesis initialization string. The content of the string is specific to the selected synthesis tool.

The default is a is a synthesis project creation command passed as a format string to fprintf to write the Init section of the synthesis script. The implicit argument, %s, is the top-level module or entity name.

Command-Line Information

Property: HDLSynthInit
Type: character vector
Default: none

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

See Also

Synthesis command

Format name passed to fprintf to write the synthesis command.

Settings

Default: none.

Your choice of synthesis tool (from the Choose synthesis tool pulldown menu) sets the Synthesis command string. The content of the string is specific to the selected synthesis tool.

The default is a format string passed to fprintf to write the Cmd section of the synthesis script. The implicit argument, %s, is the filename of the entity or module.

Command-Line Information

Property: HDLSynthCmd
Type: character vector
Default: none

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

See Also

Synthesis termination

Specify a format name that is passed to fprintf to write the termination portion of the synthesis script.

Settings

Default: none

Your choice of synthesis tool (from the Choose synthesis tool pulldown menu) sets the Synthesis termination string. The content of the string is specific to the selected synthesis tool.

The default is a format name passed to fprintf to write the Term section of the synthesis script. The termination string does not take arguments.

Command-Line Information

Property: HDLSynthTerm
Type: character vector
Default: none

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

See Also

Choose HDL lint tool

Enable or disable generation of an HDL lint script, and select the HDL lint tool for which HDL Coder generates a script.

After you select an HDL lint tool, the Lint initialization, Lint command and Lint termination fields are enabled.

Settings

Default: None

None

When you select None, the coder does not generate a lint script. The coder clears and disables the fields in the Lint script pane.

Ascent Lint

Generate a lint script for Real Intent Ascent Lint.

HDL Designer

Generate a lint script for Mentor Graphics HDL Designer.

Leda

Generate a lint script for Synopsys Leda.

SpyGlass

Generate a lint script for Atrenta SpyGlass.

Custom

Generate a custom synthesis script.

Command-Line Information

Property: HDLLintTool
Type: character vector
Value: 'None' | 'AscentLint' | 'Leda' | 'SpyGlass' | 'Custom'
Default: 'None'

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

See Also

Lint initialization

Enter an initialization text for your HDL lint script.

Command-Line Information

Property: HDLLintInit
Type: character vector
Default: none

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

See Also

Lint command

Enter the command for your HDL lint script.

Command-Line Information

Property: HDLLintCmd
Type: character vector
Default: none

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

See Also

Lint termination

Enter a termination character vector for your HDL lint script.

Command-Line Information

Property: HDLLintTerm
Type: character vector
Default: none

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

See Also

Was this topic helpful?