The Dump Phys Netlist button in the Extract Menu creates a netlist file from the physical connectivity information in the current cell. Upon pressing this button, a small pop-up appears, which provides a number of format options. The options include the names from the PnetFormat blocks in the format library file, if any. The format library provides a mechanism for user-specified formatting of netlist output. The supplied xic_format_lib file contains a formatter for the Cadence DEF (Design Exchange Format) format, as well as a simple example format.
There are three built-in format choices: net, devs, and spice. Any combination of the formats can be selected, and the output will contain a block for each selected format, for each cell.
In addition, there are a number of options which modify the presentation. These include list all cells and list bottom-up, which apply to all formats, and show geometry and include wire cap. The latter options are enabled when net and spice are enabled, respectively, or when a format library choice is active.
The format options will be described in more detail below. Below the format check boxes there is a Depth choice menu which allows setting of the depth into the hierarchy to process. The user is given the option of creating the netlist to an arbitrary depth in the hierarchy. If the given depth is greater than zero, the subcells above the indicated depth will also be added to the file. If ``all'' is selected, the full hierarchy will be output.
Below the depth menu is a text entry area for the name of the file to be generated. The default name is the base name of the current cell, suffixed with ``.physnet'', to be created in the current directory. The entry area is sensitive as a receiver for drag/drop.
Any combination of the four format options may be selected. The states of the option check boxes track the status of the variables described below. The listing from the Dump Phys Netlist command will have a field of output for each selected format, from each cell. Pressing the Go button will produce the output file.
The format option check boxes are described below. The first two are options that apply to all formats.
The next three rows of option check boxes specify the internal formats and options for these formats.
Additional option buttons, if any, correspond to formats specified in the format library file. If selected, a text block containing the output from the format generator will be appended to the file, for each cell. The following are available from the stock distribution format library file.
Each of the option buttons that correspond to an internal format or option (not the formats from the library) has a corresponding !set variable. If the variable is changed while the pop-up is visible, the pop-up will be updated. Conversely, changing the state of the option buttons will set or unset the corresponding variables. The pop-up check box will be checked if the corresponding variable is set. The names of the corresponding variables are given in the table below.
list all cells | PnetListAll | |
---|---|---|
list bottom-up | PnetBottomUp | |
net | PnetNet | |
show geometry | PnetShowGeometry | |
devs | PnetDevs | |
spice | PnetSpice | |
include wire cap | PnetIncludeWireCap | |
ignore labels | PnetNoLabels | |
devs verbose | PnetVerbose |