16 #ifndef TORC_BITSTREAM_ASSEMBLER_VIRTEX5ASSEMBLER_HPP
17 #define TORC_BITSTREAM_ASSEMBLER_VIRTEX5ASSEMBLER_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 virtex5Bitstream->
getXdlFrames(inTileRow, inPrimaryXdlCol, inBitIndexBegin,
112 #endif // TORC_BITSTREAM_ASSEMBLER_VIRTEX5ASSEMBLER_HPP
Encapsulation of a tile index in an unsigned 32-bit integer.
virtual bool isSiteTypeSupported(const std::string &inSiteType)
Returns true if site type is supported.
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.
virtual void readFramePackets(void)
Read frame data into the frame blocks structure.
virtual vector< string > getDependantConfigs(string inElement1Name)
Returs vector of related configurations.
Encapsulation of a tile column in an unsigned 16-bit integer.
Device database, including complete wiring and logic support.
virtual void initializeFrameDataForTile(TileIndex tileIndex)
Store frame blocks and bit offset for given tile index.
static CompoundSettingMap getCompoundSettingsMap()
Returns map of coumpound settings.
Base Virtex class to implement functions common across all/some Virtex architectures.
torc::bitstream::BitstreamSharedPtr mBitstreamPtr
Main torc::physical namespace header.
virtual torc::bitstream::VirtexFrameBlocks getXdlFrames(TileRow inTileRow, uint32_t inPrimaryXdlCol, uint32_t inBitIndexBegin, uint32_t inBitIndexEnd)
Virtex5Assembler(torc::architecture::DDB &inDB)
boost::filesystem::path path
virtual bool isCompoundSetting(string inElementName)
Returns true if input resource is associated with compound group.
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).
virtual void updateFullFrameBlocks()
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.
Header for the DDB class.
virtual void initializeFullFrameBlocks()
static const string sLibraryExtension
Extension used for micro-bitstream libraries.
virtual void updateFramePackets(EBitstreamType inBitstreamType=eBitstreamTypeFull, EFrameInclude inFrameInclusion=eFrameIncludeAllUsedFrames)
Update the bitstream frame packets By default this updates the bitstream with full frame data...
uint32_t getPrimaryXdlColumn(uint32_t inXdlCol)
Returns the primary column corresponding to the given column. If immediately to the left of a BRAM...
virtual uint32_t getPrimaryXdlColumn(TileCol inTileColumn)
For an INT tile, returns associated CLB column.
CompoundSettingMap mCompoundSettingMap
void populateLibraryMap(path inLibDBPath)
Read micro-bitstream library file and populate it in a map.