21.8.32 read_sdc

Description

Evaluates an SDC file, adding all constraints to the specified scenario (or the current/default one if none is specified). Existing constraints are removed if -add is not specified.

read_sdc \
-add \
-scenario scenario_name \
-netlist ( user | optimized ) \
-pin_separator ( : | / ) \
-ignore_errors file_name
Table 21-5. Arguments
ParameterTypeDescription
addNoneSpecifies that the constraints from the SDC file is added on top of the existing ones, overriding them in case of a conflict. If not used, the existing constraints are removed before the SDC file is read.
scenariostringSpecifies the scenario to add the constraints to. The scenario is created if none exists with this name.
netliststringSpecifies whether the SDC file contains object defined at the post-synthesis netlist (user) level or physical (optimized) netlist (used for timing analysis).
pin_separatorcharSpecify the pin separator used in the SDC file. It can be either ':' or '/'.
ignore_errorsNoneOptional. Specifies whether to avoid reporting errors for derived constraints targeting the logic that becomes invalid due to logic optimization. It is an optional argument. Some IPs may have extra logic present depending on other IPs used in the design but the synthesis tool will remove this logic if fewer IPs were used. In such cases, the implementation flow will halt without -ignore_errors flag.
Note: Do not use this flag outside similar use cases.
filestringSpecify the SDC file name.

Supported Families

PolarFire®
PolarFire SoC
SmartFusion® 2
IGLOO® 2
RTG4

Example

The following command removes all constraints from the current/default scenario and adds all constraints from design.sdc file to it.

read_sdc design.sdc