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 read_sdc (::quartus::sta)

The following table displays information for the read_sdc Tcl command:

Tcl Package and Version

Belongs to ::quartus::sta

Syntax read_sdc [-h | -help] [-long_help] [-hdl] [-instance <instance_name> ] [-project_relative] [ <file_name> ]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-hdl Read SDC commands embedded in HDL
-instance <instance_name> Name of the block for which we are reading the SDC file
-project_relative If passing in a relative path to a file, interpret that path relative to the current project\'s directory instead of STA\'s current directory
<file_name> Name of the SDC file
Reads an SDC file with all current constraints and exceptions.

If an SDC file is specified, read_sdc only reads that SDC file.  If
the -hdl option is specified, read_sdc only reads SDC commands that
were embedded in HDL.

If no arguments are specified, read_sdc reads the default SDC files
along with any SDC commands that were embedded in HDL.  If one or more
SDC_FILE assignments exists in the QSF, read_sdc reads all of them in
order. Otherwise, read_sdc reads the file <revision>.sdc if it exists.
Example Usage
project_new test