Example: Build an RLOC List for the Example Circuit - 2024.2 English - 2024.1 English

Vivado Design Suite User Guide: Using Constraints (UG903)

Document ID
UG903
Release Date
2024-11-13
Version
2024.2 English
# create macro cell list: input register stage and BRAM cells
set cells [get_cells -hier	[list ireg0* ireg1* *SIMPLE_PRIM36.ram]] create_macro m0
update_macro m0 -absolute_grid [buildRLOCList $cells]

To see the dictionary list created by buildRLOCList:

$ puts [buildRLOCList $cells]
{ireg0[6]} X2Y10 {ireg0[5]} X2Y11 {ireg0[4]} X2Y6 {ireg0[3]} X2Y7 . . .

If there are many macro cells and macro cells buried in hierarchy, specifying the explicit list of cell-RLOC pairs can become complicated and error prone. The creation and management of XDC macros can be made simpler using Tcl.