An entry to store the Cell State in the Catalog. More...
Public Types | |
enum | Flags { , Feed = 1 << 1, Pad = 1 << 2, GDS = 1 << 3, Delete = 1 << 4, Logical = 1 << 5, Physical = 1 << 6, InMemory = 1 << 7 , Views = Physical|Logical } |
Public Member Functions | |
State () | |
~State () | |
bool | isFeed () const |
bool | isPad () const |
bool | isGds () const |
bool | isDelete () const |
bool | isPhysical () const |
bool | isLogical () const |
unsigned int | getFlags (unsigned int mask=(unsigned int) -1) const |
bool | setFlags (unsigned int mask, bool value) |
bool | setFeed (bool value) |
bool | setPad (bool value) |
bool | setGds (bool value) |
bool | setDelete (bool value) |
bool | setPhysical (bool value) |
bool | setLogical (bool value) |
Cell * | getCell () const |
Library * | getLibrary () const |
unsigned int | getDepth () const |
void | merge (const State &other) |
Cell * | setCell (Cell *cell) |
Library * | setLibrary (Library *library) |
An entry to store the Cell State in the Catalog.
Catalog::State can be accessed through the AllianceFramework global Catalog, or on a Cell basis, usign the CatalogExtension helper.
Flags to indicates Cell State (Alliance metadatas).
Enumerator | |
---|---|
Feed | The Hurricane::Cell is a feed cell. |
Pad | The Hurricane::Cell is a pad cell. |
GDS | The Hurricane::Cell has a real layout (i.e. not symbolic). |
Delete | The Hurricane::Cell has been deleted from memory. |
Logical | The Hurricane::Cell have a logical (netlist) view. |
Physical | The Hurricane::Cell have a physical (layout) view. |
InMemory | The Hurricane::Cell has been loaded, at least partially, in memory. |
Views | A composite flag to mask all the avalaible kinds of views. Currently, physical & logical. |
|
inline |
A new, empty, State entry.
CRL::Catalog::State::~State | ( | ) |
Free a Catalog::State object.
|
inline |
Returns: true if the Cell is a feed-through.
Referenced by CRL::CatalogExtension::isFeed().
|
inline |
Returns: true if the Cell is a pad.
Referenced by CRL::CatalogExtension::isPad().
|
inline |
Returns: true if the Cell is drawn in real layer (i.e. not a symbolic layout, but a GDS).
Referenced by CRL::CatalogExtension::isGds().
|
inline |
Returns: true if the Cell has been deleted from memory.
Referenced by CRL::CatalogExtension::isDelete().
|
inline |
Returns: true if the Cell posseses a physical view (layout).
Referenced by CRL::CatalogExtension::isPhysical().
|
inline |
Returns: true if the Cell posseses a logical view (netlist).
Referenced by CRL::CatalogExtension::isLogical().
|
inline |
Returns: the requested flags states (selected by mask
, all of them by default).
Referenced by CRL::CatalogExtension::getFlags().
|
inline |
Returns: true if at least one flag of the indicated by mask is set. (dubious usefulness).
mask
is used to designate the bits of the flags on which we are going to operate. If value
is true, then the bits are sets and if value
is false they are reset.
Referenced by CRL::CatalogExtension::setFlags().
|
inline |
Sets the Feed flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setFeed().
|
inline |
Sets the Pad flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setPad().
|
inline |
Sets the Gds flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setGds().
|
inline |
Sets the Delete flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setDelete().
|
inline |
Sets the Physical flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setPhysical().
|
inline |
Sets the Logical flag to value
. Returns true if it is set.
Referenced by CRL::CatalogExtension::setLogical().
|
inline |
Returns: the associated Hurricane::Cell. May be NULL if it has not been loaded yet (loading is done on demand at AllianceFramework level).
|
inline |
Returns: the associated Hurricane::Library.
Referenced by CRL::CatalogExtension::getLibrary().
|
inline |
Returns: the hierarchical depth of the Cell.
Referenced by CRL::CatalogExtension::getDepth().
|
inline |
Fill in the void fields of the current State by those from other
. The non-void are not overriden. Flags are merged unconditionnaly.
Hurricane::Cell * CRL::Catalog::State::setCell | ( | Hurricane::Cell * | cell | ) |
Sets the Cell field. Returns the newly affected Cell.
|
inline |
Sets the Library field. Returns the newly affected Library.
Referenced by CRL::CatalogExtension::setLibrary().
Generated by doxygen 1.8.14 on Sun Nov 21 2021 | Return to top of page |
Coriolis Core (CRL) | Copyright © 2008-2020 Sorbonne Universite, All rights reserved |