|
OpenROAD's Doxygen Pages
Compilation of detailed documentation for OpenROAD modules
|
#include <db.h>


Public Member Functions | |
| std::string | getName () const |
| const char * | getConstName () const |
| int | getDbUnitsPerMicron () const |
| dbTech * | getTech () const |
| dbSet< dbMaster > | getMasters () const |
| dbMaster * | findMaster (const char *name) const |
| dbSet< dbSite > | getSites () const |
| dbSite * | findSite (const char *name) const |
| int | getLefUnits () const |
| void | setLefUnits (int units) |
| char | getHierarchyDelimiter () const |
| void | setBusDelimiters (char left, char right) |
| void | getBusDelimiters (char &left, char &right) const |
Static Public Member Functions | |
| static dbLib * | create (dbDatabase *db, const char *name, dbTech *tech, char hierarchy_delimiter='/') |
| static dbLib * | getLib (dbDatabase *db, uint32_t oid) |
| static void | destroy (dbLib *lib) |
A Library is the element that represents a collection of library-cells, called Masters.
|
static |
Create a new library.
|
static |
Destroy a library.
| dbMaster * odb::dbLib::findMaster | ( | const char * | name | ) | const |
Finds a specific master-cell in the library Returns nullptr if the object was not found.
| dbSite * odb::dbLib::findSite | ( | const char * | name | ) | const |
Finds a specific site in the library Returns nullptr if the object was not found.
| void odb::dbLib::getBusDelimiters | ( | char & | left, |
| char & | right ) const |
Get the Bus name delimiters Left and Right are set to "zero" if the bus delimiters were not set.
| const char * odb::dbLib::getConstName | ( | ) | const |
Get the library name.
| int odb::dbLib::getDbUnitsPerMicron | ( | ) | const |
Get the Database units per micron.
| char odb::dbLib::getHierarchyDelimiter | ( | ) | const |
Get the HierarchyDelimiter. Returns (0) if the delimiter was not set. A hierarchy delimiter can only be set at the time a library is created.
| int odb::dbLib::getLefUnits | ( | ) | const |
Get the LEF units of this technology.
|
static |
Translate a database-id back to a pointer.
| dbSet< dbMaster > odb::dbLib::getMasters | ( | ) | const |
Get the master-cells of this library
| std::string odb::dbLib::getName | ( | ) | const |
Get the library name.
| dbSet< dbSite > odb::dbLib::getSites | ( | ) | const |
Get the sites of this library
| dbTech * odb::dbLib::getTech | ( | ) | const |
Get the technology of this library
| void odb::dbLib::setBusDelimiters | ( | char | left, |
| char | right ) |
Set the Bus name delimiters
| void odb::dbLib::setLefUnits | ( | int | units | ) |
Set the LEF units of this technology.