Intel® Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 12/13/2021
Public

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

Document Table of Contents

2.5. Automating Script Execution

You can configure scripts to run automatically at various points during compilation. Use this capability to automatically run scripts that perform custom reporting, make specific assignments, and perform many other tasks.

The following three global assignments control when a script is run automatically:

  • PRE_FLOW_SCRIPT_FILE —before a flow starts
  • POST_MODULE_SCRIPT_FILE —after a module finishes
  • POST_FLOW_SCRIPT_FILE —after a flow finishes

A module is another term for an Intel® Quartus® Prime executable that performs one step in a flow. For example, two modules are Analysis and Synthesis (quartus_syn), and timing analysis (quartus_sta).

A flow is a series of modules that the Intel® Quartus® Prime software runs with predefined options. For example, compiling a design is a flow that typically consists of the following steps (performed by the indicated module):

  1. Analysis and Synthesis (quartus_syn)
  2. Fitter (quartus_fit)
  3. Assembler (quartus_asm)
  4. Timing Ana