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


Public Member Functions | |
| std::string | getName () const |
| int | getDbUnitsPerMicron () const |
| dbSet< dbTechLayer > | getLayers () const |
| dbTechLayer * | findLayer (const char *name) const |
| dbTechLayer * | findLayer (int layer_number) const |
| dbTechLayer * | findRoutingLayer (int level_number) const |
| dbTechLayer * | firstFrontsideRoutingLayer () const |
| dbTechLayer * | firstBacksideRoutingLayer () const |
| dbSet< dbTechVia > | getVias () const |
| PtrMap< dbTechLayer, dbTechVia * > | getDefaultVias () const |
| dbTechVia * | findVia (const char *name) const |
| int | getLefUnits () const |
| void | setLefUnits (int units) |
| double | getLefVersion () const |
| std::string | getLefVersionStr () const |
| void | setLefVersion (double inver) |
| bool | hasNoWireExtAtPin () const |
| dbOnOffType | getNoWireExtAtPin () const |
| void | setNoWireExtAtPin (dbOnOffType intyp) |
| dbOnOffType | getNamesCaseSensitive () const |
| void | setNamesCaseSensitive (dbOnOffType intyp) |
| bool | hasClearanceMeasure () const |
| dbClMeasureType | getClearanceMeasure () const |
| void | setClearanceMeasure (dbClMeasureType inmeas) |
| bool | hasUseMinSpacingObs () const |
| dbOnOffType | getUseMinSpacingObs () const |
| void | setUseMinSpacingObs (dbOnOffType inval) |
| bool | hasUseMinSpacingPin () const |
| dbOnOffType | getUseMinSpacingPin () const |
| void | setUseMinSpacingPin (dbOnOffType inval) |
| bool | hasManufacturingGrid () const |
| int | getManufacturingGrid () const |
| void | setManufacturingGrid (int ingrd) |
| int | getLayerCount () const |
| int | getRoutingLayerCount () const |
| int | getViaCount () const |
| dbSet< dbTechNonDefaultRule > | getNonDefaultRules () const |
| dbTechNonDefaultRule * | findNonDefaultRule (const char *rulename) const |
| dbTechSameNetRule * | findSameNetRule (dbTechLayer *l1, dbTechLayer *l2) const |
| void | getSameNetRules (std::vector< dbTechSameNetRule * > &rules) const |
| dbSet< dbTechViaRule > | getViaRules () const |
| dbSet< dbTechViaGenerateRule > | getViaGenerateRules () const |
| dbSet< dbMetalWidthViaMap > | getMetalWidthViaMap () const |
| dbSet< dbCellEdgeSpacing > | getCellEdgeSpacingTable () const |
| dbTechViaRule * | findViaRule (const char *name) const |
| dbTechViaGenerateRule * | findViaGenerateRule (const char *name) const |
| void | checkLayer (bool typeChk, bool widthChk, bool pitchChk, bool spacingChk) const |
Static Public Member Functions | |
| static dbTech * | create (dbDatabase *db, const char *name) |
| static dbTech * | getTech (dbDatabase *db, uint32_t oid) |
| static void | destroy (dbTech *tech) |
A Tech is the element that represents technology specific data.
| void odb::dbTech::checkLayer | ( | bool | typeChk, |
| bool | widthChk, | ||
| bool | pitchChk, | ||
| bool | spacingChk ) const |
|
static |
Create a new technology. Returns nullptr if a database technology already exists
|
static |
Destroy a technology. TODO: Define what happens to the libs and the chip.
| dbTechLayer * odb::dbTech::findLayer | ( | const char * | name | ) | const |
Find the technology layer. Returns nullptr if the object was not found.
| dbTechLayer * odb::dbTech::findLayer | ( | int | layer_number | ) | const |
Find the technology layer. Returns nullptr if the object was not found.
| dbTechNonDefaultRule * odb::dbTech::findNonDefaultRule | ( | const char * | rulename | ) | const |
Find a specific rule
| dbTechLayer * odb::dbTech::findRoutingLayer | ( | int | level_number | ) | const |
Find the technology routing layer. Returns nullptr if the object was not found.
| dbTechSameNetRule * odb::dbTech::findSameNetRule | ( | dbTechLayer * | l1, |
| dbTechLayer * | l2 ) const |
Find a specific rule Returns nullptr if no rule exists.
| dbTechVia * odb::dbTech::findVia | ( | const char * | name | ) | const |
Find the technology via. Returns nullptr if the object was not found.
| dbTechViaGenerateRule * odb::dbTech::findViaGenerateRule | ( | const char * | name | ) | const |
| dbTechViaRule * odb::dbTech::findViaRule | ( | const char * | name | ) | const |
| dbTechLayer * odb::dbTech::firstBacksideRoutingLayer | ( | ) | const |
Find the LEF58_BACKSIDE routing layer closest to the substrate (i.e. the highest routing-level index that is marked backside, since backside metals are stacked outward from M0 toward BRDL in LEF order). Returns nullptr if there is no backside routing layer.
| dbTechLayer * odb::dbTech::firstFrontsideRoutingLayer | ( | ) | const |
Find the frontside (non-LEF58_BACKSIDE) routing layer closest to the substrate (i.e. the lowest routing-level index that is not marked backside). Returns nullptr if there is no such layer.
| dbSet< dbCellEdgeSpacing > odb::dbTech::getCellEdgeSpacingTable | ( | ) | const |
Get the LEF58_CELLEDGESPACINGTABLE
| dbClMeasureType odb::dbTech::getClearanceMeasure | ( | ) | const |
| int odb::dbTech::getDbUnitsPerMicron | ( | ) | const |
Get the Database units per micron.
| PtrMap< dbTechLayer, dbTechVia * > odb::dbTech::getDefaultVias | ( | ) | const |
Returns the default via for each bottom routing layer: the vias with an OR_DEFAULT property, or the first via on each routing layer when none has one.
| int odb::dbTech::getLayerCount | ( | ) | const |
Get the number of layers in this technology.
| dbSet< dbTechLayer > odb::dbTech::getLayers | ( | ) | const |
Get the technolgy layers. The layers are ordered from the bottom mask number to the top mask number.
| int odb::dbTech::getLefUnits | ( | ) | const |
Get the LEF units of this technology.
| double odb::dbTech::getLefVersion | ( | ) | const |
Get the LEF version in this technology as a number or as a string.
| std::string odb::dbTech::getLefVersionStr | ( | ) | const |
| int odb::dbTech::getManufacturingGrid | ( | ) | const |
| dbSet< dbMetalWidthViaMap > odb::dbTech::getMetalWidthViaMap | ( | ) | const |
| std::string odb::dbTech::getName | ( | ) | const |
Get the tech name.
| dbOnOffType odb::dbTech::getNamesCaseSensitive | ( | ) | const |
Get and set the NAMESCASESENSITIVE construct
| dbSet< dbTechNonDefaultRule > odb::dbTech::getNonDefaultRules | ( | ) | const |
Get the non-default rules
| dbOnOffType odb::dbTech::getNoWireExtAtPin | ( | ) | const |
| int odb::dbTech::getRoutingLayerCount | ( | ) | const |
Get the number of routing-layers in this technology.
| void odb::dbTech::getSameNetRules | ( | std::vector< dbTechSameNetRule * > & | rules | ) | const |
Get the same-net rules of this non-default rule.
|
static |
Translate a database-id back to a pointer.
| dbOnOffType odb::dbTech::getUseMinSpacingObs | ( | ) | const |
| dbOnOffType odb::dbTech::getUseMinSpacingPin | ( | ) | const |
| int odb::dbTech::getViaCount | ( | ) | const |
Get the number of vias in this technolgy.
| dbSet< dbTechViaGenerateRule > odb::dbTech::getViaGenerateRules | ( | ) | const |
| dbSet< dbTechViaRule > odb::dbTech::getViaRules | ( | ) | const |
| dbSet< dbTechVia > odb::dbTech::getVias | ( | ) | const |
Get the technolgy vias. This includes non-default-rule-vias.
| bool odb::dbTech::hasClearanceMeasure | ( | ) | const |
Handle LEF CLEARANCEMEASURE construct
| bool odb::dbTech::hasManufacturingGrid | ( | ) | const |
Handle MANUFACTURINGGRID construct NOTE: Assumes conversion to internal DB units, NOT microns or LEF/DEF units
| bool odb::dbTech::hasNoWireExtAtPin | ( | ) | const |
Get and set the NOWIREEXTENSIONATPIN construct
| bool odb::dbTech::hasUseMinSpacingObs | ( | ) | const |
Handle LEF USEMINSPACING for pins and obstruction separately.
| bool odb::dbTech::hasUseMinSpacingPin | ( | ) | const |
| void odb::dbTech::setClearanceMeasure | ( | dbClMeasureType | inmeas | ) |
| void odb::dbTech::setLefUnits | ( | int | units | ) |
Set the LEF units of this technology.
| void odb::dbTech::setLefVersion | ( | double | inver | ) |
Set the LEF version of this technology, in both number and string form.
| void odb::dbTech::setManufacturingGrid | ( | int | ingrd | ) |
| void odb::dbTech::setNamesCaseSensitive | ( | dbOnOffType | intyp | ) |
| void odb::dbTech::setNoWireExtAtPin | ( | dbOnOffType | intyp | ) |
| void odb::dbTech::setUseMinSpacingObs | ( | dbOnOffType | inval | ) |
| void odb::dbTech::setUseMinSpacingPin | ( | dbOnOffType | inval | ) |