OpenROAD's Doxygen Pages
Compilation of detailed documentation for OpenROAD modules
Loading...
Searching...
No Matches
odb::dbTech Class Reference

#include <db.h>

Inheritance diagram for odb::dbTech:
Collaboration diagram for odb::dbTech:

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)

Detailed Description

A Tech is the element that represents technology specific data.

Definition at line 5996 of file db.h.

Member Function Documentation

◆ checkLayer()

void odb::dbTech::checkLayer ( bool typeChk,
bool widthChk,
bool pitchChk,
bool spacingChk ) const

◆ create()

dbTech * odb::dbTech::create ( dbDatabase * db,
const char * name )
static

Create a new technology. Returns nullptr if a database technology already exists

◆ destroy()

void odb::dbTech::destroy ( dbTech * tech)
static

Destroy a technology. TODO: Define what happens to the libs and the chip.

◆ findLayer() [1/2]

dbTechLayer * odb::dbTech::findLayer ( const char * name) const

Find the technology layer. Returns nullptr if the object was not found.

◆ findLayer() [2/2]

dbTechLayer * odb::dbTech::findLayer ( int layer_number) const

Find the technology layer. Returns nullptr if the object was not found.

◆ findNonDefaultRule()

dbTechNonDefaultRule * odb::dbTech::findNonDefaultRule ( const char * rulename) const

Find a specific rule

◆ findRoutingLayer()

dbTechLayer * odb::dbTech::findRoutingLayer ( int level_number) const

Find the technology routing layer. Returns nullptr if the object was not found.

◆ findSameNetRule()

dbTechSameNetRule * odb::dbTech::findSameNetRule ( dbTechLayer * l1,
dbTechLayer * l2 ) const

Find a specific rule Returns nullptr if no rule exists.

◆ findVia()

dbTechVia * odb::dbTech::findVia ( const char * name) const

Find the technology via. Returns nullptr if the object was not found.

◆ findViaGenerateRule()

dbTechViaGenerateRule * odb::dbTech::findViaGenerateRule ( const char * name) const

◆ findViaRule()

dbTechViaRule * odb::dbTech::findViaRule ( const char * name) const

◆ firstBacksideRoutingLayer()

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.

◆ firstFrontsideRoutingLayer()

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.

◆ getCellEdgeSpacingTable()

dbSet< dbCellEdgeSpacing > odb::dbTech::getCellEdgeSpacingTable ( ) const

Get the LEF58_CELLEDGESPACINGTABLE

◆ getClearanceMeasure()

dbClMeasureType odb::dbTech::getClearanceMeasure ( ) const

◆ getDbUnitsPerMicron()

int odb::dbTech::getDbUnitsPerMicron ( ) const

Get the Database units per micron.

◆ getDefaultVias()

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.

◆ getLayerCount()

int odb::dbTech::getLayerCount ( ) const

Get the number of layers in this technology.

◆ getLayers()

dbSet< dbTechLayer > odb::dbTech::getLayers ( ) const

Get the technolgy layers. The layers are ordered from the bottom mask number to the top mask number.

◆ getLefUnits()

int odb::dbTech::getLefUnits ( ) const

Get the LEF units of this technology.

◆ getLefVersion()

double odb::dbTech::getLefVersion ( ) const

Get the LEF version in this technology as a number or as a string.

◆ getLefVersionStr()

std::string odb::dbTech::getLefVersionStr ( ) const

◆ getManufacturingGrid()

int odb::dbTech::getManufacturingGrid ( ) const

◆ getMetalWidthViaMap()

dbSet< dbMetalWidthViaMap > odb::dbTech::getMetalWidthViaMap ( ) const

◆ getName()

std::string odb::dbTech::getName ( ) const

Get the tech name.

◆ getNamesCaseSensitive()

dbOnOffType odb::dbTech::getNamesCaseSensitive ( ) const

Get and set the NAMESCASESENSITIVE construct

◆ getNonDefaultRules()

dbSet< dbTechNonDefaultRule > odb::dbTech::getNonDefaultRules ( ) const

Get the non-default rules

◆ getNoWireExtAtPin()

dbOnOffType odb::dbTech::getNoWireExtAtPin ( ) const

◆ getRoutingLayerCount()

int odb::dbTech::getRoutingLayerCount ( ) const

Get the number of routing-layers in this technology.

◆ getSameNetRules()

void odb::dbTech::getSameNetRules ( std::vector< dbTechSameNetRule * > & rules) const

Get the same-net rules of this non-default rule.

◆ getTech()

dbTech * odb::dbTech::getTech ( dbDatabase * db,
uint32_t oid )
static

Translate a database-id back to a pointer.

◆ getUseMinSpacingObs()

dbOnOffType odb::dbTech::getUseMinSpacingObs ( ) const

◆ getUseMinSpacingPin()

dbOnOffType odb::dbTech::getUseMinSpacingPin ( ) const

◆ getViaCount()

int odb::dbTech::getViaCount ( ) const

Get the number of vias in this technolgy.

◆ getViaGenerateRules()

dbSet< dbTechViaGenerateRule > odb::dbTech::getViaGenerateRules ( ) const

◆ getViaRules()

dbSet< dbTechViaRule > odb::dbTech::getViaRules ( ) const

◆ getVias()

dbSet< dbTechVia > odb::dbTech::getVias ( ) const

Get the technolgy vias. This includes non-default-rule-vias.

◆ hasClearanceMeasure()

bool odb::dbTech::hasClearanceMeasure ( ) const

Handle LEF CLEARANCEMEASURE construct

◆ hasManufacturingGrid()

bool odb::dbTech::hasManufacturingGrid ( ) const

Handle MANUFACTURINGGRID construct NOTE: Assumes conversion to internal DB units, NOT microns or LEF/DEF units

◆ hasNoWireExtAtPin()

bool odb::dbTech::hasNoWireExtAtPin ( ) const

Get and set the NOWIREEXTENSIONATPIN construct

◆ hasUseMinSpacingObs()

bool odb::dbTech::hasUseMinSpacingObs ( ) const

Handle LEF USEMINSPACING for pins and obstruction separately.

◆ hasUseMinSpacingPin()

bool odb::dbTech::hasUseMinSpacingPin ( ) const

◆ setClearanceMeasure()

void odb::dbTech::setClearanceMeasure ( dbClMeasureType inmeas)

◆ setLefUnits()

void odb::dbTech::setLefUnits ( int units)

Set the LEF units of this technology.

◆ setLefVersion()

void odb::dbTech::setLefVersion ( double inver)

Set the LEF version of this technology, in both number and string form.

◆ setManufacturingGrid()

void odb::dbTech::setManufacturingGrid ( int ingrd)

◆ setNamesCaseSensitive()

void odb::dbTech::setNamesCaseSensitive ( dbOnOffType intyp)

◆ setNoWireExtAtPin()

void odb::dbTech::setNoWireExtAtPin ( dbOnOffType intyp)

◆ setUseMinSpacingObs()

void odb::dbTech::setUseMinSpacingObs ( dbOnOffType inval)

◆ setUseMinSpacingPin()

void odb::dbTech::setUseMinSpacingPin ( dbOnOffType inval)

The documentation for this class was generated from the following file:
  • openroad/odb/include/odb/db.h