Net description (API)
More...
Net description (API)
Predefined filters
◆ Inherit
Useful for calling upon methods of the base class without knowing it.
◆ Arity
This type allows to represent the number of bits associated to a net (a null value meaning undefined).
◆ create()
Net * Hurricane::Net::create |
( |
Cell * |
cell, |
|
|
const Name & |
name |
|
) |
| |
|
static |
Creates and returns a new net named <name>
for the cell <cell>
.
- Caution: Throws an exception if the cell is null, if the name empty or
- if a net with same name already exists.
◆ getName()
const Name & Hurricane::Net::getName |
( |
| ) |
const |
|
inline |
◆ getArity()
const Net::Arity & Hurricane::Net::getArity |
( |
| ) |
const |
|
inline |
Returns: the signal arity (by default set to 1).
◆ getType()
const Net::Type & Hurricane::Net::getType |
( |
| ) |
const |
|
inline |
Returns: the signal type (by default set to UNDEFINED).
◆ getDirection()
Returns: the signal direction (by default set to UNDEFINED).
◆ getPosition()
const Point & Hurricane::Net::getPosition |
( |
| ) |
const |
|
inline |
Returns: the X,Y position of the net. This position is used for computing the location of the plugs (on slave instances calling the cell owning this net) having that net as master.
◆ getX()
const Unit & Hurricane::Net::getX |
( |
| ) |
const |
|
inline |
◆ getY()
const Unit & Hurricane::Net::getY |
( |
| ) |
const |
|
inline |
◆ getComponents()
Components Hurricane::Net::getComponents |
( |
| ) |
const |
|
inline |
Returns: the collection of net's components.
◆ getRubbers()
Rubbers Hurricane::Net::getRubbers |
( |
| ) |
const |
|
inline |
Returns: the collection of net's rubbers.
◆ getRoutingPads()
RoutingPads Hurricane::Net::getRoutingPads |
( |
| ) |
const |
Returns: the collection of net's RoutingPads.
◆ getPlugs()
Plugs Hurricane::Net::getPlugs |
( |
| ) |
const |
Returns: the collection of net's plugs.
◆ getContacts()
Contacts Hurricane::Net::getContacts |
( |
| ) |
const |
Returns: the collection of net's contacts.
◆ getSegments()
Segments Hurricane::Net::getSegments |
( |
| ) |
const |
Returns: the collection of net's segments.
◆ getVerticals()
Verticals Hurricane::Net::getVerticals |
( |
| ) |
const |
Returns: the collection of net's vertical segments.
◆ getHorizontals()
Returns: the collection of net's horizontal segments.
◆ getPads()
Pads Hurricane::Net::getPads |
( |
| ) |
const |
Returns: the collection of net's pads.
◆ getSlavePlugs()
Plugs Hurricane::Net::getSlavePlugs |
( |
| ) |
const |
Returns: the collection of plugs which have this net as master.
◆ getConnectedSlavePlugs()
Plugs Hurricane::Net::getConnectedSlavePlugs |
( |
| ) |
const |
Returns: the collection of connected plugs which have this net as master.
◆ getUnconnectedSlavePlugs()
Plugs Hurricane::Net::getUnconnectedSlavePlugs |
( |
| ) |
const |
Returns: the collection of unconnected plugs which have this net as master.
◆ getIsGlobalFilter()
NetFilter Hurricane::Net::getIsGlobalFilter |
( |
| ) |
|
|
static |
Returns: the filter selecting global nets.
◆ getIsExternalFilter()
NetFilter Hurricane::Net::getIsExternalFilter |
( |
| ) |
|
|
static |
Returns: the filter selecting external nets.
◆ getIsInternalFilter()
NetFilter Hurricane::Net::getIsInternalFilter |
( |
| ) |
|
|
static |
Returns: the filter selecting internal nets.
◆ getIsClockFilter()
NetFilter Hurricane::Net::getIsClockFilter |
( |
| ) |
|
|
static |
Returns: the filter selecting clock nets.
◆ getIsSupplyFilter()
NetFilter Hurricane::Net::getIsSupplyFilter |
( |
| ) |
|
|
static |
Returns: the filter selecting supply nets.
◆ isGlobal()
bool Hurricane::Net::isGlobal |
( |
| ) |
const |
|
inline |
Returns: true if the net is global else false.
◆ isExternal()
bool Hurricane::Net::isExternal |
( |
| ) |
const |
|
inline |
Returns: true if the net is external else false.
◆ isLogical()
bool Hurricane::Net::isLogical |
( |
| ) |
const |
|
inline |
◆ isClock()
bool Hurricane::Net::isClock |
( |
| ) |
const |
|
inline |
◆ isSupply()
bool Hurricane::Net::isSupply |
( |
| ) |
const |
|
inline |
Returns: true if the net is a supply else false.
◆ setName()
void Hurricane::Net::setName |
( |
Name |
name | ) |
|
Allows to change net name.
◆ setArity()
void Hurricane::Net::setArity |
( |
const Arity & |
arity | ) |
|
Sets the signal arity to <arity>
.
◆ setGlobal()
void Hurricane::Net::setGlobal |
( |
bool |
state | ) |
|
Sets global signal status to <state>
.
◆ setExternal()
void Hurricane::Net::setExternal |
( |
bool |
state | ) |
|
Sets the external net status to <state>
.
◆ setType()
void Hurricane::Net::setType |
( |
const Type & |
type | ) |
|
Sets the signal type of the net.
◆ setDirection()
void Hurricane::Net::setDirection |
( |
const Direction & |
direction | ) |
|
Sets the signal direction of the net.
◆ setPosition()
void Hurricane::Net::setPosition |
( |
const Point & |
position | ) |
|
Sets the X,Y location of the net. By default it is located at the coordinates origin of the cell (point 0,0).
◆ materialize()
void Hurricane::Net::materialize |
( |
| ) |
|
Materializes all the rubbers and components of a net.
◆ unmaterialize()
void Hurricane::Net::unmaterialize |
( |
| ) |
|
De-materializes all rubbers and the components of a net.
◆ merge()
void Hurricane::Net::merge |
( |
Net * |
net | ) |
|
Merges the net <net>
to the net <this>
which keeps its characteristics (arity, global, external and direction).
- Caution: An exception is thrown if the
<net>
is null or equal to <this>
, if the two nets don't belong to the same cell or if <net>
is external and master net of a connected plug while net <this>
is not external.
◆ getClone()
Net * Hurricane::Net::getClone |
( |
Cell * |
cloneCell | ) |
|
Build a duplicate of net (
<this>) inside a cloned Cell
<cloneCell>. The connectivity (Plug) or components of the original net are not copied.
The documentation for this class was generated from the following files: