Routing net.
More...
#include <RoutingNet.hpp>
Routing net.
Definition at line 30 of file RoutingNet.hpp.
Constructor.
- Parameters
-
Definition at line 50 of file RoutingNet.hpp.
50 :
Named(snet->getName()) {
51 pathCounts.resize(snet->getSourceCount() + snet->getSinkCount(),0);
Named(const string &inName)
Constructor which must specify the object name.
std::vector< size_t > pathCounts
combinational path count
NetSharedPtr superNet
The original net.
const string& torc::physical::Named::getName |
( |
void |
| ) |
const |
|
inlineinherited |
Returns the object name.
Definition at line 51 of file Named.hpp.
string mName
The name of the object.
size_t torc::physical::RoutingNet::getPathCount |
( |
size_t |
index | ) |
|
|
inline |
Returns path count for pin index.
Definition at line 67 of file RoutingNet.hpp.
std::vector< size_t > pathCounts
combinational path count
Returns path count for pin.
Definition at line 78 of file RoutingNet.hpp.
InstancePinSharedPtrVector::iterator InstancePinSharedPtrIterator
Non-constant iterator to InstancePin shared pointer objects.
NetSharedPtr superNet
The original net.
size_t getPathCount(size_t index)
Returns path count for pin index.
NetSharedPtr torc::physical::RoutingNet::getSuperNet |
( |
void |
| ) |
|
|
inline |
Returns net supernet.
Definition at line 57 of file RoutingNet.hpp.
NetSharedPtr superNet
The original net.
bool torc::physical::Named::operator== |
( |
const Named & |
rhs | ) |
const |
|
inlineinherited |
Equality operator.
Definition at line 54 of file Named.hpp.
54 {
return mName == rhs.mName; }
string mName
The name of the object.
bool torc::physical::RoutingNet::operator== |
( |
const RoutingNet & |
rhs | ) |
const |
|
inline |
Equality operator.
This function deems nets equal if their names are identical.
- Parameters
-
rhs | The net to compare against. |
- Returns
- true if both net names are identical, or false otherwise.
Definition at line 127 of file RoutingNet.hpp.
127 {
return getName() == rhs.getName(); }
const string & getName(void) const
Returns the object name.
bool torc::physical::RoutingNet::setPathCount |
( |
size_t |
index, |
|
|
size_t |
pCount |
|
) |
| |
|
inline |
Sets path count for pin index.
Definition at line 72 of file RoutingNet.hpp.
std::vector< size_t > pathCounts
combinational path count
Sets path count for pin.
Definition at line 101 of file RoutingNet.hpp.
InstancePinSharedPtrVector::iterator InstancePinSharedPtrIterator
Non-constant iterator to InstancePin shared pointer objects.
bool setPathCount(size_t index, size_t pCount)
Sets path count for pin index.
NetSharedPtr superNet
The original net.
Sets super net.
Definition at line 62 of file RoutingNet.hpp.
NetSharedPtr superNet
The original net.
string torc::physical::Named::mName |
|
protectedinherited |
The name of the object.
Definition at line 43 of file Named.hpp.
std::vector<size_t> torc::physical::RoutingNet::pathCounts |
|
protected |
The documentation for this class was generated from the following file: