Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents
Give Feedback execute_module (::quartus::flow)

The following table displays information for the execute_module Tcl command:

Tcl Package and Version

Belongs to ::quartus::flow

Syntax execute_module [-h | -help] [-long_help] [-args <arguments> ] [-dont_export_assignments] [-tool <asm|cdb|drc|eda|fit|map|syn|pow|sta|stp|sim|si|cpf|ipg|pfg> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-args <arguments> Option to specify arguments for the executable
-dont_export_assignments Option not to export assignments to file. By default, this command exports assignments before running command-line executables.
-tool <asm|cdb|drc|eda|fit|map|syn|pow|sta|stp|sim|si|cpf|ipg|pfg> Option to run the specified executable
Runs one of the command-line executables, such as quartus_map or
quartus_fit. If the -args option is specified, the arguments are
passed to the command-line executable.

All assignments are exported automatically first, as if the
"export_assignments" command was called first, unless
-dont_export_assignments option is specified.

You must use the Tcl command "catch" to determine whether the
command-line executable ran successfully or not, as in the following

if {[catch {execute_module -tool map} result]} {
	puts "\nResult: $result\n"
	puts "ERROR: Analysis and Synthesis failed. See the report file.\n"
} else {
	puts "\nINFO: Analysis and Synthesis was successful.\n"