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] [-valid_exceptions] <file_name>
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
-valid_exceptions Generate SDC file containing only valid timing exceptions for debugging purposes
<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.

Use the -valid_exceptions option to generate an SDC file that contains 
only valid timing exceptions. Run the report_exceptions command with
the -valid option to see all the valid timing exceptions in your design.
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>