torc-master
|
Encapsulation of a wire within a tile type. More...
#include <WireInfo.hpp>
Public Types | |
enum | EWireFlag { eWireFlagNone = 0, eWireFlagHidden = 1, eWireFlagInput = 2, eWireFlagOutput = 4, eWireFlagRemote = 8, eWireFlagGlobal = 16, eWireFlagRemoteNodeCapable = 64, eWireFlagRemoteArcCapable = 128 } |
Enumeration of wire attribute flags. More... | |
Public Member Functions | |
WireInfo (void) | |
Null constructor. More... | |
~WireInfo (void) | |
Non-virtual destructor. More... | |
const uint16_t | getArcOffset (void) const |
Returns this wire's offset into the arc usage bitset. More... | |
const WireFlags | getFlags (void) const |
Returns the attribute flags for this wire. More... | |
const char * | getName (void) const |
Returns the name for this wire. More... | |
const WireArray & | getTiedSinks (void) const |
Returns the tied sink array for this wire. More... | |
const WireArray & | getTiedSources (void) const |
Returns the tied source array for this wire. More... | |
const WireArray & | getSinks (void) const |
Returns the sink array for this wire. More... | |
const WireArray & | getSources (void) const |
Returns the source array for this wire. More... | |
const WireArray & | getIrregularSinks (void) const |
Returns the irregular sink array for this wire. More... | |
const WireArray & | getIrregularSources (void) const |
Returns the irregular source array for this wire. More... | |
const WireArray & | getRoutethroughSinks (void) const |
Returns the routethrough sink array for this wire. More... | |
const WireArray & | getRoutethroughSources (void) const |
Returns the routethrough source array for this wire. More... | |
bool | isHidden (void) const |
Returns true if the wire is hidden in traces. More... | |
bool | isInput (void) const |
Returns true if the wire is a logic input. More... | |
bool | isOutput (void) const |
Returns true if the wire is a logic output. More... | |
bool | isRemote (void) const |
Returns true if the wire is a remote wire. More... | |
bool | isGlobal (void) const |
Returns true if the wire is a global wire (a what!?). More... | |
bool | isRemoteNodeCapable (void) const |
Returns true if the wire may be referenced by a remote wire. More... | |
bool | isRemoteArcCapable (void) const |
Returns true if the wire may be referenced by a remote arc. More... | |
bool | hasSinks (void) const |
Returns true if the wire has any sinks. More... | |
bool | hasSources (void) const |
Returns true if the wire has any sources. More... | |
Static Public Member Functions | |
static bool | isHidden (WireFlags inWireFlags) |
Returns true if the wire is hidden in traces. More... | |
static bool | isInput (WireFlags inWireFlags) |
Returns true if the wire is a logic input. More... | |
static bool | isOutput (WireFlags inWireFlags) |
Returns true if the wire is a logic output. More... | |
static bool | isRemote (WireFlags inWireFlags) |
Returns true if the wire is a remote wire. More... | |
static bool | isGlobal (WireFlags inWireFlags) |
Returns true if the wire is a global wire (a what!?). More... | |
static bool | isRemoteNodeCapable (WireFlags inWireFlags) |
Returns true if the wire may be referenced by a remote wire. More... | |
static bool | isRemoteArcCapable (WireFlags inWireFlags) |
Returns true if the wire may be referenced by a remote arc. More... | |
Protected Types | |
typedef boost::uint16_t | uint16_t |
Imported type name. More... | |
typedef xilinx::WireFlags | WireFlags |
Imported type name. More... | |
Protected Member Functions | |
WireInfo (uint16_t inOffset, WireFlags inFlags, const char *inName) | |
Protected constructor. More... | |
WireInfo (const WireInfo &) | |
Disabled copy constructor. More... | |
Protected Attributes | |
uint16_t | mArcOffset |
This wire's offset into the arc usage bitset. More... | |
WireFlags | mFlags |
The attribute flags for this wire. More... | |
const char * | mName |
The name for this wire. More... | |
WireArray | mTiedSinks |
The tied sink array for this wire. More... | |
WireArray | mTiedSources |
The tied source array for this wire. More... | |
WireArray | mSinks |
The sink array for this wire. More... | |
WireArray | mSources |
The source array for this wire. More... | |
WireArray | mIrregularSinks |
The irregular sink array for this wire. More... | |
WireArray | mIrregularSources |
The irregular source array for this wire. More... | |
WireArray | mRoutethroughSinks |
The routethrough sink array for this wire. More... | |
WireArray | mRoutethroughSources |
The routethrough source array for this wire. More... | |
Friends | |
class | Tiles |
The Tiles class has access to our protected members. More... | |
Encapsulation of a wire within a tile type.
The wire information includes the wire name, attribute flags, and arrays of all tied, regular, and irregular sources and sinks.
Definition at line 36 of file WireInfo.hpp.
|
protected |
Imported type name.
Definition at line 43 of file WireInfo.hpp.
|
protected |
Imported type name.
Definition at line 45 of file WireInfo.hpp.
Enumeration of wire attribute flags.
Enumerator | |
---|---|
eWireFlagNone | |
eWireFlagHidden | |
eWireFlagInput | |
eWireFlagOutput | |
eWireFlagRemote | |
eWireFlagGlobal | |
eWireFlagRemoteNodeCapable | |
eWireFlagRemoteArcCapable |
Definition at line 85 of file WireInfo.hpp.
|
inlineprotected |
Protected constructor.
Definition at line 71 of file WireInfo.hpp.
|
inlineprotected |
Disabled copy constructor.
Definition at line 79 of file WireInfo.hpp.
|
inline |
Null constructor.
Definition at line 92 of file WireInfo.hpp.
|
inline |
Non-virtual destructor.
Definition at line 96 of file WireInfo.hpp.
|
inline |
Returns this wire's offset into the arc usage bitset.
Every wire in a tile type has a wire index, as well as zero or more arcs. The offset for this wire is the total number of arcs for all wires seen so far (i.e. wires of lower index).
Definition at line 105 of file WireInfo.hpp.
|
inline |
Returns the attribute flags for this wire.
Definition at line 107 of file WireInfo.hpp.
|
inline |
Returns the irregular sink array for this wire.
Definition at line 119 of file WireInfo.hpp.
|
inline |
Returns the irregular source array for this wire.
Definition at line 121 of file WireInfo.hpp.
|
inline |
Returns the name for this wire.
Definition at line 109 of file WireInfo.hpp.
|
inline |
Returns the routethrough sink array for this wire.
Definition at line 123 of file WireInfo.hpp.
|
inline |
Returns the routethrough source array for this wire.
Definition at line 125 of file WireInfo.hpp.
|
inline |
Returns the sink array for this wire.
Definition at line 115 of file WireInfo.hpp.
|
inline |
Returns the source array for this wire.
Definition at line 117 of file WireInfo.hpp.
|
inline |
Returns the tied sink array for this wire.
Definition at line 111 of file WireInfo.hpp.
|
inline |
Returns the tied source array for this wire.
Definition at line 113 of file WireInfo.hpp.
|
inline |
Returns true if the wire has any sinks.
Definition at line 142 of file WireInfo.hpp.
|
inline |
Returns true if the wire has any sources.
Definition at line 145 of file WireInfo.hpp.
|
inline |
Returns true if the wire is a global wire (a what!?).
Definition at line 136 of file WireInfo.hpp.
|
inlinestatic |
|
inline |
Returns true if the wire is hidden in traces.
Definition at line 128 of file WireInfo.hpp.
|
inlinestatic |
|
inline |
Returns true if the wire is a logic input.
Definition at line 130 of file WireInfo.hpp.
|
inlinestatic |
|
inline |
Returns true if the wire is a logic output.
Definition at line 132 of file WireInfo.hpp.
|
inlinestatic |
|
inline |
Returns true if the wire is a remote wire.
Definition at line 134 of file WireInfo.hpp.
|
inlinestatic |
|
inline |
Returns true if the wire may be referenced by a remote arc.
Definition at line 140 of file WireInfo.hpp.
|
inlinestatic |
Returns true if the wire may be referenced by a remote arc.
Definition at line 167 of file WireInfo.hpp.
|
inline |
Returns true if the wire may be referenced by a remote wire.
Definition at line 138 of file WireInfo.hpp.
|
inlinestatic |
Returns true if the wire may be referenced by a remote wire.
Definition at line 164 of file WireInfo.hpp.
|
friend |
The Tiles class has access to our protected members.
Definition at line 39 of file WireInfo.hpp.
|
protected |
This wire's offset into the arc usage bitset.
Definition at line 48 of file WireInfo.hpp.
|
protected |
The attribute flags for this wire.
Definition at line 50 of file WireInfo.hpp.
|
protected |
The irregular sink array for this wire.
Definition at line 62 of file WireInfo.hpp.
|
protected |
The irregular source array for this wire.
Definition at line 64 of file WireInfo.hpp.
|
protected |
The name for this wire.
Definition at line 52 of file WireInfo.hpp.
|
protected |
The routethrough sink array for this wire.
Definition at line 66 of file WireInfo.hpp.
|
protected |
The routethrough source array for this wire.
Definition at line 68 of file WireInfo.hpp.
|
protected |
The sink array for this wire.
Definition at line 58 of file WireInfo.hpp.
|
protected |
The source array for this wire.
Definition at line 60 of file WireInfo.hpp.
|
protected |
The tied sink array for this wire.
Definition at line 54 of file WireInfo.hpp.
|
protected |
The tied source array for this wire.
Definition at line 56 of file WireInfo.hpp.