XDC macros enable assignment of relative placement to cells after synthesis. Macros have many characteristics similar to RPMs, but are design objects that can be modified interactively using XDC and Tcl. Macros are created from leaf cells that are grouped together with relative placement constraints.
While RPMs are managed in HDL code, macros are managed using XDC constraints. RPMs cannot be automatically converted to macros. Similarly, macros cannot be automatically annotated to HDL code. Unlike macros, RPMs are not objects, and the XDC macro commands cannot be used on RPMs.
|Definition||HDL Attributes||XDC constraints|
|RLOC Targets||Non-leaf and leaf cells||Leaf cells only|
|Site Type Mixing Allowed||Yes, using RPM_GRID attribute||
|Accessible as objects||No||Yes|
|Where stored||In netlist||In XDC or Tcl scripts|