Holds all the Alliance environment variables. More...
Public Types | |
| enum | AddMode { Append =1 , Prepend =2 , Replace =3 } |
Public Member Functions | |
| Environment () | |
| ~Environment () | |
| const std::string & | getDisplayStyle () const |
| long | getSCALE_X () const |
| const std::string & | getDISPLAY () const |
| const std::string & | getIN_LO () const |
| const std::string & | getIN_PH () const |
| const std::string & | getOUT_LO () const |
| const std::string & | getOUT_PH () const |
| const std::string & | getPOWER () const |
| const std::string & | getGROUND () const |
| const std::string & | getCLOCK () const |
| const std::string & | getBLOCKAGE () const |
| const std::string & | getPad () const |
| const std::string & | getCATALOG () const |
| SearchPath & | getLIBRARIES () |
| std::string | getLIBRARYPath (size_t i) |
| bool | isPOWER (const char *name) const |
| bool | isGROUND (const char *name) const |
| bool | isCLOCK (const char *name) const |
| bool | isBLOCKAGE (const char *name) const |
| bool | isPad (const char *name) const |
| void | validate () const |
| void | setDisplayStyle (const char *) |
| void | setSCALE_X (long value) |
| void | setDISPLAY (const char *value) |
| void | setIN_LO (const char *value) |
| void | setIN_PH (const char *value) |
| void | setOUT_LO (const char *value) |
| void | setOUT_PH (const char *value) |
| void | setPOWER (const char *value) |
| void | setGROUND (const char *value) |
| void | setCLOCK (const char *value) |
| void | setBLOCKAGE (const char *value) |
| void | setPad (const char *value) |
| void | setCATALOG (const char *value) |
| void | setWORKING_LIBRARY (const char *value) |
| void | addSYSTEM_LIBRARY (const char *value, const char *libName, unsigned int mode=Append) |
| std::string | getPrint () const |
Holds all the Alliance environment variables.
This object is not to be used alone, but only as an attribute of AllianceFramework.
Although we constantly refer of the contents of this object as environement variables, they may (and should) be initialized through the Coriolis Python environement loader or legacy XML parsers.
This enumeration defines the way libraries are added to the already existing table.
| CRL::Environment::Environment | ( | ) |
Default constructor. All variables are initialized to their reasonable defaults.
| CRL::Environment::~Environment | ( | ) |
Destructor.
References getDisplayStyle(), and getSCALE_X().
|
inline |
Returns: The current display style name.
Referenced by ~Environment().
|
inline |
Returns: The default scaling factor used if omitted in an AP file.
Referenced by ~Environment().
|
inline |
Returns: The path toward the file holding the display datas. Data to initialize the various Hurricane::DrawingStyle.
References getBLOCKAGE(), getCATALOG(), getCLOCK(), getGROUND(), getIN_LO(), getIN_PH(), getLIBRARIES(), getOUT_LO(), getOUT_PH(), getPad(), and getPOWER().
|
inline |
Returns: The input format for logical (netlist) files.
Referenced by getDISPLAY().
|
inline |
Returns: The input format for physical (layout) files.
Referenced by getDISPLAY().
|
inline |
Returns: The output format for logical (netlist) files.
Referenced by getDISPLAY().
|
inline |
Returns: The output format for physical (layout) files.
Referenced by getDISPLAY().
|
inline |
Returns: The pattern (regular expression) used to match for power nets names.
Referenced by getDISPLAY().
|
inline |
Returns: The pattern (regular expression) used to match for ground nets names.
Referenced by getDISPLAY().
|
inline |
Returns: The pattern (regular expression) used to match for clock nets names.
Referenced by getDISPLAY().
|
inline |
Returns: With the Hurricane database you cannot create physical components whithout a net. All segments used for signaling blockage area are grouped inside a unique net, which name is given by this variable.
Referenced by getDISPLAY().
|
inline |
Returns: The pattern (regular expression) used to match for pad cell names.
Referenced by getDISPLAY().
|
inline |
Returns: The name of the auxiliary file in library directories holding the meta-informations about the cells.
Referenced by getDISPLAY().
|
inline |
Returns: The ordered list of libraries, under the form of a serch path.
Referenced by getDISPLAY().
| std::string CRL::Environment::getLIBRARYPath | ( | size_t | i | ) |
Returns: The path of library at index i in the search path.
| bool CRL::Environment::isPOWER | ( | const char * | name | ) | const |
Returns: true if name is recognized as a power net name.
| bool CRL::Environment::isGROUND | ( | const char * | name | ) | const |
Returns: true if name is recognized as a ground net name.
| bool CRL::Environment::isCLOCK | ( | const char * | name | ) | const |
Returns: true if name is recognized as a clock net name.
| bool CRL::Environment::isBLOCKAGE | ( | const char * | name | ) | const |
Returns: true if name is recognized as a blockage net name.
| bool CRL::Environment::isPad | ( | const char * | name | ) | const |
Returns: true if name is recognized as a pad cell name.
| void CRL::Environment::validate | ( | ) | const |
Check for the coherency of the various environement variables. Throw an exception if something incoherent is found.
References setDisplayStyle(), and setSCALE_X().
|
inline |
Sets the current display style to name.
Referenced by validate().
|
inline |
Sets the default scaling factor used if omitted in an AP file.
Referenced by validate().
|
inline |
Sets the path toward the file holding the display datas. Data to initialize the various Hurricane::DrawingStyle.
References setIN_LO(), setIN_PH(), setOUT_LO(), and setOUT_PH().
|
inline |
Sets the input format for logical (netlist) files.
Referenced by setDISPLAY().
|
inline |
Sets the input format for physical (layout) files.
Referenced by setDISPLAY().
|
inline |
Sets the output format for logical (netlist) files.
Referenced by setDISPLAY().
|
inline |
Sets the output format for physical (layout) files.
Referenced by setDISPLAY().
| void CRL::Environment::setPOWER | ( | const char * | value | ) |
Sets the pattern (regular expression) used to match for power nets names.
| void CRL::Environment::setGROUND | ( | const char * | value | ) |
Sets the pattern (regular expression) used to match for ground nets names.
| void CRL::Environment::setCLOCK | ( | const char * | value | ) |
Sets the pattern (regular expression) used to match for clock nets names.
| void CRL::Environment::setBLOCKAGE | ( | const char * | value | ) |
With the Hurricane database you cannot create physical components whithout a net. All segments used for signaling blockage area are grouped inside a unique net, which name is given by this variable.
| void CRL::Environment::setPad | ( | const char * | value | ) |
Sets the pattern (regular expression) used to match for pad cell names.
References setCATALOG().
|
inline |
Sets the name of the auxiliary file in library directories holding the meta-informations about the cells.
Referenced by setPad().
| void CRL::Environment::setWORKING_LIBRARY | ( | const char * | value | ) |
Sets the directory in which create cells will be saved.
| void CRL::Environment::addSYSTEM_LIBRARY | ( | const char * | value, |
| const char * | libName, | ||
| unsigned int | mode = Append ) |
| std::string CRL::Environment::getPrint | ( | ) | const |
Returns: A nicely formatted string to resume the current environements settings. Mainly for verbose outputs on ttys.
| Generated by doxygen 1.18.0 on | Return to top of page |
| Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |