The Timing Constraints Wizard recommends missing constraints that define clocks or reference clocks. In project mode, the tool saves them at the end of the target XDC file. In other modes, it saves them after all constraints.
Project Mode
Do the following before launching the wizard:
- Specify a target XDC file with its
PROCESSING_ORDERproperty set to NORMAL. - Ensure the target XDC file is part of the constraints set for the open design in memory.
- Select the target XDC file in the constraints set.
The position of the target XDC file in the constraints set determines where the recommended constraints apply and save. The wizard reapplies invalid constraints from later XDC files. This ensures the most complete and accurate recommendations.
Example: The constraints set constr_1 contains three XDC files in this sequence: a.xdc, b.xdc, and
c.xdc. If b.xdc is the target, the wizard applies recommended clocks. It then
reapplies invalid constraints from c.xdc before
identifying other missing constraints.
Non-project or DCP Modes
In these modes, you cannot specify a target XDC file. The wizard recommends and applies new constraints at the last position in the constraints sequence. This is equivalent to entering new constraints in the Tcl Console or through the Timing Constraints window.
The wizard does not attempt to reapply invalid constraints in these modes. Apply new constraints earlier to resolve dependencies or precedence issues by manually editing the sequence.
Editing Constraints Sequence Manually
- Create new constraints in the Vivado Design Suite.
- Run one of the following commands:
-
write_xdc -exclude_physical timing_constraints.xdc -
write_xdc -type timing timing_constraints.xdc
-
- Edit
timing_constraints.xdcto move the new constraints higher in the file. - Save the file.
- Run
reset_timing. - Read the edited timing constraints file using the
read_xdc timing_constraints.xdccommand. - Review the updated sequence in the Timing Constraints window.
- After review, save the sequence into the DCP.