torc::architecture::WireInfo Class Reference

Encapsulation of a wire within a tile type. More...

#include <WireInfo.hpp>

Collaboration diagram for torc::architecture::WireInfo:

Collaboration graph
[legend]

List of all members.

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.
 ~WireInfo (void)
 Non-virtual destructor.
const uint16_t getArcOffset (void) const
 Returns this wire's offset into the arc usage bitset.
const WireFlags getFlags (void) const
 Returns the attribute flags for this wire.
const char * getName (void) const
 Returns the name for this wire.
const WireArraygetTiedSinks (void) const
 Returns the tied sink array for this wire.
const WireArraygetTiedSources (void) const
 Returns the tied source array for this wire.
const WireArraygetSinks (void) const
 Returns the sink array for this wire.
const WireArraygetSources (void) const
 Returns the source array for this wire.
const WireArraygetIrregularSinks (void) const
 Returns the irregular sink array for this wire.
const WireArraygetIrregularSources (void) const
 Returns the irregular source array for this wire.
const WireArraygetRoutethroughSinks (void) const
 Returns the routethrough sink array for this wire.
const WireArraygetRoutethroughSources (void) const
 Returns the routethrough source array for this wire.
bool isHidden (void) const
 Returns true if the wire is hidden in traces.
bool isInput (void) const
 Returns true if the wire is a logic input.
bool isOutput (void) const
 Returns true if the wire is a logic output.
bool isRemote (void) const
 Returns true if the wire is a remote wire.
bool isGlobal (void) const
 Returns true if the wire is a global wire (a what!?).
bool isRemoteNodeCapable (void) const
 Returns true if the wire may be referenced by a remote wire.
bool isRemoteArcCapable (void) const
 Returns true if the wire may be referenced by a remote arc.

Static Public Member Functions

static bool isHidden (WireFlags inWireFlags)
 Returns true if the wire is hidden in traces.
static bool isInput (WireFlags inWireFlags)
 Returns true if the wire is a logic input.
static bool isOutput (WireFlags inWireFlags)
 Returns true if the wire is a logic output.
static bool isRemote (WireFlags inWireFlags)
 Returns true if the wire is a remote wire.
static bool isGlobal (WireFlags inWireFlags)
 Returns true if the wire is a global wire (a what!?).
static bool isRemoteNodeCapable (WireFlags inWireFlags)
 Returns true if the wire may be referenced by a remote wire.
static bool isRemoteArcCapable (WireFlags inWireFlags)
 Returns true if the wire may be referenced by a remote arc.

Protected Types

typedef boost::uint16_t uint16_t
 Imported type name.
typedef xilinx::WireFlags WireFlags
 Imported type name.

Protected Member Functions

 WireInfo (uint16_t inOffset, WireFlags inFlags, const char *inName)
 Protected constructor.
 WireInfo (const WireInfo &)
 Disabled copy constructor.

Protected Attributes

uint16_t mArcOffset
 This wire's offset into the arc usage bitset.
WireFlags mFlags
 The attribute flags for this wire.
const char * mName
 The name for this wire.
WireArray mTiedSinks
 The tied sink array for this wire.
WireArray mTiedSources
 The tied source array for this wire.
WireArray mSinks
 The sink array for this wire.
WireArray mSources
 The source array for this wire.
WireArray mIrregularSinks
 The irregular sink array for this wire.
WireArray mIrregularSources
 The irregular source array for this wire.
WireArray mRoutethroughSinks
 The routethrough sink array for this wire.
WireArray mRoutethroughSources
 The routethrough source array for this wire.

Friends

class Tiles
 The Tiles class has access to our protected members.


Detailed Description

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.


Member Typedef Documentation

typedef boost::uint16_t torc::architecture::WireInfo::uint16_t [protected]

Imported type name.

Definition at line 43 of file WireInfo.hpp.

Imported type name.

Definition at line 45 of file WireInfo.hpp.


Member Enumeration Documentation

Enumeration of wire attribute flags.

Definition at line 85 of file WireInfo.hpp.


Constructor & Destructor Documentation

torc::architecture::WireInfo::WireInfo ( uint16_t  inOffset,
WireFlags  inFlags,
const char *  inName 
) [inline, protected]

Protected constructor.

Definition at line 71 of file WireInfo.hpp.

torc::architecture::WireInfo::WireInfo ( const WireInfo  )  [inline, protected]

Disabled copy constructor.

Definition at line 79 of file WireInfo.hpp.

torc::architecture::WireInfo::WireInfo ( void   )  [inline]

Null constructor.

Definition at line 92 of file WireInfo.hpp.

torc::architecture::WireInfo::~WireInfo ( void   )  [inline]

Non-virtual destructor.

Definition at line 96 of file WireInfo.hpp.


Member Function Documentation

const uint16_t torc::architecture::WireInfo::getArcOffset ( void   )  const [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.

const WireFlags torc::architecture::WireInfo::getFlags ( void   )  const [inline]

Returns the attribute flags for this wire.

Definition at line 107 of file WireInfo.hpp.

const char* torc::architecture::WireInfo::getName ( void   )  const [inline]

Returns the name for this wire.

Definition at line 109 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getTiedSinks ( void   )  const [inline]

Returns the tied sink array for this wire.

Definition at line 111 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getTiedSources ( void   )  const [inline]

Returns the tied source array for this wire.

Definition at line 113 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getSinks ( void   )  const [inline]

Returns the sink array for this wire.

Definition at line 115 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getSources ( void   )  const [inline]

Returns the source array for this wire.

Definition at line 117 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getIrregularSinks ( void   )  const [inline]

Returns the irregular sink array for this wire.

Definition at line 119 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getIrregularSources ( void   )  const [inline]

Returns the irregular source array for this wire.

Definition at line 121 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getRoutethroughSinks ( void   )  const [inline]

Returns the routethrough sink array for this wire.

Definition at line 123 of file WireInfo.hpp.

const WireArray& torc::architecture::WireInfo::getRoutethroughSources ( void   )  const [inline]

Returns the routethrough source array for this wire.

Definition at line 125 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isHidden ( void   )  const [inline]

Returns true if the wire is hidden in traces.

Definition at line 128 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isInput ( void   )  const [inline]

Returns true if the wire is a logic input.

Definition at line 130 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isOutput ( void   )  const [inline]

Returns true if the wire is a logic output.

Definition at line 132 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isRemote ( void   )  const [inline]

Returns true if the wire is a remote wire.

Definition at line 134 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isGlobal ( void   )  const [inline]

Returns true if the wire is a global wire (a what!?).

Definition at line 136 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isRemoteNodeCapable ( void   )  const [inline]

Returns true if the wire may be referenced by a remote wire.

Definition at line 138 of file WireInfo.hpp.

bool torc::architecture::WireInfo::isRemoteArcCapable ( void   )  const [inline]

Returns true if the wire may be referenced by a remote arc.

Definition at line 140 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isHidden ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire is hidden in traces.

Definition at line 143 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isInput ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire is a logic input.

Definition at line 146 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isOutput ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire is a logic output.

Definition at line 149 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isRemote ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire is a remote wire.

Definition at line 152 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isGlobal ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire is a global wire (a what!?).

Definition at line 155 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isRemoteNodeCapable ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire may be referenced by a remote wire.

Definition at line 158 of file WireInfo.hpp.

static bool torc::architecture::WireInfo::isRemoteArcCapable ( WireFlags  inWireFlags  )  [inline, static]

Returns true if the wire may be referenced by a remote arc.

Definition at line 161 of file WireInfo.hpp.


Friends And Related Function Documentation

friend class Tiles [friend]

The Tiles class has access to our protected members.

Definition at line 39 of file WireInfo.hpp.


Member Data Documentation

This wire's offset into the arc usage bitset.

Definition at line 48 of file WireInfo.hpp.

The attribute flags for this wire.

Definition at line 50 of file WireInfo.hpp.

const char* torc::architecture::WireInfo::mName [protected]

The name for this wire.

Definition at line 52 of file WireInfo.hpp.

The tied sink array for this wire.

Definition at line 54 of file WireInfo.hpp.

The tied source array for this wire.

Definition at line 56 of file WireInfo.hpp.

The sink array for this wire.

Definition at line 58 of file WireInfo.hpp.

The source array for this wire.

Definition at line 60 of file WireInfo.hpp.

The irregular sink array for this wire.

Definition at line 62 of file WireInfo.hpp.

The irregular source array for this wire.

Definition at line 64 of file WireInfo.hpp.

The routethrough sink array for this wire.

Definition at line 66 of file WireInfo.hpp.

The routethrough source array for this wire.

Definition at line 68 of file WireInfo.hpp.


The documentation for this class was generated from the following file:

Generated on Thu Oct 13 16:49:37 2011 for TORC by  doxygen 1.5.6