#include <Sites.hpp>
Public Member Functions | |
SiteCount | getSiteCount (void) const |
Returns the site count for this device. | |
SiteTypeCount | getSiteTypeCount (void) const |
Returns the site type count for this family. | |
const Array< const PrimitiveDef > & | getSiteTypes (void) const |
Returns the site types for this family. | |
const Array< const Site > & | getSites (void) const |
Returns the sites for this family. | |
const Site & | getSite (SiteIndex inSiteIndex) const |
Returns the site for the specified index. | |
const Array< const Package > & | getPackages (void) const |
Returns the packages for this family. | |
SiteIndex | findSiteIndex (const string &inName) const |
Returns the site index for the given site name. | |
PackageIndex | findPackageIndex (const string &inName) const |
Returns the package index for the given package name. | |
Protected Types | |
typedef std::string | string |
Imported type name. | |
typedef xilinx::TileIndex | TileIndex |
Imported type name. | |
typedef xilinx::WireIndex | WireIndex |
Imported type name. | |
typedef xilinx::PinFlags | PinFlags |
Imported type name. | |
typedef xilinx::PinCount | PinCount |
Imported type name. | |
typedef xilinx::SiteCount | SiteCount |
Imported type name. | |
typedef xilinx::SiteIndex | SiteIndex |
Imported type name. | |
typedef xilinx::SiteFlags | SiteFlags |
Imported type name. | |
typedef xilinx::SiteTypeCount | SiteTypeCount |
Imported type name. | |
typedef xilinx::SiteTypeIndex | SiteTypeIndex |
Imported type name. | |
typedef xilinx::PackageCount | PackageCount |
Imported type name. | |
typedef xilinx::PackageIndex | PackageIndex |
Imported type name. | |
typedef xilinx::PadCount | PadCount |
Imported type name. | |
typedef xilinx::PadIndex | PadIndex |
Imported type name. | |
typedef std::map< string, SiteIndex > | SiteNameToSiteIndexMap |
Map from site name to site index. | |
typedef std::map< string, PackageIndex > | PackageNameToPackageIndexMap |
Map from package name to package index. | |
Protected Member Functions | |
size_t | readPrimitiveTypes (DigestStream &inStream) |
Read the primitive types for the family. | |
size_t | readPrimitivePinMaps (DigestStream &inStream) |
Read the site pin mappings for the family. | |
size_t | readSites (DigestStream &inStream) |
Read the sites for the device. | |
size_t | readPackages (DigestStream &inStream) |
Read the packages for the device. | |
void | activatePackage (const string &inName) |
Activate the specified device package. | |
void | activatePackage (PackageIndex inPackageIndex) |
Activate the specified device package. | |
Protected Attributes | |
Array< const PrimitiveDef > | mSiteTypes |
The site types for this family. | |
Array2D< const WireIndex > | mPrimitivePinMaps |
The site pin maps for this family. | |
Array< const Site > | mSites |
The logic sites for this device. | |
SiteNameToSiteIndexMap | mSiteNameToSiteIndex |
The mapping from site name to site index for this device. | |
Array< const Package > | mPackages |
The packages for this device. | |
PackageNameToPackageIndexMap | mPackageNameToPackageIndex |
The mapping from package name to package index for this device. | |
Friends | |
class | DDB |
The database has access to our protected functions. |
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.
Definition at line 44 of file Sites.hpp.
typedef std::string torc::architecture::Sites::string [protected] |
typedef xilinx::TileIndex torc::architecture::Sites::TileIndex [protected] |
typedef xilinx::WireIndex torc::architecture::Sites::WireIndex [protected] |
typedef xilinx::PinFlags torc::architecture::Sites::PinFlags [protected] |
typedef xilinx::PinCount torc::architecture::Sites::PinCount [protected] |
typedef xilinx::SiteCount torc::architecture::Sites::SiteCount [protected] |
typedef xilinx::SiteIndex torc::architecture::Sites::SiteIndex [protected] |
typedef xilinx::SiteFlags torc::architecture::Sites::SiteFlags [protected] |
typedef xilinx::SiteTypeCount torc::architecture::Sites::SiteTypeCount [protected] |
typedef xilinx::SiteTypeIndex torc::architecture::Sites::SiteTypeIndex [protected] |
typedef xilinx::PackageCount torc::architecture::Sites::PackageCount [protected] |
typedef xilinx::PackageIndex torc::architecture::Sites::PackageIndex [protected] |
typedef xilinx::PadCount torc::architecture::Sites::PadCount [protected] |
typedef xilinx::PadIndex torc::architecture::Sites::PadIndex [protected] |
typedef std::map<string, SiteIndex> torc::architecture::Sites::SiteNameToSiteIndexMap [protected] |
typedef std::map<string, PackageIndex> torc::architecture::Sites::PackageNameToPackageIndexMap [protected] |
size_t torc::architecture::Sites::readPrimitiveTypes | ( | DigestStream & | inStream | ) | [protected] |
size_t torc::architecture::Sites::readPrimitivePinMaps | ( | DigestStream & | inStream | ) | [protected] |
size_t torc::architecture::Sites::readSites | ( | DigestStream & | inStream | ) | [protected] |
Read the sites for the device.
Definition at line 304 of file SitePin.cpp.
size_t torc::architecture::Sites::readPackages | ( | DigestStream & | inStream | ) | [protected] |
Read the packages for the device.
Definition at line 25 of file SitePin.cpp.
void torc::architecture::Sites::activatePackage | ( | const string & | inName | ) | [inline, protected] |
void torc::architecture::Sites::activatePackage | ( | PackageIndex | inPackageIndex | ) | [inline, protected] |
SiteCount torc::architecture::Sites::getSiteCount | ( | void | ) | const [inline] |
SiteTypeCount torc::architecture::Sites::getSiteTypeCount | ( | void | ) | const [inline] |
const Array<const PrimitiveDef>& torc::architecture::Sites::getSiteTypes | ( | void | ) | const [inline] |
PackageIndex torc::architecture::Sites::findPackageIndex | ( | const string & | inName | ) | const [inline] |
friend class DDB [friend] |
Array<const PrimitiveDef> torc::architecture::Sites::mSiteTypes [protected] |
Array2D<const WireIndex> torc::architecture::Sites::mPrimitivePinMaps [protected] |
Array<const Site> torc::architecture::Sites::mSites [protected] |
Array<const Package> torc::architecture::Sites::mPackages [protected] |