torc-master
|
Physical design programmable interconnect point. More...
#include <Pip.hpp>
Public Member Functions | |
const TileName & | getTileName (void) const |
Returns the pip tile. More... | |
const WireName & | getSourceWireName (void) const |
Returns the pip source wire. More... | |
const WireName & | getSinkWireName (void) const |
Returns the pip sink wire. More... | |
EPipDirection | getDirection (void) const |
Returns the pip directionality. More... | |
const char * | getDirectionString (void) const |
Returns the pip directionality as a string. More... | |
RoutethroughSharedPtr | getRoutethroughPtr (void) const |
Returns the pip's routethrough pointer. More... | |
bool | isRoutethrough (void) const |
Indicates whether or not the pip has an associated routethrough. More... | |
bool | operator== (const Pip &rhs) const |
Equality operator. More... | |
const WeakPtrType & | getParentWeakPtr (void) const |
Returns a weak pointer to the parent. More... | |
void | setParentWeakPtr (WeakPtrType inParentPtr) |
Sets the weak pointer to the parent. More... | |
void | resetParentWeakPtr (void) |
Method to reset and orphan this object. More... | |
const SharedPtrType & | getParentSharedPtr (void) const |
Returns a shared pointer to the parent (WARNING: Does not work right). More... | |
Static Public Member Functions | |
static const char * | getDirectionString (EPipDirection inPipDirection) |
Returns the pip directionality as a string. More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
typedef boost::weak_ptr< class Net > | WeakPtrType |
Weak pointer of our own type. More... | |
typedef boost::shared_ptr < class Net > | SharedPtrType |
Shared pointer of our own type. More... | |
Protected Member Functions | |
Pip (const string &inTileName, const string &inSourceWireName, const string &inSinkWireName, EPipDirection inPipDirection, RoutethroughSharedPtr inRoutethroughPtr) | |
Protected constructor. More... | |
Protected Attributes | |
TileName | mTileName |
The containing tile for this pip. More... | |
WireName | mSourceWireName |
The source wire for this pip. More... | |
WireName | mSinkWireName |
The sink wire for this pip. More... | |
EPipDirection | mDirection |
The connection directionality for this pip. See EPipDirection. More... | |
RoutethroughSharedPtr | mRoutethroughPtr |
The routethrough shared pointer. More... | |
WeakPtrType | mParentWeakPtr |
Weak pointer to the parent. More... | |
Static Protected Attributes | |
static const char * | sPipDirectionStrings [] |
String representation of pip directions. More... | |
Friends | |
class | Factory |
The Factory class has direct access to our internals. More... | |
Physical design programmable interconnect point.
This class represents a pip (programmable interconnect point) on a physical design
|
protectedinherited |
Shared pointer of our own type.
Definition at line 35 of file Progeny.hpp.
|
protected |
|
protectedinherited |
Weak pointer of our own type.
Definition at line 33 of file Progeny.hpp.
|
inlineprotected |
Protected constructor.
inTileName | The containing tile. |
inSourceWireName | The source wire. |
inSinkWireName | The sink wire. |
inPipDirection | The pip directionality. See EPipDirection. |
inRoutethroughPtr | The routethrough shared pointer. |
Definition at line 62 of file Pip.hpp.
|
inline |
Returns the pip directionality.
Definition at line 79 of file Pip.hpp.
|
static |
Returns the pip directionality as a string.
Definition at line 36 of file Pip.cpp.
const char * torc::physical::Pip::getDirectionString | ( | void | ) | const |
Returns the pip directionality as a string.
Definition at line 32 of file Pip.cpp.
|
inlineinherited |
Returns a shared pointer to the parent (WARNING: Does not work right).
Always seems to generate a "Returning reference to temporary" warning, and I cannot figure out why.
It is the caller's responsibility to reset the shared pointer when done.
Definition at line 59 of file Progeny.hpp.
|
inlineinherited |
Returns a weak pointer to the parent.
Definition at line 47 of file Progeny.hpp.
|
inline |
Returns the pip's routethrough pointer.
Definition at line 83 of file Pip.hpp.
|
inline |
Returns the pip sink wire.
Definition at line 77 of file Pip.hpp.
|
inline |
Returns the pip source wire.
Definition at line 75 of file Pip.hpp.
|
inline |
Returns the pip tile.
Definition at line 73 of file Pip.hpp.
|
inline |
Indicates whether or not the pip has an associated routethrough.
Definition at line 86 of file Pip.hpp.
|
inline |
Equality operator.
Definition at line 89 of file Pip.hpp.
|
inlineinherited |
Method to reset and orphan this object.
Definition at line 51 of file Progeny.hpp.
|
inlineinherited |
Sets the weak pointer to the parent.
Definition at line 49 of file Progeny.hpp.
|
friend |
|
protected |
|
protectedinherited |
Weak pointer to the parent.
Definition at line 38 of file Progeny.hpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |