torc-master
|
Site type and population data for the family and the device. More...
#include <Sites.hpp>
Public Member Functions | |
SiteCount | getSiteCount (void) const |
Returns the site count for this device. More... | |
SiteTypeCount | getSiteTypeCount (void) const |
Returns the site type count for this family. More... | |
const Array< const PrimitiveDef > & | getSiteTypes (void) const |
Returns the site types for this family. More... | |
const Array< const Site > & | getSites (void) const |
Returns the sites for this family. More... | |
const Site & | getSite (SiteIndex inSiteIndex) const |
Returns the site for the specified index. More... | |
const Array< const Package > & | getPackages (void) const |
Returns the packages for this family. More... | |
SiteIndex | findSiteIndex (const string &inName) const |
Returns the site index for the given site name. More... | |
PackageIndex | findPackageIndex (const string &inName) const |
Returns the package index for the given package name. More... | |
Protected Types | |
typedef std::string | string |
Imported type name. More... | |
typedef xilinx::TileIndex | TileIndex |
Imported type name. More... | |
typedef xilinx::WireIndex | WireIndex |
Imported type name. More... | |
typedef xilinx::PinFlags | PinFlags |
Imported type name. More... | |
typedef xilinx::PinCount | PinCount |
Imported type name. More... | |
typedef xilinx::SiteCount | SiteCount |
Imported type name. More... | |
typedef xilinx::SiteIndex | SiteIndex |
Imported type name. More... | |
typedef xilinx::SiteFlags | SiteFlags |
Imported type name. More... | |
typedef xilinx::SiteTypeCount | SiteTypeCount |
Imported type name. More... | |
typedef xilinx::SiteTypeIndex | SiteTypeIndex |
Imported type name. More... | |
typedef xilinx::PackageCount | PackageCount |
Imported type name. More... | |
typedef xilinx::PackageIndex | PackageIndex |
Imported type name. More... | |
typedef xilinx::PadCount | PadCount |
Imported type name. More... | |
typedef xilinx::PadIndex | PadIndex |
Imported type name. More... | |
typedef std::map< string, SiteIndex > | SiteNameToSiteIndexMap |
Map from site name to site index. More... | |
typedef std::map< string, PackageIndex > | PackageNameToPackageIndexMap |
Map from package name to package index. More... | |
Protected Member Functions | |
size_t | readPrimitiveTypes (DigestStream &inStream) |
Read the primitive types for the family. More... | |
size_t | readPrimitivePinMaps (DigestStream &inStream) |
Read the site pin mappings for the family. More... | |
size_t | readSites (DigestStream &inStream) |
Read the sites for the device. More... | |
size_t | readPackages (DigestStream &inStream) |
Read the packages for the device. More... | |
void | activatePackage (const string &inName) |
Activate the specified device package. More... | |
void | activatePackage (PackageIndex inPackageIndex) |
Activate the specified device package. More... | |
Protected Attributes | |
Array< const PrimitiveDef > | mSiteTypes |
The site types for this family. More... | |
Array2D< const WireIndex > | mPrimitivePinMaps |
The site pin maps for this family. More... | |
Array< const Site > | mSites |
The logic sites for this device. More... | |
SiteNameToSiteIndexMap | mSiteNameToSiteIndex |
The mapping from site name to site index for this device. More... | |
Array< const Package > | mPackages |
The packages for this device. More... | |
PackageNameToPackageIndexMap | mPackageNameToPackageIndex |
The mapping from package name to package index for this device. 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... | |
Site type and population data for the family and the device.
Each device has a collection of logic sites. Those sites are instantiations of family defined site types, with each instance also including a mapping from site pin to Tilewire.
|
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 |
|
protected |
|
protected |
|
protected |
|
inlineprotected |
Activate the specified device package.
Definition at line 92 of file Sites.hpp.
|
inlineprotected |
Activate the specified device package.
Definition at line 96 of file Sites.hpp.
|
inline |
Returns the package index for the given package name.
Definition at line 140 of file Sites.hpp.
Returns the site index for the given site name.
Definition at line 134 of file Sites.hpp.
|
inlineinherited |
Returns the database console error stream.
Definition at line 69 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console input stream.
Definition at line 65 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console log stream.
Definition at line 71 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console output stream.
Definition at line 67 of file DDBConsoleStreams.hpp.
Returns the packages for this family.
Definition at line 131 of file Sites.hpp.
Returns the site for the specified index.
Definition at line 129 of file Sites.hpp.
|
inline |
Returns the site count for this device.
Definition at line 121 of file Sites.hpp.
Returns the sites for this family.
Definition at line 127 of file Sites.hpp.
|
inline |
Returns the site type count for this family.
Definition at line 123 of file Sites.hpp.
|
inline |
Returns the site types for this family.
Definition at line 125 of file Sites.hpp.
|
inlineinherited |
Returns the database console error stream.
Definition at line 61 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console input stream.
Definition at line 57 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console log stream.
Definition at line 63 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Returns the database console output stream.
Definition at line 59 of file DDBConsoleStreams.hpp.
|
protected |
Read the packages for the device.
Definition at line 25 of file Sites.cpp.
|
protected |
Read the site pin mappings for the family.
Definition at line 267 of file Sites.cpp.
|
protected |
Read the primitive types for the family.
Definition at line 90 of file Sites.cpp.
|
protected |
Read the sites for the device.
Definition at line 305 of file Sites.cpp.
|
inlineinherited |
Sets the database console error stream.
Definition at line 77 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Sets the database console input stream.
Definition at line 73 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Sets the database console log stream.
Definition at line 79 of file DDBConsoleStreams.hpp.
|
inlineinherited |
Sets the database console output stream.
Definition at line 75 of file DDBConsoleStreams.hpp.
|
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.
|
friend |
|
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.
|
protectedinherited |
Definition at line 95 of file DDBConsoleStreams.hpp.
|
protected |
|
protected |
|
protected |
|
staticinherited |
Definition at line 45 of file DDBConsoleStreams.hpp.
|
staticinherited |
Definition at line 46 of file DDBConsoleStreams.hpp.