Quartus® Prime Pro Edition User Guide: Scripting

ID 683432
Date 7/08/2024
Public
Document Table of Contents

2.4.2.2. Compile All Revisions

You can use a simple Tcl script to compile all revisions in your project. Save the following script in a file called compile_revisions.tcl and type the following to run it:
quartus_sh -t compile_revisions.tcl <project name> 

Compile All Revisions

load_package flow project_open [lindex $quartus(args) 0] set original_revision [get_current_revision] foreach revision [get_project_revisions] { set_current_revision $revision execute flow -compile } set_current_revision $original_revision project_close