|
torc-master
|
Tile map, tile type, and wire information for the family and device. More...
#include <Tiles.hpp>
Inheritance diagram for torc::architecture::Tiles:
Collaboration diagram for torc::architecture::Tiles:Data Structures | |
| class | CharStringWrapper |
| Wrapper around char* for use with the Array template. More... | |
Public Member Functions | |
| ~Tiles (void) | |
| Non-virtual destructor. More... | |
| const TileInfo & | getTileInfo (TileIndex inTileIndex) const |
| Returns the TileInfo object for the specified tile. More... | |
| const Array< const WireInfo > & | getWireInfo (TileTypeIndex inTileTypeIndex) const |
| Returns the WireInfo array for the specified tile type. More... | |
| const WireInfo & | getWireInfo (TileTypeIndex inTileTypeIndex, WireIndex inWireIndex) const |
| Returns the WireInfo object for the specified tile type and wire index. More... | |
| const WireInfo & | getWireInfo (TileIndex inTileIndex, WireIndex inWireIndex) const |
| Returns the WireInfo object for the specified tile index and wire index. More... | |
| TileCount | getTileCount (void) const |
| Returns the tile count for this device. More... | |
| TileTypeCount | getTileTypeCount (void) const |
| Returns the tile type count for this device. More... | |
| TileRow | getRowCount (void) const |
| Returns the row count for this device. More... | |
| TileCol | getColCount (void) const |
| Returns the column count for this device. More... | |
| WireCount | getWireCount (TileTypeIndex inTileTypeIndex) const |
| Returns the wire count for the specified tile type. More... | |
| TileIndex | getTileIndex (TileRow inRow, TileCol inCol) const |
| Returns the tile index for the given [row,column] pair. More... | |
| const char * | getTileTypeName (TileTypeIndex inTileTypeIndex) const |
| Returns the tile type name for the given tile type index. More... | |
| TileIndex | findTileIndex (const string &inName) const |
| Returns the tile index for the given tile name. More... | |
| WireIndex | findWireIndex (TileTypeIndex inTileTypeIndex, const string &inName) const |
| Returns the wire index for the given wire name in the given tile type. More... | |
Protected Types | |
| typedef std::string | string |
| Imported type name. More... | |
| typedef boost::uint16_t | uint16_t |
| Imported type name. More... | |
| typedef boost::uint32_t | uint32_t |
| Imported type name. More... | |
| typedef xilinx::TileRow | TileRow |
| Imported type name. More... | |
| typedef xilinx::TileCol | TileCol |
| Imported type name. More... | |
| typedef xilinx::TileCount | TileCount |
| Imported type name. More... | |
| typedef xilinx::TileIndex | TileIndex |
| Imported type name. More... | |
| typedef xilinx::TileTypeCount | TileTypeCount |
| Imported type name. More... | |
| typedef xilinx::TileTypeIndex | TileTypeIndex |
| Imported type name. More... | |
| typedef xilinx::WireCount | WireCount |
| Imported type name. More... | |
| typedef xilinx::WireIndex | WireIndex |
| Imported type name. More... | |
| typedef std::pair< std::string, xilinx::TileIndex > | TileNameIndexPair |
| Wrapper for a tile name with corresponding tile index. More... | |
| typedef std::pair< std::string, xilinx::WireIndex > | WireNameIndexPair |
| Wrapper for a wire name with corresponding wire index. More... | |
Protected Member Functions | |
| size_t | readTileTypes (DigestStream &inStream) |
| Read the family tile types. More... | |
| size_t | readTileWireInfo (DigestStream &inStream) |
| Read the family wire info. More... | |
| size_t | readTileMap (DigestStream &inStream) |
| Read the device tile map. More... | |
| Tiles (void) | |
| Protected constructor. More... | |
Static Protected Member Functions | |
| static bool | CompareTilePairByName (const TileNameIndexPair &inA, const TileNameIndexPair &inB) |
| Compare tile pairs by name, for ordering purposes. More... | |
| static bool | CompareWirePairByName (const WireNameIndexPair &inA, const WireNameIndexPair &inB) |
| Compare wire pairs by name, for ordering purposes. More... | |
Protected Attributes | |
| TileCount | mTileCount |
| The tile count for this device. More... | |
| TileRow | mRowCount |
| The tile row count for this device. More... | |
| TileCol | mColCount |
| The tile column count for this device. More... | |
| TileIndex ** | mTileMap |
| The two-dimensional tile map for this device. More... | |
| Array< const TileInfo > | mTiles |
| The tile information for this device. More... | |
| Array< const TileNameIndexPair > | mOrderedTileNames |
| The tile name to tile index mapping for this device. More... | |
| TileTypeCount | mTileTypeCount |
| The number of tile types for this family. More... | |
| Array< const CharStringWrapper > | mTileTypeNames |
| The tile type names for this family. More... | |
| Array2D< const WireInfo > | mWires |
| The wire information for this family. More... | |
| Array2D< const WireNameIndexPair > | mOrderedWireNames |
| The wire name to wire index mapping for each tile type for this family. More... | |
Private Types | |
| typedef std::basic_istream< char > | istream |
| Internal typedef of istream;. More... | |
| typedef std::basic_ostream< char > | ostream |
| Internal typedef of ostream;. More... | |
Private Member Functions | |
| istream & | mIn (void) |
| Returns the database console input stream. More... | |
| ostream & | mOut (void) |
| Returns the database console output stream. More... | |
| ostream & | mErr (void) |
| Returns the database console error stream. More... | |
| ostream & | mLog (void) |
| Returns the database console log stream. More... | |
| istream & | getConsoleIn (void) |
| Returns the database console input stream. More... | |
| ostream & | getConsoleOut (void) |
| Returns the database console output stream. More... | |
| ostream & | getConsoleErr (void) |
| Returns the database console error stream. More... | |
| ostream & | getConsoleLog (void) |
| Returns the database console log stream. More... | |
| void | setConsoleIn (istream &inStream) |
| Sets the database console input stream. More... | |
| void | setConsoleOut (ostream &inStream) |
| Sets the database console output stream. More... | |
| void | setConsoleErr (ostream &inStream) |
| Sets the database console error stream. More... | |
| void | setConsoleLog (ostream &inStream) |
| Sets the database console log stream. More... | |
| virtual void | setConsoleStreams (istream &inIn, ostream &inOut, ostream &inErr, ostream &inLog) |
| Sets all of the database console streams. More... | |
Private Attributes | |
| istream * | mInPtr |
| Pointer to the database console input stream. More... | |
| ostream * | mOutPtr |
| ostream * | mErrPtr |
| ostream * | mLogPtr |
Static Private Attributes | |
| static DDBConsoleStreams | sDefaultConsoleStreams |
| static DDBConsoleStreams | sNullConsoleStreams |
Friends | |
| class | DDB |
| The database has access to our protected functions. 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.
|
inherited |
Internal typedef of istream;.
Definition at line 41 of file DDBConsoleStreams.hpp.
|
inherited |
Internal typedef of ostream;.
Definition at line 43 of file DDBConsoleStreams.hpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Protected constructor.
Definition at line 123 of file Tiles.hpp.
|
inline |
Non-virtual destructor.
Definition at line 128 of file Tiles.hpp.
|
inlinestaticprotected |
|
inlinestaticprotected |
Returns the tile index for the given tile name.
The search has logarithmic complexity.
Definition at line 170 of file Tiles.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns the wire index for the given wire name in the given tile type.
The search has logarithmic complexity.
Definition at line 182 of file Tiles.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Returns the column count for this device.
Definition at line 155 of file Tiles.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Returns the database console error stream.
Definition at line 69 of file DDBConsoleStreams.hpp.
Here is the call graph for this function:
|
inlineinherited |
Returns the database console input stream.
Definition at line 65 of file DDBConsoleStreams.hpp.
Here is the call graph for this function:
|
inlineinherited |
Returns the database console log stream.
Definition at line 71 of file DDBConsoleStreams.hpp.
Here is the call graph for this function:
|
inlineinherited |
Returns the database console output stream.
Definition at line 67 of file DDBConsoleStreams.hpp.
Here is the call graph for this function:
|
inline |
Returns the row count for this device.
Definition at line 153 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the tile count for this device.
Definition at line 149 of file Tiles.hpp.
Here is the caller graph for this function:Returns the tile index for the given [row,column] pair.
Definition at line 161 of file Tiles.hpp.
Here is the caller graph for this function:Returns the TileInfo object for the specified tile.
Definition at line 137 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the tile type count for this device.
Definition at line 151 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the tile type name for the given tile type index.
Definition at line 164 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the wire count for the specified tile type.
Definition at line 157 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the WireInfo array for the specified tile type.
Definition at line 140 of file Tiles.hpp.
Here is the caller graph for this function:
|
inline |
Returns the WireInfo object for the specified tile type and wire index.
Definition at line 143 of file Tiles.hpp.
|
inline |
Returns the WireInfo object for the specified tile index and wire index.
Definition at line 146 of file Tiles.hpp.
|
inlineinherited |
Returns the database console error stream.
Definition at line 61 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Returns the database console input stream.
Definition at line 57 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Returns the database console log stream.
Definition at line 63 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Returns the database console output stream.
Definition at line 59 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
protected |
Read the device tile map.
Definition at line 226 of file Tiles.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Read the family tile types.
Definition at line 25 of file Tiles.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Read the family wire info.
Definition at line 58 of file Tiles.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineinherited |
Sets the database console error stream.
Definition at line 77 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Sets the database console input stream.
Definition at line 73 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Sets the database console log stream.
Definition at line 79 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlineinherited |
Sets the database console output stream.
Definition at line 75 of file DDBConsoleStreams.hpp.
Here is the caller graph for this function:
|
inlinevirtualinherited |
Sets all of the database console streams.
| inIn | The console input stream. |
| inOut | The console output stream. |
| inErr | The console error stream. |
| inLog | The console log stream. |
Reimplemented in torc::architecture::DDB.
Definition at line 85 of file DDBConsoleStreams.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
|
protected |
|
protectedinherited |
Definition at line 96 of file DDBConsoleStreams.hpp.
|
protectedinherited |
Pointer to the database console input stream.
Definition at line 94 of file DDBConsoleStreams.hpp.
|
protectedinherited |
Definition at line 97 of file DDBConsoleStreams.hpp.
|
protected |
|
protected |
|
protectedinherited |
Definition at line 95 of file DDBConsoleStreams.hpp.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticinherited |
Definition at line 45 of file DDBConsoleStreams.hpp.
|
staticinherited |
Definition at line 46 of file DDBConsoleStreams.hpp.