torc-master
|
Encapsulation of a device tile and wire pair. More...
#include <Tilewire.hpp>
Public Member Functions | |
Tilewire (void) | |
Null constructor. More... | |
Tilewire (const TileIndex &inTileIndex, const WireIndex &inWireIndex) | |
Public constructor. More... | |
Tilewire (const Tilewire &inTilewire) | |
Copy constructor. More... | |
const TileIndex & | getTileIndex (void) const |
Returns the tile index. More... | |
const WireIndex & | getWireIndex (void) const |
Returns the wire index. More... | |
void | setTileIndex (const TileIndex &inTileIndex) |
Sets the tile index. More... | |
void | setWireIndex (const WireIndex &inWireIndex) |
Sets the wire index. More... | |
bool | operator== (const Tilewire &rhs) const |
Equality operator. More... | |
const Tilewire & | operator= (const Tilewire &rhs) |
Assignment operator. More... | |
bool | operator< (const Tilewire &rhs) const |
Comparison operator. More... | |
bool | isUndefined (void) const |
Static Public Attributes | |
static const Tilewire | sInvalid = Tilewire(TileIndex(-1), WireIndex(-1)) |
Protected Types | |
typedef xilinx::TileIndex | TileIndex |
Imported type name. More... | |
typedef xilinx::WireIndex | WireIndex |
Imported type name. More... | |
Protected Attributes | |
TileIndex | mTileIndex |
The tile index. More... | |
WireIndex | mWireIndex |
The wire index. More... | |
Friends | |
std::size_t | hash_value (const Tilewire &inTilewire) |
Return a hash value for the specified tilewire. More... | |
Encapsulation of a device tile and wire pair.
A tilewire uniquely identifies a physical wire in the device, as defined by its tile index and wire index. Tilewires are used extensively by the device database, and by the router and tracer classes.
Definition at line 39 of file Tilewire.hpp.
|
protected |
Imported type name.
Definition at line 43 of file Tilewire.hpp.
|
protected |
Imported type name.
Definition at line 45 of file Tilewire.hpp.
|
inline |
Null constructor.
The tilewire will be set to Tilewire::sInvalid.
Definition at line 55 of file Tilewire.hpp.
|
inline |
Public constructor.
Definition at line 57 of file Tilewire.hpp.
|
inline |
Copy constructor.
Definition at line 60 of file Tilewire.hpp.
|
inline |
Returns the tile index.
Definition at line 64 of file Tilewire.hpp.
|
inline |
Returns the wire index.
Definition at line 66 of file Tilewire.hpp.
|
inline |
Definition at line 86 of file Tilewire.hpp.
|
inline |
Comparison operator.
This operator facilitates ordering in containers.
Definition at line 80 of file Tilewire.hpp.
Assignment operator.
Definition at line 76 of file Tilewire.hpp.
|
inline |
Equality operator.
Definition at line 73 of file Tilewire.hpp.
|
inline |
Sets the tile index.
Definition at line 68 of file Tilewire.hpp.
|
inline |
Sets the wire index.
Definition at line 70 of file Tilewire.hpp.
|
friend |
Return a hash value for the specified tilewire.
Definition at line 27 of file Tilewire.cpp.
|
protected |
The tile index.
Definition at line 48 of file Tilewire.hpp.
|
protected |
The wire index.
Definition at line 50 of file Tilewire.hpp.
|
static |
Definition at line 93 of file Tilewire.hpp.