| Contents | Index |

| On this page… |
|---|
Generate multicycle path information |
The EDA Tool Scripts pane lets you set all 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
| Parameter: EDAScriptGeneration |
| Type: string |
| Value: 'on' | 'off' |
| Default: 'on' |
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: string |
| Value: 'on' | 'off' |
| Default: 'off' |
Specify a postfix string appended 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, the coder adds the postfix _compile.do to form the name my_design_compile.do.
| Property: HDLCompileFilePostfix |
| Type: string |
| Default: '_compile.do' |
Specify a format string passed to fprintf to write the Init section of the compilation script.
Default: vlib %s\n
The Init phase of the script performs any required setup actions, such as creating a design library or a project file.
The 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: string |
| Default: 'vlib %s\n' |
Specify a format string 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 or once per signal. On each call, a different file or signal name is passed in.
The two 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: string |
| Default: 'vcom %s %s\n' |
Specify a format string 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 or once per signal. On each call, a different file or signal name is passed in.
The two 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: string |
| Default: 'vlog %s %s\n' |
Specify a format string passed to fprintf to write the termination portion of the compilation script.
Default: empty string
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 takes no arguments.
| Property: HDLCompileTerm |
| Type: string |
| Default: '' |
Specify a postfix string appended 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, the coder adds the postfix _sim.do to form the name my_design_sim.do.
| Property: HDLSimFilePostfix |
| Type: string |
| Default: '_sim.do' |
Specify a format string passed to fprintf to write the initialization section of the simulation script.
Default: The default string is
['onbreak resume\nonerror resume\n']
The Init phase of the script performs any required setup actions, such as creating a design library or a project file.
| Property: HDLSimInit |
| Type: string |
| Default: ['onbreak resume\nonerror resume\n'] |
Specify a format string passed to fprintf to write the simulation command.
Default: vsim -novopt work.%s\n
The implicit argument is the top-level module or entity name.
| Property: HDLSimCmd |
| Type: string |
| Default: 'vsim -novopt work.%s\n' |
Specify the waveform viewing command written to simulation script.
Default: add wave sim:%s\n
The implicit argument is the top-level module or entity name.
| Property: HDLSimViewWaveCmd |
| Type: string |
| Default: 'add wave sim:%s\n' |
Specify a format string 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 takes no arguments.
| Property: HDLSimTerm |
| Type: string |
| Default: 'run -all\n' |
Enable or disable generation of synthesis scripts, and select the synthesis tool for which the coder generates scripts.
Default: None
When you select None, the coder does not generate a synthesis script. The coder clears and disables all fields in the Synthesis script pane.
Generate a synthesis script for Altera Quartus II. When you select this option, the coder:
Enables all 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.
Generate a synthesis script for Mentor Graphics Precision. When you select this option, the coder:
Enables all 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.
Generate a synthesis script for Synopsys Synplify Pro. When you select this option, the coder:
Enables all 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.
Generate a synthesis script for Xilinx ISE. When you select this option, the coder:
Enables all 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.
| Property: HDLSynthTool |
| Type: string |
| Value: 'None' | 'ISE' | 'Precision' | 'Quartus' | 'Synplify' |
| Default: 'None' |
Specify a postfix string appended 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 |
| _precision.tcl |
| _quartus.tcl |
| _synplify.tcl |
For example, if the DUT name is my_designand the choice of synthesis tool is Synopsys Synplify Pro, the coder adds the postfix _synplify.tcl to form the name my_design_synplify.tcl.
| Property: HDLSynthFilePostfix |
| Type: string |
| Default: none |
Specify a format string 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 default string is a format string passed to fprintf to write the Init section of the synthesis script. The default string is a synthesis project creation command. The implicit argument is the top-level module or entity name. The content of the string is specific to the selected synthesis tool.
| Property: HDLSynthInit |
| Type: string |
| Default: none |
Specify a format string 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 default string is a format string passed to fprintf to write the Cmd section of the synthesis script. The argument is the filename of the entity or module. The content of the string is specific to the selected synthesis tool.
| Property: HDLSynthCmd |
| Type: string |
| Default: none |
Specify a format string 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 default string is a format string passed to fprintf to write the Term section of the synthesis script. The termination string does not take any arguments. The content of the string is specific to the selected synthesis tool.
| Property: HDLSynthTerm |
| Type: string |
| Default: none |
![]() | HDL Code Generation Pane: Test Bench | Specifying Block Implementations and Parameters for HDL Code Generation | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |