Presentation | AGDS | CIF | DTR | OPENCHAMS | SPICE | Links & Contact |
Public Member Functions | |
ARule * | addARule (const char *name, double value, const char *ref, const char *layer1, const char *layer2) |
creates a new ARule and adds it to the Techno object. More... | |
Rule * | addRule (const char *name, double value, const char *ref, const char *layer1="", const char *layer2="") |
creates a new Rule and adds it the to Techno object. More... | |
const std::string & | getName () const |
returns the name of the technology. | |
Rule * | getRule (const char *name, const char *layer1="", const char *layer2="") |
returns the rule uniquely identified by its name and layers. More... | |
std::vector< Rule * > & | getRules () |
returns a reference on the std::vector containing all technology's rules. More... | |
const std::string & | getUnit () const |
returns the unit. | |
double | getValue (const char *name, const char *layer1="", const char *layer2="") |
returns the value of a rule uniquely identified by its name and layers. More... | |
const std::string & | getValueAsString (const char *name, const char *layer1="", const char *layer2="") |
returns a string corresponding to the value of a rule uniquely identified by its name and layers. More... | |
Techno (const char *name, const char *unit, const char *version) | |
creates a new technology More... | |
bool | writeToFile (const char *filePath) |
writes the database to file. More... | |
Static Public Member Functions | |
static Techno * | readFromFile (const char *filePath) |
creates and returns a Techno object based on a database source file. More... | |
This class contains generic informations such as the name of the technology and the unit used, and the list of all technologic rules.
Techno | ( | const char * | name, |
const char * | unit, | ||
const char * | version | ||
) |
creates a new technology
name | the name of the technology. |
unit | the unit used for all values. |
version | the technology version/revision. |
ARule * addARule | ( | const char * | name, |
double | value, | ||
const char * | ref, | ||
const char * | layer1, | ||
const char * | layer2 | ||
) |
Rule * addRule | ( | const char * | name, |
double | value, | ||
const char * | ref, | ||
const char * | layer1 = "" , |
||
const char * | layer2 = "" |
||
) |
creates a new Rule and adds it the to Techno object.
name | the name of the rule. |
value | the value of the rule. |
ref | the reference of the rule (helpful to find the rule in design kit). |
layer1 | the first layer. This is an optionnal argument, default value is "". |
layer2 | the second layer. This is an optionnal argument, default value is "". |
Rule * getRule | ( | const char * | name, |
const char * | layer1 = "" , |
||
const char * | layer2 = "" |
||
) |
returns the rule uniquely identified by its name and layers.
name | the name of the rule. |
layer1 | the first layer. This is an optionnal argument, default value is "". |
layer2 | the second layer. This is an optionnal argument, default value is "". |
|
inline |
returns a reference on the std::vector containing all technology's rules.
double getValue | ( | const char * | name, |
const char * | layer1 = "" , |
||
const char * | layer2 = "" |
||
) |
returns the value of a rule uniquely identified by its name and layers.
name | the name of the rule. |
layer1 | the first layer. This is an optionnal argument, default value is "". |
layer2 | the second layer. This is an optionnal argument, default value is "". |
const string & getValueAsString | ( | const char * | name, |
const char * | layer1 = "" , |
||
const char * | layer2 = "" |
||
) |
returns a string corresponding to the value of a rule uniquely identified by its name and layers.
name | the name of the rule. |
layer1 | the first layer. This is an optionnal argument, default value is "". |
layer2 | the second layer. This is an optionnal argument, default value is "". |
|
static |
bool writeToFile | ( | const char * | filename | ) |
writes the database to file.
filename | the destination file name. |
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 |