NetListModule Class Reference
A module to handle net lists. More...
See also: List of Classes
Member
- addLVSList(string text,string job)
- autoPlace(bool placeDigital,bool placeAnalog,int srLayer, int analogDistance)
- buildConnect()
- clearLVSList()
- editExtractedNetList()
- extractNetList()
- getExtractedNetList(string cellname)
- getLibrary()
- getLoadedNetList(string cellname)
- getLVSResults()
- getSchematicNetList(string cellname)
- layoutVersusNetList()
- layoutVersusSchematic()
- libraryAdd(string fileName)
- libraryRemoveAll()
- lvs()
- netlistLoad(string filename)
- placeDevice(string deviceName,point position, strans trans)
- placeDevice(netListDevice *device,point pos, strans trans)
- saveNetlist(netList *netl, string filename,string type)
- extractedNetlistSave(string filename,int type)
- netlistSave(string filename,int type)
- technologyLayerAdd(int layer,int type)
- technologyLayerConductorSize(int layer)
- technologyLayerConductorSpaceing(int layer)
- technologyLayerRemoveAll()
- technologyLayerSetParameter(int layer,int parnum,int value)
Detailed Description
This module has some functions to handel netlists and Place&Route.
Member Function Documentation
void netListModule::addLVSList(string text,string job)
A entry on the LVS result list is added. Text is display in the list and job is executed, if the item is click by the user. List of job commands: "openNetlist" "placeDevice"+device id "showDevice" +devicename "showNode" +node id "routeNode" +node id "showDeviceNode"+device+"/"+node
A specify more than one job seperate them with " ; ".
void netListModule::autoPlace(bool placeDigital,bool placeAnalog,int srLayer, int analogDistance)
a simple automatic placement of the current netlist. Please see AutomaticPlacement for details. (introduced with version 20140122)
void netListModule::buildConnect()
The connections between the elements are calculated. This function is prerequirament to save a extracted netlist and to perform a lvs.
void netListModule::clearLVSList()
The List of the LVS results ist cleared.
void netListModule::editExtractedNetList()
open an TextEditor with the extracted net list from the current cell. The net list had to be extracted with buildConnect and extractNetList before.
(introduced with version 20130101)
void netListModule::extractNetList()
Extracts the netlist from the current cell. Calling buildConnect() is required before an extraction can be made.
netList * netListModule::getExtractedNetList(string cellname)
a pointer to the extracted netlist of the cellname. Returns NULL, if netlist does not exist.
stringList netListModule::getLibrary()
Returns: a list with all used libraries
netList * netListModule::getLoadedNetList(string cellname)
Returns: a pointer to the loaded netlist of the cellname. Returns NULL, if netlist does not exist.
stringList netListModule::getLVSResults()
Returns: a list with all LVS error or no errors if no error exists.
netList * netListModule::getSchematicNetList(string cellname)
Returns: a pointer to the netlist of the cellname generated by the SchematicEditor. Returns NULL, if netlist does not exist. (introduced with version 20130101)
void netListModule::layoutVersusNetList()
Layout versus Netlist is performed. The results are displayed in the LVS list. Requirement for this feature is that the connection between elements are calulated ( buildConnect() ) and a net list is extracted ( extractNetList() ). This feature will compare the extracted net list with the loaded netlist. (introduced with version 20130101)
void netListModule::layoutVersusSchematic()
Layout versus Schematic is performed. The results are displayed in the LVS list. Requirement for this feature is that the connection between elements are calulated ( buildConnect() ) and a net list is extracted ( extractNetList() ). This feature will compare the extracted net list with the netlist from the schematic. (introduced with version 20130101)
void netListModule::libraryAdd(string fileName)
The library filename is added.
void netListModule::libraryRemoveAll()
All libraries are removed from the library list.
void netListModule::lvs()
Layout versus Schematic is performed. The results are displayed in the LVS list. Requirement for this feature is that the connection between elements are calulated ( buildConnect() ) and a net list is extracted ( extractNetList() ). This feature will compare the extracted net list with the loaded net list or the net list from the schematic.
void netListModule::netlistLoad(string filename)
A netlist with filename is load for the current cell
bool netListModule::placeDevice(string deviceName,point position, strans trans)
places devicename at the position (introduced with version 20151028)
bool netListModule::placeDevice(netListDevice *device,point pos, strans trans)
places device at the position (introduced with version 20151028)
void void netListModule::saveNetlist(netList *netl, string filename,string type)
The netlist netl is saved. (introduced with version 20130101)
Obsolete Members:
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.
void netListModule::extractedNetlistSave(string filename,int type)
The extracted netlist of the current cell is saved. available types:
0: LayoutEditor Dump
1: Alliance
2: Spice
3: Qucs
void netListModule::netlistSave(string filename,int type)
save netlist
Parameter: The netlist of the current cell is saved. available types:
0: LayoutEditor Dump
1: Alliance
2: Spice
3: Qucs
void netListModule::technologyLayerAdd(int layer,int type)
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.
int netListModule::technologyLayerConductorSize(int layer)
Returns: the condictor size, if layer is an conductor layer. Otherwise returns -1.
int netListModule::technologyLayerConductorSpaceing(int layer)
Returns: the condictor spacing, if layer is an conductor layer. Otherwise returns -1.
void netListModule::technologyLayerRemoveAll()
The technology information of all layers is reseted.
void netListModule::technologyLayerSetParameter(int layer,int parnum,int value)
Sets information to the technology layer.