Documentation

Automation Scripts for Third-Party Synthesis Tools

Selecting a Synthesis Tool

With Filter Design HDL Coder™, you can enable or disable generation of synthesis scripts, and select the synthesis tool for which the coder generates scripts. To do so, click the Choose synthesis tool drop-down menu and select one of the following options:

None

This option is the default value. When you select None, the coder does not generate a synthesis script. The coder clears and disables the fields in the Synthesis script pane.

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.

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.

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

Customizing Synthesis Script Generation Using CLI Properties

Using the property name/property value pairs summarized in the following table, you can pass in customized format strings to generatehdl. These format strings are passed on to fprintf to write each section of the synthesis script.

Property Name and DefaultDescription

Name: 'HDLSynthInit'

Format string passed to fprintf to write the Init section of the synthesis script.

The content of the string is specific to the selected synthesis tool. See HDLSynthTool.

Name: 'HDLSynthCmd'

Format string passed to fprintf to write the Cmd section of the synthesis script. The argument uses the file name of the entity or module.

The content of the string is specific to the selected synthesis tool. See HDLSynthTool.

Name: 'HDLSynthTerm'

Format string passed to fprintf to write the Term section of the synthesis script.

The content of the string is specific to the selected synthesis tool. See HDLSynthTool.

Customizing Synthesis Script Generation with the EDA Tool Scripts Dialog Box

The following figure shows the Synthesis script pane, with the options set to their default values.

The following table summarizes the Synthesis script options.

Option Name and DefaultDescription

Choose synthesis tool

  • None (default): Do not generate a synthesis script.

  • ISE: Generate a synthesis script for Xilinx ISE software.

  • Precision: Generate a synthesis script for Mentor Graphics Precision software.

  • Quartus: Generate a synthesis script for Altera Quartus II software.

  • Synplify: Generate a synthesis script for Synopsys Synplify Pro software.

Synthesis file postfix

Your choice of synthesis tool sets the postfix for generated synthesis file names to one of the following:

  • _ise.tcl

  • _precision.tcl

  • _quartus.tcl

  • _synplify.tcl

Synthesis initialization

Format string passed to fprintf to write the Init section of the synthesis script. The default string contains a synthesis project creation command. The implicit argument uses the top-level module or entity name.

The content of the string is specific to the selected synthesis tool.

Synthesis command

Format string passed to fprintf to write the Cmd section of the synthesis script. The argument uses the filename of the entity or module.

The content of the string is specific to the selected synthesis tool.

Synthesis termination

Format string passed to fprintf to write the Term section of the synthesis script.

The content of the string is specific to the selected synthesis tool.

Was this topic helpful?