Using Electric 3-11: Cell Views

Chapter 3: HIERARCHY

| ## 3-11: Cell Views |

### Setting a Cell's View

Each cell has a view, which provide a description of its contents. A view consists of a full name and an abbreviation to be used in cell naming. For example, the "layout" view is abbreviated "lay" and so the layout view of cell "adder" is called "adder{lay}." When no view name appears, the cell has the "unknown" view. Possible views are:

- "layout" (for IC layout)
- "schematic" (for logic designs)
- "schematic-page-N" (for multipage schematics)
- "icon" (to describe a cell symbolically)
- "simulation-output" (captured waveforms)
- "skeleton" (a minimal view)
- "documentation" (a text-only view)
- "VHDL" or "Verilog" (text-only views for hardware-description languages)
- a number of "netlist" views (text-only views that list connectivity for various tools such as "netlisp", "als", "quisc", "rsim", and "silos")
- "unknown" (no specified view)

When creating a cell with the Edit Cell... command, you can specify its view in the "New Cell" subdialog. After creation, you can change the current cell's view with the Change Cell's View... command of the View menu. Note that this is one of the few commands in Electric that is NOT undoable. |

### Switching between Views of a Cell

When editing one view of a cell, there are a set of commands in the View menu that will switch to an alternate view of the same cell.

- Use Edit Layout View to switch to the layout view.
- Use Edit Schematic View to switch to the unnumbered schematic view.
- Use Edit Multi-Page Schematic View... to switch to a particular page of a multipage schematic (this is the only command that can create new pages of a multipage schematic).
- Use Edit Icon View to switch to the Icon view.
- Use Edit VHDL View to switch to the VHDL view.
- Use Edit Documentation View to switch to the text-only documentation view.
- Use Edit Skeleton View to switch to the Skeleton view.

For all other view types, use Edit Other View... and select the desired view. Note that these commands are equivalent to the Edit Cell... command of the Cells menu with an appropriate selection.

When editing cells with text-only views, the window becomes a text editor. You may then use the Write Text Cell... and Read Text Cell... commands of the Cells menu to save and restore this text to disk. See Section 4-10 for more on text editing.

The commands to edit another view work only when that cell exists. To create a new cell of a particular type, use the Make... commands of the View menu. Thus, Make Multi-Page Schematic View... creates a new page in a multi-page schematic. Make Documentation View creates a blank documentation cell. Make Other View... prompts for any view type and creates a cell with that view.

### Creating and Deleting Views

If the list of possible views is not sufficient to describe a cell, new views can be created with the New View Type... command of the View menu. This command requests a name and an abbreviation. |

Generally, an abbreviation should be the first few letters of the full view name. This abbreviation will be used when describing cells with that view. For example, the view "fast-layout" might have the abbreviation "fast".

The "Textual View" checkbox indicates that this is a text-only view, like "Documentation", "Netlist", "Verilog", and "VHDL".

To delete a view, use the Delete View Type... command of the View menu. You can delete only the views that you have created, not the basic views that exist on startup (such as "layout", "schematic", etc). Also, there must be no cells with the view that is being deleted.

| Previous |  |  | Table of Contents |  | Next |