Magic VLSI Layout Tool Version 7.3 *

flatten


Flatten edit cell into the indicated destination cell.

Usage:

flatten cellname [option]

where cellname is the name of a cell definition to be created, and into which the flattened geometry will be placed. option may be one of -nolabels, -nosubcircuit, or -novendor.

Summary:

The flatten command creates a new cell with the indicated name, then flattens the hierarchy of the current edit cell and copies the result into the new cell.

The options allow selective flattening, as follows:

-nolabels
Prevents magic from copying labels into the flattened cell. Otherwise, magic flattens labels by prepending the cell hierarchy to each label as it copies it into the flat cell.
-nosubcircuit
Prevents magic from flattening cells declared to be subcircuits (by the presence of ports in the cell). These cells are retained as subcells in the flattened version.
-novendor
Prevents magic from flattening cells that are vendor cells, that is, cells that are generated by reading GDS using the gds readonly option, or which have the appropriate property values set.
Note that cellname is a top-level cell but is not displayed or saved subsequent to the flatten command. The usual procedure is to follow the command "flatten cellname" with "load cellname", to view the new flattened layout.

Implementation Notes:

flatten is implemented as a built-in command in magic.

Return to command index

Last updated: December 4, 2005 at 8:04pm