Intel® Quartus® Prime Standard Edition User Guide: Scripting

ID 683325
Date 9/24/2018
Public
Document Table of Contents

2. Tcl Scripting

You can use Tcl scripts to control the Intel® Quartus® Prime software and to perform a wide range of functions, such as compiling a design or scripting common tasks.

For example, use Tcl scripts to perform the following tasks:

  • Manage an Intel® Quartus® Prime project
  • Make assignments
  • Define design constraints
  • Make device assignments
  • Compile your design
  • Perform timing analysis
  • Access reports

Tcl scripts also facilitate project or assignment migration. For example, when designing in different projects with the same prototype or development board, you can write a script to automate reassignment of pin locations in each new project. The Intel® Quartus® Prime software can also generate a Tcl script based on all the current assignments in the project, which aids in switching assignments to another project.

The Intel® Quartus® Prime software Tcl commands follow the EDA industry Tcl application programming interface (API) standards for command-line options. This simplifies learning and using Tcl commands. If you encounter an error with a command argument, the Tcl interpreter includes help information showing correct usage.

This chapter includes sample Tcl scripts for automating tasks in the Intel® Quartus® Prime software. You can modify these example scripts for use with your own designs. You can find more Tcl scripts in the Design Examples section of the Support area on the Altera website.