19 #ifndef VIRTEX7LIBGEN_HPP_
20 #define VIRTEX7LIBGEN_HPP_
39 std::vector<std::string> acascregCompound;
40 acascregCompound.push_back(
"AREG");
41 compoundSettingMap[
"ACASCREG"] = acascregCompound;
43 std::vector<std::string> bcascregCompound;
44 bcascregCompound.push_back(
"BREG");
45 compoundSettingMap[
"BCASCREG"] = bcascregCompound;
47 return compoundSettingMap;
64 std::map<string, string> referenceConfigMap;
65 referenceConfigMap[
"A5FFINIT"] =
"INIT1";
66 referenceConfigMap[
"B5FFINIT"] =
"INIT1";
67 referenceConfigMap[
"C5FFINIT"] =
"INIT1";
68 referenceConfigMap[
"D5FFINIT"] =
"INIT1";
69 referenceConfigMap[
"AFFINIT"] =
"INIT1";
70 referenceConfigMap[
"BFFINIT"] =
"INIT1";
71 referenceConfigMap[
"CFFINIT"] =
"INIT1";
72 referenceConfigMap[
"DFFINIT"] =
"INIT1";
73 referenceConfigMap[
"RAM_MODE"] =
"TDP";
74 referenceConfigMap[
"LFSR_EN_SET"] =
"SET";
75 referenceConfigMap[
"TEST_SET_P"] =
"SET";
76 referenceConfigMap[
"MASK"] =
"000000000000";
77 referenceConfigMap[
"PATTERN"] =
"000000000000";
79 return referenceConfigMap;
107 #endif // VIRTEX7LIBGEN_HPP_
Encapsulation of a tile row in an unsigned 16-bit integer.
Encapsulation of a tile column in an unsigned 16-bit integer.
virtual std::string getRambPrimaryPrimitive()
Returns primary primitive for Ramb site type.
static const string sTilesSupportedForPips[]
Array of supported routing tiles.
virtual uint32_t getWordOffsetFromTileLocation(TileRow tileRow, TileCol tileCol, BitstreamSharedPtr inBitstreamPtr)
Get word offset from tile row and col.
virtual ~Virtex7LibGen()
Destructor.
virtual PrimitiveStructuresSharedPtrMap getPrimitiveNameToStructreMap()
Populate primitive name to primitive structure map.
virtual string getParentFamilyName()
Get parent family name.
void initialize()
Do architecture specific part of initialization.
virtual bool isSiteTypeSupported(const string &inSiteType)
Returns true if site type is supported.
static const int sCrcWordIndex
This have to be changed for different Family.
boost::filesystem::path path
std::map< std::string, PrimitiveStructureSharedPtr > PrimitiveStructuresSharedPtrMap
Typedef of map from primitive name to primitive structure shared pointer.
std::map< string, string > getReferenceConfigMap()
Get a map from config setting to reference value.
static CompoundSettingMap getCompoundSettingsMap()
Returns map of coumpound settings.
torc::bitstream::Assembler::CompoundSettingMap CompoundSettingMap
Map from one setting to vector of related setings.
virtual std::vector< std::string > getTilesSupportedForPips()
Returns list of supported tiles. Assumes last tile is "LAST_TILE".
boost::shared_ptr< Bitstream > BitstreamSharedPtr
virtual void compressBitFile(path primaryFile, path referenceFile)
Compress given bitstream file against reference bitstream file.
virtual void generateMemoryMicroBitstream()
Generate micro-bitstreams for memory elements like LUT in RAM mode.
Virtex7LibGen(string inDevice, path inHarnessFolder, path inXdlGenerationFolder)
Constructor.
boost::filesystem::path path
Imported type name.