A module to handle net lists. More...
Netlists, LVS and a simple place-and-route path are reached as layout->netlistTool, a netListModule. Call buildConnect so connections between shapes are known, then extractNetList before LVS or before you save an extracted netlist. layoutVersusSchematic compares that extract to the schematic netlist, layoutVersusNetlist compares it to a file loaded with netlistLoad, and lvs uses whichever of those is available; results go to the LVS list. autoPlace places devices from the current netlist; autoRoute and autoRouteNode route open nets with the internal autorouter. getExtractedNetList, getLoadedNetList and getSchematicNetList return a netList pointer or NULL if that netlist does not exist.
Example:
layout->netlistTool->buildConnect();
layout->netlistTool->extractNetList();
layout->netlistTool->editExtractedNetList();
layout->netlistTool->layoutVersusSchematic();
Adds a row to the LVS result list. text is shown; job runs when the user clicks the row. Several jobs can be joined with ; . Job strings include openNetlist, placeDevice plus an id, showDevice plus a name, showNode plus an id, routeNode plus an id, and showDeviceNode plus device and node separated by /.
| Parameter: | |
|---|---|
| text | text shown in the list |
| job | command run when the row is clicked |
Places devices from the current netlist. See Automatic Placement in the user manual for the algorithm.
| Parameter: | |
|---|---|
| placeDigital | true to place digital devices |
| placeAnalog | true to place analog devices |
| srLayer | substrate or routing layer |
| analogDistance | spacing for analog placement |
Automatic routing using the settings of the Automatic Router dialog. (introduced with release 20260820)
Routes all open nets with the internal autorouter. angleMode is 0 for 90 degree, 1 for 45 degree and 2 for all angle. The dialog settings are not used. (introduced with release 20260820)
Routes the net nodeName with the internal autorouter. angleMode is the same as for autoRoute(int). (introduced with release 20260820)
Computes connections between shapes. Call this before extractNetList, LVS, or saving an extracted netlist.
Clears the LVS result list.
Opens a text editor with the extracted netlist of the current cell. buildConnect and extractNetList must already have run.
Extracts the netlist of the current cell. Call buildConnect first.
Returns: a netList for cellname, or NULL if none exists.
Returns: the names of all used libraries.
Returns: the loaded netList of cellname, or NULL if none exists.
Returns: LVS error strings, or no errors if the compare succeeded.
Returns: the schematic netList of cellname, or NULL if none exists.
Compares the extracted netlist with the loaded netlist and fills the LVS list. Requires buildConnect and extractNetList.
Compares the extracted netlist with the schematic netlist and fills the LVS list. Requires buildConnect and extractNetList.
Adds the library file fileName.
Removes every library from the list.
Runs layout versus schematic or versus the loaded netlist, whichever is available, and fills the LVS list. Requires buildConnect and extractNetList.
Loads the netlist filename for the current cell.
Places the device named deviceName at position with transformation trans.
| Parameter: | |
|---|---|
| deviceName | device name |
| position | placement origin |
| trans | placement transformation |
Returns: true if the device was placed.
Places device at pos with transformation trans.
| Parameter: | |
|---|---|
| device | device to place |
| pos | placement origin |
| trans | placement transformation |
Returns: true if the device was placed.
Writes netlist to filename. type selects the format.
| Parameter: | |
|---|---|
| netlist | netlist to write |
| filename | file path |
| type | format name |
There are new members in this class or in the layers class with identical functions. Please use the new members as these are have more options and better define the required operation.
The extracted netlist of the current cell is saved. available types:
0: LayoutEditor Dump
1: Alliance
2: Spice
3: Qucs
save netlist
Parameter: The netlist of the current cell is saved. available types:
0: LayoutEditor Dump
1: Alliance
2: Spice
3: Qucs
Set layer to a technology layer. If type is 1, the layer is a via. If type is 2 the layer is a conductor layer.
Returns: the condictor size, if layer is an conductor layer. Otherwise returns -1.
Returns: the condictor spacing, if layer is an conductor layer. Otherwise returns -1.
The technology information of all layers is reseted.
Sets information to the technology layer.
| Parameter: | |
|---|---|
| layer | layer number |
| parnum | parameter index |
| value | numeric value |