You can create a scoped XDC file to copy UltraScale architecture
Memory IP I/O constraints from one design to another. This is useful if you want to:
- Perform memory I/O assignments in an IP example design and then copy the assignments to your design.
- Create an example design containing the Memory IP and related I/O assignments from your design.
Note: Because top-level port names might differ between the designs,
you must use a scoped XDC file to copy the constraints.
To create a scoped XDC file to copy Memory IP I/O constraints:
- Open the elaborated or synthesized design to copy the I/O assignments from.
- In the Tcl Console, enter the following command to write a scoped XDC file for
the Memory IP I/O
constraints:
write_xdc -cell <memory_ip_instance_name> -file <output file name>
- Open the elaborated or synthesized design to copy the I/O assignments to.
- In the Tcl Console, enter the following command to read the scoped XDC file for
the Memory IP I/O
constraints:
read_xdc -cell <memory_ip_instance_name> -file <output file name>
- Select Note: The Tcl command equivalent is:
save_constraints
to interpret the I/O constraints to the top-level ports and write
the constraints into the target constraint file.