Write_sdc, Usage, Options – Altera Quartus II Scripting User Manual
Page 596: Description, Example, Write_sdc –466
3–466
Chapter 3: Tcl Packages & Commands
sta
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
write_sdc
Usage
write_sdc [-expand] [-history] <file_name>
Options
-expand: Generate SDC file by expanding the macros
-history: Reports full history of assignments
<file_name>: Name of output file
Description
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
project_new test
create_timing_netlist
create_clock -period 10 -name clk10 clk
set_multicycle_path -from [get_cells a] -to [get_cells b]
update_timing_netlist
report_timing
write_sdc my_sdc_file.sdc
delete_timing_netlist
project_close