Magic-7.3 Command Reference

#

## flatten

Flatten edit cell into the indicated destination cell.

### Usage:

> flatten cellname

> > where cellname is the name of a cell definition to be created, and into which the flattened geometry will be placed.

### 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.

> 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: October, 2004