Class Reference netListModule

A module to handle net lists. More...

Member

void addLVSList(string text,string job)
void autoPlace(bool placeDigital,bool placeAnalog,int srLayer, int analogDistance)
void buildConnect()
void clearLVSList()
void editExtractedNetList()
void extractNetList()
netList * getExtractedNetList(string cellname)
stringList getLibrary()
netList * getLoadedNetList(string cellname)
stringList getLVSResults()
netList * getSchematicNetList(string cellname)
void layoutVersusNetList()
void layoutVersusSchematic()
void libraryAdd(string fileName)
void libraryRemoveAll()
void lvs()
void netlistLoad(string filename)
bool placeDevice(string deviceName,point position, strans trans)
bool placeDevice(netListDevice *device,point pos, strans trans)
void saveNetlist(netList *netlist, string filename,string type)
void extractedNetlistSave(string filename,int type)
void netlistSave(string filename,int type)
void technologyLayerAdd(int layer,int type)
int technologyLayerConductorSize(int layer)
int technologyLayerConductorSpaceing(int layer)
void technologyLayerRemoveAll()
void 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.


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.


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.


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.


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.


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


bool netListModule::placeDevice(netListDevice *device,point pos, strans trans)

places device at the position


void netListModule::saveNetlist(netList *netlist, string filename,string type)

The netlist netlist is saved.

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.