An XDC Constraints interface that contains the methods for importing and exporting the constraints.xdc file. Methods that were formerly in VivadoInterface were moved here.
XDC Constraint objects now have a comment string, in addition to the command and option strings for same-line comments.
When XDC constraint objects are added to the design, if the constraint includes a PACKAGE_PIN property, a XDCConstraintPackagePin object is created with the names of the package pin and the port.
This will occur for any constraints in these forms:
set_property -dict { PACKAGE_PIN M20 IOSTANDARD LVCMOS33 } [get_port sw[0]];set_property -dict { PACKAGE_PIN M19 IOSTANDARD LVCMOS33 } [get_ports { sw[1] }];set_property PACKAGE_PIN M20
Added the getPortConstraintMap() method to CellDesign to get a map of ports to the sites they are constrained to be placed on according to the constraints.xdc.
This PR includes the following:
set_property -dict { PACKAGE_PIN M20 IOSTANDARD LVCMOS33 } [get_port sw[0]];
set_property -dict { PACKAGE_PIN M19 IOSTANDARD LVCMOS33 } [get_ports { sw[1] }];
set_property PACKAGE_PIN M20