19 #ifndef TORC_PLACER_PLACEMENTSITETYPEMAPPING_HPP
20 #define TORC_PLACER_PLACEMENTSITETYPEMAPPING_HPP
118 return mTypeVector[inInstanceTypeIndex].getSiteTypes();
121 return mTypeVector[inSiteTypeIndex].getInstanceTypes();
145 #endif // TORC_PLACER_PLACEMENTSITETYPEMAPPING_HPP
std::vector< uint32 > mLegalSiteTypes
std::vector< SitePtrSet > SitePtrSetVector
Device database, including complete wiring and logic support.
std::set< Site * > SitePtrSet
MappingSiteType & getType(std::string &inName)
const std::string & getName(uint32 inIndex)
std::vector< SitePtrSetVector > SitePtrSetVectorVector
std::vector< uint32 > InstanceTypeToCandidateTypeMap
std::vector< uint32 > & getLegalInstancesForSite(uint32 inSiteTypeIndex)
std::vector< uint32 > mLegalInstanceTypes
std::vector< SitePtrVector > SitePtrVectorVector
std::vector< MappingSiteType > & getTypeVector()
std::map< std::string, uint32 > mTypeLookup
Encapsulation of a device logic site.
Site type and population data for the family and the device.
void addMapData(std::string itype, std::string stype)
std::vector< SitePtrVectorVector > SitePtrVectorVectorVector
~PlacementSiteTypeMapping()
architecture::Sites Sites
SiteTypeCount getSiteTypeCount(void) const
Returns the site type count for this family.
std::vector< MappingSiteType > TypeVector
MappingSiteType & getType(uint32 inIndex)
Placement mapping for legal instance types to site types.
const architecture::Array< const architecture::PrimitiveDef > & mSiteTypes
Header for the DDB class.
PlacementSiteTypeMapping(DDB &inDB)
MappingSiteType(std::string inName)
std::vector< uint32 > & getSiteTypes()
uint32 getTypeIndex(const std::string &inType)
Get the type index for a given type name, creates a new entry if not found.
std::vector< const Site * > SitePtrVector
std::vector< uint32 > & getInstanceTypes()
std::vector< uint32 > & getLegalSitesForInstance(uint32 inInstanceTypeIndex)
const std::string & getName()