VLSI SAPD Documentation

Presentation AGDS CIF DTR OPENCHAMS SPICE Links & Contact


Public Member Functions
Instance Class Reference
Inheritance diagram for Instance:
Capacitor Mosfet Resistor

Public Member Functions

void addConnector (std::string connector)
 adds a connector to the instance. More...
 
void addParameter (std::string name, std::string value)
 adds a parameter to the instance. More...
 
const std::vector< std::string > & getConnectors ()
 returns the map of instance's connectors. More...
 
std::string getModel ()
 returns the model of the instance.
 
std::string getName ()
 returns the name of the instance.
 
const std::map< std::string, std::string > & getParameters ()
 returns the parameters of the instance.
 
std::string getParameterValue (std::string name)
 returns the value (as string) of a parameter of the instance. More...
 
 Instance (std::string name, std::string model)
 creates a new instance. More...
 

Detailed Description

This class describes an instance of the global circuit. It is the base class of SPICE::Capacitor, SPICE::Mosfet and SPICE::Resistor.

Constructor & Destructor Documentation

◆ Instance()

Instance ( std::string  name,
std::string  model 
)

creates a new instance.

Parameters
namethe name of the instance.
modelthe model of the instance.
netlistthe netlist to which the instance belongs.
namethe name of the instance.
modelthe model of the instance.

Member Function Documentation

◆ addConnector()

void addConnector ( std::string  connector)
inline

adds a connector to the instance.

Parameters
namethe name of the connector.
connectorthe connector to add.

◆ addParameter()

void addParameter ( std::string  name,
std::string  value 
)
inline

adds a parameter to the instance.

add a parameter to the instance.

adds an equation parameter to the instance.

Parameters
namethe name of the parameter.
valuethe value of the parameter.
namethe name of the parameter.
equationthe equation string of the parameter.

◆ getConnectors()

const std::vector< std::string > & getConnectors ( )
inline

returns the map of instance's connectors.

returns the connectors of the instance.

◆ getParameterValue()

string getParameterValue ( std::string  name)

returns the value (as string) of a parameter of the instance.

Parameters
namethe name of the parameter from which to get value.


Generated by doxygen 1.8.14 on Thu Nov 12 2020 Return to top of page
VLSI SAPD Documentation Copyright © 2010 - 2020 UPMC All rights reserved