19 #ifndef TORC_ARCHITECTURE_SITES_HPP
20 #define TORC_ARCHITECTURE_SITES_HPP
34 #include <boost/cstdint.hpp>
39 namespace architecture {
98 if(inPackageIndex >=
mPackages.getSize())
return;
99 const Package&
package = mPackages[inPackageIndex];
107 site.
mName = p->mName;
141 PackageNameToPackageIndexMap::const_iterator p
151 #endif // TORC_ARCHITECTURE_SITES_HPP
std::map< string, SiteIndex > SiteNameToSiteIndexMap
Map from site name to site index.
xilinx::SiteTypeCount SiteTypeCount
Imported type name.
Encapsulation of a physical device package and its pins.
SiteCount getSiteCount(void) const
Returns the site count for this device.
Encapsulation of a tile index in an unsigned 32-bit integer.
xilinx::PackageCount PackageCount
Imported type name.
SiteNameToSiteIndexMap mSiteNameToSiteIndex
The mapping from site name to site index for this device.
Encapsulation of a pad count in an unsigned 32-bit integer.
Device database, including complete wiring and logic support.
SiteFlags mFlags
The flags associated with this site.
Encapsulation of a pin count in an unsigned 32-bit integer.
void activatePackage(const string &inName)
Activate the specified device package.
std::map< string, PackageIndex > PackageNameToPackageIndexMap
Map from package name to package index.
Header for the PrimitiveElement class.
T * end(void)
Returns the non-constant end iterator.
std::string string
Imported type name.
Encapsulation of a site count in an unsigned 32-bit integer.
xilinx::PackageIndex PackageIndex
Imported type name.
Array< const PrimitiveDef > mSiteTypes
The site types for this family.
Device database console streams class.
xilinx::TileIndex TileIndex
Imported type name.
xilinx::SiteCount SiteCount
Imported type name.
Encapsulation of a wire index in an unsigned 16-bit integer.
Array< const Package > mPackages
The packages for this device.
xilinx::PadIndex PadIndex
Imported type name.
void activatePackage(PackageIndex inPackageIndex)
Activate the specified device package.
Encapsulation of a package count in an unsigned 16-bit integer.
Encapsulation of a site type index in an unsigned 16-bit integer.
xilinx::SiteTypeIndex SiteTypeIndex
Imported type name.
const Array< const PrimitiveDef > & getSiteTypes(void) const
Returns the site types for this family.
Header for the Site class.
Array< const Site > mSites
The logic sites for this device.
Encapsulation of a device logic site.
Header for the DDBConsoleStreams class.
Site type and population data for the family and the device.
xilinx::SiteFlags SiteFlags
Imported type name.
Header for the PrimitiveConn class.
static pod undefined(void)
const Array< const Site > & getSites(void) const
Returns the sites for this family.
size_t readPrimitivePinMaps(DigestStream &inStream)
Read the site pin mappings for the family.
xilinx::PadCount PadCount
Imported type name.
PackageNameToPackageIndexMap mPackageNameToPackageIndex
The mapping from package name to package index for this device.
Header for the PrimitivePin class.
Encapsulation of a 2D static array.
Header for the PrimitiveDef class.
SiteIndex findSiteIndex(const string &inName) const
Returns the site index for the given site name.
Encapsulation of a package index in an unsigned 16-bit integer.
Encapsulation of pin attribute flags in an unsigned 16-bit integer.
SiteTypeCount getSiteTypeCount(void) const
Returns the site type count for this family.
Encapsulation of a site type count in an unsigned 16-bit integer.
xilinx::PinCount PinCount
Imported type name.
const Site & getSite(SiteIndex inSiteIndex) const
Returns the site for the specified index.
xilinx::SiteIndex SiteIndex
Imported type name.
Header for the Tilewire class.
Encapsulation of site attribute flags in an unsigned 16-bit integer.
PackageIndex findPackageIndex(const string &inName) const
Returns the package index for the given package name.
Header for the Array class.
Header for the DigestStream class.
Encapsulation of a site index in an unsigned 32-bit integer.
Array2D< const WireIndex > mPrimitivePinMaps
The site pin maps for this family.
T * begin(void)
Returns the non-constant begin iterator.
size_t readPackages(DigestStream &inStream)
Read the packages for the device.
const Array< const Package > & getPackages(void) const
Returns the packages for this family.
xilinx::WireIndex WireIndex
Imported type name.
Header for the Package class.
Encapsulation of a device or family digest stream.
size_t readPrimitiveTypes(DigestStream &inStream)
Read the primitive types for the family.
Encapsulation of a pad index in an unsigned 32-bit integer.
Header for the PrimitiveElementPin class.
string mName
The logic site name.
Encapsulation of a static array.
size_t readSites(DigestStream &inStream)
Read the sites for the device.
xilinx::PinFlags PinFlags
Imported type name.
Device database types for Xilinx architectures.