Presentation | AGDS | CIF | DTR | OPENCHAMS | SPICE | Links & Contact |
Public Member Functions | |
Transistor * | addTransistor (const std::string &) |
adds a Transistor to the device. More... | |
Device (const std::string &name, const std::string &model, unsigned order, const std::string &mosType, bool sourceBulkConnected, Netlist *) | |
creates a new device. More... | |
const std::string & | getMosType () |
returns the mos type of the device. | |
const std::vector< Transistor * > & | getTransistors () |
returns the list of device's transistors. | |
bool | hasNoTransistors () |
returns true if the device has no transistors. | |
bool | isSourceBulkConnected () |
returns true if the device's bulk is source connected. | |
![]() | |
void | connect (const std::string &connectorName, const std::string &netName) |
connects a net to one of the instance's connectors. More... | |
const std::map< std::string, Net * > & | getConnectors () |
returns the map of instance's connectors. | |
Netlist * | getNetlist () |
returns the netlist to which the instance belongs. | |
Parameters | getParameters () |
returns the parameters of the instance. | |
bool | hasNoConnectors () |
returns true if the instance has no connectors. | |
This class describes a Device.
A device is a leaf instance which means its model is not defined in a external file but is described inside the device. As an instance, the Device inherits all Instance methods and adds specific properties: mos type, bulk connection and list of internal transistors.
Device | ( | const std::string & | name, |
const std::string & | model, | ||
unsigned | order, | ||
const std::string & | mosType, | ||
bool | sourceBulkConnected, | ||
Netlist * | netlist | ||
) |
creates a new device.
name | the name of the instance. |
model | the model of the instance. |
mosType | the mos type (NMOS or PMOS). |
netlist | the netlist to which the instance belongs. |
Transistor * addTransistor | ( | const std::string & | name | ) |
adds a Transistor to the device.
name | the name of the transistor. |
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 |