Xyce
6.1
|
#include <N_DEV_Resistor.h>
Public Types | |
typedef std::vector< Instance * > | InstanceVector |
Public Member Functions | |
Model (const Configuration &configuration, const ModelBlock &model_block, const FactoryBlock &factory_block) | |
Construct a resistor model from a "model block" that was created by the netlist parser. More... | |
~Model () | |
Destroy this model. More... | |
void | addInstance (Instance *instance) |
Add an instance to the list of instances associated with this model. More... | |
InstanceVector & | getInstanceVector () |
Get a non-const reference to the vector for all resistor instances owned by this model. More... | |
const InstanceVector & | getInstanceVector () const |
Get a const reference to the instance vector for all resistors owned by this model. More... | |
virtual void | forEachInstance (DeviceInstanceOp &op) const |
Apply a device instance "op" to all instances associated with this model. More... | |
virtual std::ostream & | printOutInstances (std::ostream &os) const |
Print instances associated with this model. More... | |
virtual bool | processParams () |
Process model parameters. More... | |
virtual bool | processInstanceParams () |
Process the instance parameters of instance owned by this model. More... | |
![]() | |
DeviceModel (const ModelBlock &model_block, ParametricData< void > ¶metric_data, const FactoryBlock &factory_block) | |
virtual | ~DeviceModel () |
void | setModParams (const std::vector< Param > ¶ms) |
virtual bool | clearTemperatureData () |
void | saveParams () |
bool | interpolateTNOM (double) |
bool | interpolateDOSE (double) |
void | restoreParams () |
virtual bool | getBinPrefixFlag () |
int | getLevel () const |
void | setLevel (int level) |
const std::string & | getType () const |
![]() | |
DeviceEntity (const char *const entity_type, const std::string &device_name, ParametricData< void > ¶metric_data, const SolverState &solver_state, const DeviceOptions &device_options, const std::string &netlist_path, int netlist_line) | |
virtual | ~DeviceEntity () |
virtual CompositeParam * | constructComposite (const std::string &composite_name, const std::string ¶m_name) |
bool | setDefaultParam (double val) |
double | getDefaultParam () |
bool | scaleParam (const std::string ¶mName, double val, double val0) |
bool | scaleParam (const std::string ¶mName, double val) |
bool | scaleDefaultParam (double val) |
bool | setParam (const std::string ¶mName, double val) |
bool | getParam (const std::string ¶mName, double &result) |
bool | getParamBreakpoints (std::vector< Util::BreakPoint > &) |
bool | updateDependentParameters (N_LAS_Vector &vars) |
bool | updateDependentParameters (double temp_tmp) |
bool | updateGlobalParameters (std::map< std::string, double > &) |
bool | updateDependentParameters () |
double | setDependentParameter (Util::Param &, double *, ParameterType::ExprAccess) |
double | setDependentParameter (Util::Param &, std::vector< double > *, int, ParameterType::ExprAccess) |
void | setDependentParameter (Util::Param &par, Depend &dependentParam, ParameterType::ExprAccess depend) |
void | setDefaultParams () |
void | setParams (const std::vector< Param > ¶ms) |
bool | given (const std::string ¶meter_name) const |
const char * | getEntityType () const |
const std::string & | getName () const |
void | setDefaultParamName (const std::string &default_param_name) |
const std::vector< Depend > & | getDependentParams () |
const DeviceOptions & | getDeviceOptions () const |
const SolverState & | getSolverState () const |
const NetlistLocation & | netlistLocation () const |
const ParameterMap & | getParameterMap () const |
![]() | |
ParameterBase () | |
double | getOriginalValue (int serial_number) |
void | setOriginalValue (int serial_number, double value) |
bool | wasValueGiven (int serial_number) const |
void | setValueGiven (int serial_number, bool value) |
Private Member Functions | |
Model () | |
Model (const Model &) | |
Model & | operator= (const Model &) |
Private Attributes | |
InstanceVector | instanceContainer |
List of owned resistor instances. More... | |
double | tempCoeff1 |
First order temperature coefficient. More... | |
double | tempCoeff2 |
Second order temperature coefficient. More... | |
double | sheetRes |
Sheet resistance. More... | |
double | defWidth |
Default width. More... | |
double | narrow |
Narrowing due to side etching. More... | |
double | tnom |
Parameter measurement temperature. More... | |
Friends | |
class | ParametricData< Model > |
Allow ParametricData to changes member values. More... | |
class | Instance |
Don't force a lot of pointless getters. More... | |
class | Traits |
class | Master |
Don't force a lot of pointless getters. More... | |
Additional Inherited Members | |
![]() | |
template<class T > | |
static void | initThermalModel (ParametricData< T > ¶metric_data) |
Add the parameter "TEMPMODEL" to the parametric_data. More... | |
template<class T > | |
static void | initDoseModel (ParametricData< T > ¶metric_data) |
Add the parameter "DOSEMODEL" to the parametric_data. More... | |
![]() | |
std::vector< Depend > | dependentParams |
std::vector< int > | expVarGIDs |
std::vector< int > | expVarLIDs |
std::vector< std::string > | expVarNames |
std::vector< double > | expVarVals |
std::vector< double > | eVarVals |
Resistor model class.
Definition at line 300 of file N_DEV_Resistor.h.
typedef std::vector<Instance *> Xyce::Device::Resistor::Model::InstanceVector |
Definition at line 308 of file N_DEV_Resistor.h.
Xyce::Device::Resistor::Model::Model | ( | const Configuration & | configuration, |
const ModelBlock & | model_block, | ||
const FactoryBlock & | factory_block | ||
) |
Construct a resistor model from a "model block" that was created by the netlist parser.
configuration | |
model_block | |
factory_block |
Definition at line 931 of file N_DEV_Resistor.C.
Xyce::Device::Resistor::Model::~Model | ( | ) |
Destroy this model.
Also destroys all instances that use this model.
Definition at line 975 of file N_DEV_Resistor.C.
|
private |
|
private |
|
inline |
Add an instance to the list of instances associated with this model.
Definition at line 336 of file N_DEV_Resistor.h.
|
virtual |
Apply a device instance "op" to all instances associated with this model.
[in] | op | Operator to apply to all instances. |
Implements Xyce::Device::DeviceModel.
Definition at line 1040 of file N_DEV_Resistor.C.
|
inline |
Get a non-const reference to the vector for all resistor instances owned by this model.
Definition at line 357 of file N_DEV_Resistor.h.
|
inline |
Get a const reference to the instance vector for all resistors owned by this model.
Definition at line 378 of file N_DEV_Resistor.h.
|
virtual |
Print instances associated with this model.
Used only for debugging
os | output stream |
Implements Xyce::Device::DeviceModel.
Definition at line 1004 of file N_DEV_Resistor.C.
|
virtual |
Process the instance parameters of instance owned by this model.
This method simply loops over all instances associated with this model and calls their processParams method.
Implements Xyce::Device::DeviceModel.
Definition at line 904 of file N_DEV_Resistor.C.
|
virtual |
Process model parameters.
Implements Xyce::Device::DeviceModel.
Definition at line 880 of file N_DEV_Resistor.C.
|
friend |
Don't force a lot of pointless getters.
Definition at line 303 of file N_DEV_Resistor.h.
|
friend |
Don't force a lot of pointless getters.
Definition at line 305 of file N_DEV_Resistor.h.
|
friend |
Allow ParametricData to changes member values.
Definition at line 302 of file N_DEV_Resistor.h.
|
friend |
Definition at line 304 of file N_DEV_Resistor.h.
|
private |
Default width.
Definition at line 397 of file N_DEV_Resistor.h.
|
private |
List of owned resistor instances.
Definition at line 391 of file N_DEV_Resistor.h.
|
private |
Narrowing due to side etching.
Definition at line 398 of file N_DEV_Resistor.h.
|
private |
Sheet resistance.
Definition at line 396 of file N_DEV_Resistor.h.
|
private |
First order temperature coefficient.
Definition at line 394 of file N_DEV_Resistor.h.
|
private |
Second order temperature coefficient.
Definition at line 395 of file N_DEV_Resistor.h.
|
private |
Parameter measurement temperature.
Definition at line 399 of file N_DEV_Resistor.h.