create_macro - 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

The create_macro command creates a new macro object.

Macro names must be unique. Attempting to create a macro with the same name as an existing macro generates an error.

create_macro Syntax

create_macro <name>

create_macro Example

create_macro m0

Creates a macro object called m0.

Tip: To ensure optimal LUT-FF alignment, specify the BEL location when creating your macro. The BEL location must be set separately as a property on the cell objects. For example: set_property BEL AFF [get_cell u2/sr0].