MACRO(1ICD)

NAME
macro - set or unset a macro status for a layout cell

SYNOPSIS
macro [-s | -u] [ cell ... ]

OPTIONS

-s  Set the macro status.

-u  Unset the macro status.

DESCRIPTION
Macro sets or unsets the macro status for one or more layout cells and prints the new status(es). If no option is specified, only the current status of the cell is printed. If no cell is specified, all macro cells in the current project are listed.

When a layout cell is defined as a macro, during expansion (see exp(1ICD)), instances of the cell are always flattened. No matter whether a hierarchical expansion or a linear expansion is performed. When the cell that is defined as a macro has one or more son-cells itself, the macro status of each of these son-cells determines if the instances of these cells are also flattened.

When a macro cell is also a device (see putdevmod(1ICD)), the cell will become an instance in the extracted circuit (just as in the normal case) but the layout of the cell will additionally be expanded in the father cell.

EXAMPLES
macro -s image91
macro -u latch select
macro

SEE ALSO
putdevmod(1ICD), space(1ICD).