The EDA Tool Scripts pane lets you set the options that control generation of script files for third-party HDL simulation and synthesis tools.
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.
Default: On
Generation of script files is enabled.
Generation of script files is disabled.
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
.
Generate a file that reports multicycle path constraint information.
Default: Off
Generate a text file that reports multicycle path constraint information, for use with synthesis tools.
Do not generate a multicycle path information file.
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
.
Specify a postfix to append to the DUT or test bench name to form the compilation script file name.
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
.
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
.
Format name passed to fprintf
to write
the Init
section of the compilation script.
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'
.
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
.
Format name passed to fprintf
to write
the Cmd
section of the compilation script for VHDL® files.
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).
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
.
Format name passed to fprintf
to write
the Cmd
section of the compilation script for Verilog® files.
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).
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
.
Format name passed to fprintf
to write
the termination portion of the compilation script.
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.
Property: HDLCompileTerm |
Type: character vector |
Default: '' |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Specify a postfix to append to the DUT or test bench name to form the simulation script file name.
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
.
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
.
Format name passed to fprintf
to write
the initialization section of the simulation script.
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.
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
.
Format name passed to fprintf
to write
the simulation command.
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.
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
.
Specify the waveform viewing command written to simulation script.
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.
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
.
Format name passed to fprintf
to write
the termination portion of the simulation script.
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.
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
.
Enable or disable generation of synthesis scripts, and select the synthesis tool for which HDL Coder generates scripts.
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.
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
.
Specify a postfix to append to file name for generated synthesis scripts.
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_design
and
the choice of synthesis tool is Synopsys Synplify Pro
, HDL Coder adds
the postfix _synplify.tcl
to form the name my_design_synplify.tcl
.
Property: HDLSynthFilePostfix |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Format name passed to fprintf
to write
the initialization section of the synthesis script.
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.
Property: HDLSynthInit |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Format name passed to fprintf
to write
the synthesis command.
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.
Property: HDLSynthCmd |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Specify a format name that is passed to fprintf
to
write the termination portion of the synthesis script.
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.
Property: HDLSynthTerm |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
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.
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.
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
.
Enter an initialization text for your HDL lint script.
Property: HDLLintInit |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Enter the command for your HDL lint script.
Property: HDLLintCmd |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.
Enter a termination character vector for your HDL lint script.
Property: HDLLintTerm |
Type: character vector |
Default: none |
To set this property, use hdlset_param
or makehdl
. To view the property value, use hdlget_param
.