16 #ifndef TORC_BITSTREAM_ASSEMBLER_VIRTEX7ASSEMBLER_HPP
17 #define TORC_BITSTREAM_ASSEMBLER_VIRTEX7ASSEMBLER_HPP
45 if(!boost::filesystem::exists(libDBPath)) {
46 std::cout <<
"ERROR: Library database file - " << libDBPath.string() <<
" - does not exist."
48 throw "Library file does not exist";
55 return (inSiteType.compare(
"SLICEL") == 0 ||
56 inSiteType.compare(
"SLICEM") == 0 ||
57 inSiteType.compare(
"RAMB36_EXP") == 0 ||
58 inSiteType.compare(
"DSP48E") == 0);
95 uint32_t inPrimaryXdlCol, uint32_t inBitIndexBegin, uint32_t inBitIndexEnd) {
98 return virtex7Bitstream->
getXdlFrames(inTileRow, inPrimaryXdlCol, inBitIndexBegin,
112 #endif // TORC_BITSTREAM_ASSEMBLER_VIRTEX7ASSEMBLER_HPP
Encapsulation of a tile index in an unsigned 32-bit integer.
virtual void updateFullFrameBlocks()
Encapsulation of a tile row in an unsigned 16-bit integer.
std::map< const string, std::vector< string > > CompoundSettingMap
Element name to vector of related element names that collectively affect bits.
Encapsulation of a tile column in an unsigned 16-bit integer.
Device database, including complete wiring and logic support.
virtual void readFramePackets(void)
Read frame data into the frame blocks structure.
uint32_t getPrimaryXdlColumn(uint32_t inXdlRow, uint32_t inXdlCol)
Returns the primary column corresponding to the given tile. If the specified tile falls in an INT_L ...
Base Virtex class to implement functions common across all/some Virtex architectures.
CompoundSettingMap mCompoundSettingMap
torc::bitstream::BitstreamSharedPtr mBitstreamPtr
Virtex7Assembler(torc::architecture::DDB &inDB)
virtual bool isSiteTypeSupported(const std::string &inSiteType)
Returns true if site type is supported.
VirtexFrameBlocks getXdlFrames(uint32_t inXdlRow, uint32_t inXdlCol, uint32_t &outBeginBit, uint32_t &outEndBit, uint32_t inBlockCount=eBlockTypeCount)
Returns frames for specified XDL tile coordinates. inXldRow The XDL row coordinate. inXdlCol The XDL column coordinate. outBeginBit The bit index of the beginning of the requested tile. outEndBit The bit index of the end of the requested tile. inBlockCount The highest block type requested (8 for Xilinx architectures).
Main torc::physical namespace header.
virtual void initializeFullFrameBlocks()
boost::filesystem::path path
virtual bool isCompoundSetting(string inElementName)
Returns true if input resource is associated with compound group.
virtual uint32_t getPrimaryXdlColumn(TileCol inTileColumn)
For an INT tile, returns associated CLB column.
Definition of base Virtex class to implement functions common across all/some Virtex architectures...
boost::filesystem::path mLibraryPath
Pointer to bitstream object to which micro bitstreams are merged.
virtual torc::bitstream::VirtexFrameBlocks getXdlFrames(TileRow inTileRow, uint32_t inPrimaryXdlCol, uint32_t inBitIndexBegin, uint32_t inBitIndexEnd)
virtual void initializeFrameDataForTile(TileIndex tileIndex)
Store frame blocks and bit offset for given tile index.
Header for the DDB class.
static const string sLibraryExtension
Extension used for micro-bitstream libraries.
static CompoundSettingMap getCompoundSettingsMap()
Returns map of coumpound settings.
virtual void updateFramePackets(EBitstreamType inBitstreamType=eBitstreamTypeFull, EFrameInclude inFrameInclusion=eFrameIncludeAllUsedFrames)
Update the bitstream frame packets By default this updates the bitstream with full frame data...
virtual vector< string > getDependantConfigs(string inElement1Name)
Returs vector of related configurations.
void populateLibraryMap(path inLibDBPath)
Read micro-bitstream library file and populate it in a map.
Header for the Virtex7 class.