Macro Properties Example - 2024.1 English

Vivado Design Suite User Guide: Using Constraints (UG903)

Document ID
UG903
Release Date
2024-06-15
Version
2024.1 English
% report_property [get_macros m1]
Property	     Type	Read-only	Visible	Value
ABSOLUTE_GRID	bool	  true	     true      0
CLASS	        string    true	     true      macro
NAME	         string    true	     true      m1
RLOCS	        string*   true	     true      u2/sr0 X0Y0 u2/sr1 X0Y1

Following are descriptions of the properties.

ABSOLUTE_GRID

Boolean property that reflects whether or not the RLOCs are using the default grid system or the Absolute Grid system.

The default is false. If update_macro is used with -absolute_grid, then the property is true.

The Absolute Grid uses coordinates that align with site RPM_X and RPM_Y properties to allow creating macros from cells placed at different site types.

CLASS

Identifies the object as a macro.

NAME

Name of the macro object, either the name used by create_macro, or the macro name prefixed by the cell hierarchy when using read_xdc -cell.

RLOCS

String containing the list of macro cells and their RLOC properties in the same format used by the update_macro command.

Macro cells have these additional properties:

RLOC
The relative location property (RLOC) value of the cell.
MACRO_NAME
The name of the macro to which the cell belongs.

Using the previous example for macro properties:

% get_property RLOC [get_cells {u2/sr0 u2/sr1}] X0Y0 X0Y1
% get_property MACRO_NAME [get_cells {u2/sr0 u2 "X0Y0 X0Y1" is the output of the get_property command
/sr1}] 
m1 m1