Presentation | AGDS | CIF | DTR | OPENCHAMS | SPICE | Links & Contact |
Public Member Functions | |
Device * | addDevice (const std::string &name, const std::string &model, unsigned, const std::string &mosType, bool) |
adds a Device to the netlist. More... | |
Instance * | addInstance (const std::string &name, const std::string &model, unsigned) |
adds an Instance (subcircuit) to the netlist. More... | |
Net * | addNet (const std::string &name, const std::string &type, bool) |
adds a Net to the netlist. More... | |
Circuit * | getCircuit () |
returns the Circuit the netlist is associated to. | |
Instance * | getInstance (const std::string &) |
returns the Instance named name or NULL it does not exist. More... | |
const std::vector< Instance * > & | getInstances () |
returns the list of netlist's instances. | |
Net * | getNet (const std::string &) |
returns the Net named name or NULL it does not exist. More... | |
const std::vector< Net * > & | getNets () |
returns the list of netlist's nets. | |
bool | hasNoInstances () |
returns true if netlist has no instances. | |
bool | hasNoNets () |
returns true if netlist has no nets. | |
Netlist (Circuit *) | |
creates a new netlist. More... | |
This class describes a netlist.
A netlist contains the list of all circuit's instances and nets.
creates a new netlist.
circuit | the circuit to which the netlist belongs. |
Device * addDevice | ( | const std::string & | name, |
const std::string & | model, | ||
unsigned | order, | ||
const std::string & | mosType, | ||
bool | sourceBulkConnected | ||
) |
Instance * addInstance | ( | const std::string & | name, |
const std::string & | model, | ||
unsigned | order | ||
) |
Net * addNet | ( | const std::string & | name, |
const std::string & | type, | ||
bool | external | ||
) |
Instance * getInstance | ( | const std::string & | instanceName | ) |
returns the Instance named name
or NULL it does not exist.
name | the name of the instance to get. |
Generated by doxygen 1.8.14 on Thu Oct 18 2018 | Return to top of page |
VLSI SAPD Documentation | Copyright © 2010 - 2011 UPMC All rights reserved |