Tile map, tile type, and wire information for the family and device.
|
Public Member Functions |
| ~Tiles (void) |
| Non-virtual destructor.
|
const TileInfo & | getTileInfo (TileIndex inTileIndex) const |
| Returns the TileInfo object for the specified tile.
|
const Array< const WireInfo > & | getWireInfo (TileTypeIndex inTileTypeIndex) const |
| Returns the WireInfo array for the specified tile type.
|
const WireInfo & | getWireInfo (TileTypeIndex inTileTypeIndex, WireIndex inWireIndex) const |
| Returns the WireInfo object for the specified tile type and wire index.
|
TileCount | getTileCount (void) const |
| Returns the tile count for this device.
|
TileTypeCount | getTileTypeCount (void) const |
| Returns the tile type count for this device.
|
TileRow | getRowCount (void) const |
| Returns the row count for this device.
|
TileCol | getColCount (void) const |
| Returns the column count for this device.
|
WireCount | getWireCount (TileTypeIndex inTileTypeIndex) const |
| Returns the wire count for the specified tile type.
|
TileIndex | getTileIndex (TileRow inRow, TileCol inCol) const |
| Returns the tile index for the given [row,column] pair.
|
const char * | getTileTypeName (TileTypeIndex inTileTypeIndex) const |
| Returns the tile type name for the given tile type index.
|
TileIndex | findTileIndex (const string &inName) const |
| Returns the tile index for the given tile name.
|
WireIndex | findWireIndex (TileTypeIndex inTileTypeIndex, const string &inName) const |
| Returns the wire index for the given wire name in the given tile type.
|
Protected Types |
typedef std::string | string |
| Imported type name.
|
typedef boost::uint16_t | uint16_t |
| Imported type name.
|
typedef boost::uint32_t | uint32_t |
| Imported type name.
|
typedef xilinx::TileRow | TileRow |
| Imported type name.
|
typedef xilinx::TileCol | TileCol |
| Imported type name.
|
typedef xilinx::TileCount | TileCount |
| Imported type name.
|
typedef xilinx::TileIndex | TileIndex |
| Imported type name.
|
typedef xilinx::TileTypeCount | TileTypeCount |
| Imported type name.
|
typedef xilinx::TileTypeIndex | TileTypeIndex |
| Imported type name.
|
typedef xilinx::WireCount | WireCount |
| Imported type name.
|
typedef xilinx::WireIndex | WireIndex |
| Imported type name.
|
typedef std::pair< std::string,
xilinx::TileIndex > | TileNameIndexPair |
| Wrapper for a tile name with corresponding tile index.
|
typedef std::pair< std::string,
xilinx::WireIndex > | WireNameIndexPair |
| Wrapper for a wire name with corresponding wire index.
|
Protected Member Functions |
size_t | readTileTypes (DigestStream &inStream) |
| Read the family tile types.
|
size_t | readTileWireInfo (DigestStream &inStream) |
| Read the family wire info.
|
size_t | readTileMap (DigestStream &inStream) |
| Read the device tile map.
|
| Tiles (void) |
| Protected constructor.
|
Static Protected Member Functions |
static bool | CompareTilePairByName (const TileNameIndexPair &inA, const TileNameIndexPair &inB) |
| Compare tile pairs by name, for ordering purposes.
|
static bool | CompareWirePairByName (const WireNameIndexPair &inA, const WireNameIndexPair &inB) |
| Compare wire pairs by name, for ordering purposes.
|
Protected Attributes |
TileCount | mTileCount |
| The tile count for this device.
|
TileRow | mRowCount |
| The tile row count for this device.
|
TileCol | mColCount |
| The tile column count for this device.
|
TileIndex ** | mTileMap |
| The two-dimensional tile map for this device.
|
Array< const TileInfo > | mTiles |
| The tile information for this device.
|
Array< const TileNameIndexPair > | mOrderedTileNames |
| The tile name to tile index mapping for this device.
|
TileTypeCount | mTileTypeCount |
| The number of tile types for this family.
|
Array< const CharStringWrapper > | mTileTypeNames |
| The tile type names for this family.
|
Array2D< const WireInfo > | mWires |
| The wire information for this family.
|
Array2D< const WireNameIndexPair > | mOrderedWireNames |
| The wire name to wire index mapping for each tile type for this family.
|
Friends |
class | DDB |
| The database has access to our protected functions.
|
Classes |
class | CharStringWrapper |
| Wrapper around char* for use with the Array template. More...
|
Tile map, tile type, and wire information for the family and device.
The tile map defines the tile layout for the current device. Every tile is associated with a tile type that has been defined for the family. The wire type information is likewise device independent, and is therefore included in this class.