21.8.68 write_sdc

Description

Writes timing constraints into an SDC file. If multiple constraint scenarios are defined, -scenario allows the user to specify which scenario to write. By default, the current scenario is written.

write_sdc \
-scenario scenario_name \
-pin_separator ( : | / ) \
file name

Arguments

ParameterTypeDescription
scenariostringSpecifies the scenario to write. By default the current scenario is used.
pin_separatorcharSpecify the pin separator used in the SDC file. It can be either ':' or '/'.
file namestringSpecify the SDC file name.

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Example

The following script merges two SDC files and writes the result into a third SDC file.

read_sdc first.sdc
read_sdc -add second.sdc
write_sdc margin.sdc

See Also