18 #ifndef VIRTEX5LIBGEN_HPP_
19 #define VIRTEX5LIBGEN_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;
52 std::map<string, string> referenceConfigMap;
53 referenceConfigMap[
"LFSR_EN_SET"] =
"SET";
54 referenceConfigMap[
"TEST_SET_P"] =
"SET";
55 referenceConfigMap[
"MASK"] =
"000000000000";
56 referenceConfigMap[
"PATTERN"] =
"000000000000";
58 return referenceConfigMap;
93 #endif // VIRTEX5LIBGEN_HPP_
Encapsulation of a tile row in an unsigned 16-bit integer.
Encapsulation of a tile column in an unsigned 16-bit integer.
std::map< string, string > getReferenceConfigMap()
Get a map from config setting to reference value.
virtual std::string getRambPrimaryPrimitive()
Returns primiry primitive or Ramb site.
static CompoundSettingMap getCompoundSettingsMap()
Returns map of coumpound settings.
virtual ~Virtex5LibGen()
Destructor.
virtual void compressBitFile(path primaryFile, path referenceFile)
Compress given bitstream file against reference bitstream file.
Virtex5LibGen(string inDevice, path inHarnessFolder, path inXdlGenerationFolder)
Constructor.
virtual PrimitiveStructuresSharedPtrMap getPrimitiveNameToStructreMap()
Populate primitive name to primitive structure map.
boost::filesystem::path path
std::map< std::string, PrimitiveStructureSharedPtr > PrimitiveStructuresSharedPtrMap
Typedef of map from primitive name to primitive structure shared pointer.
static const int sCrcWordIndex
This have to be changed for different Family.
virtual void generateMemoryMicroBitstream()
Generate micro-bitstreams for memory elements like LUT in RAM mode.
virtual bool isSiteTypeSupported(const string &inSiteType)
Returns true if site type is supported.
virtual std::vector< std::string > getTilesSupportedForPips()
Returns list of supported tiles.
torc::bitstream::Assembler::CompoundSettingMap CompoundSettingMap
Map from one setting to vector of related setings.
void initialize()
Do architecture specific part of initialization.
virtual uint32_t getWordOffsetFromTileLocation(TileRow tileRow, TileCol tileCol, BitstreamSharedPtr inBitstreamPtr)
Get word offset from tile row and col.
static const string sTilesSupportedForPips[]
Array of supported routing tiles.
boost::shared_ptr< Bitstream > BitstreamSharedPtr
boost::filesystem::path path
Imported type name.