write_sdc (::quartus::sta)

The following table displays information for the write_sdc Tcl command:

Tcl Package and Version

Belongs to ::quartus::sta 1.0

Syntax write_sdc [-h | -help] [-long_help] [-expand] [-history]
Arguments -h | -help Short help
-long_help Long help with examples and possible return values
-expand Generate SDC file by expanding the macros
-history Reports full history of assignments
<file_name> Name of output file
Generates an SDC file with all current constraints and
exceptions. When you use the -expand option, derive_clocks,
derive_pll_clocks, derive_lvds_clocks and derive_clock_uncertainty
macros are be expanded to corresponding sdc assignments before they
are written to a file. If you do not use the -expand option, these
macros are preserved.
Example Usage
project_new test
create_clock -period 10 -name clk10 clk
set_multicycle_path -from [get_cells a] -to [get_cells b]


write_sdc my_sdc_file.sdc

Return Value Code Name Code String Return
TCL_OK 0 INFO: Operation successful
TCL_ERROR 1 ERROR: Clock manager is not up-to-date. Run update_timing_netlist to generate the latest clock manager.
TCL_ERROR 1 ERROR: Timing netlist does not exist. Use create_timing_netlist to create a timing netlist.
TCL_ERROR 1 ERROR: Open failed: <string>