40 std::fstream fileStream(inFileName, std::ios::binary | std::ios::in);
41 if(!fileStream.good())
return bitstreamPtr;
49 switch(designator.getFamily()) {
78 fileStream.seekg(0, std::ios::beg);
79 bitstreamPtr->read(fileStream);
Header for the VirtexE class.
static bool readHeader(std::istream &inStream, string &outDesignName, string &outDeviceName, string &outDesignDate, string &outDesignTime, uint32_t &outBitstreamLength, uint32_t &outHeaderLength)
Read a bitstream header, and return its fields.
Encapsulation of a device designator and its constituent elements.
torc::common::DeviceDesignator DeviceDesignator
Header for the Virtex4 class.
Header for the Virtex2P class.
Header for the Virtex6 class.
Header for the Virtex5 class.
const string & getDeviceName(void) const
Return the device name.
Header for the Factory class.
Header for the Spartan6 class.
Xilinx bitstream base class.
static BitstreamSharedPtr newBitstreamPtr(const boost::filesystem::path &inPath)
Header for the Virtex class.
VirtexE bitstream inherited from Virtex bitstream.
Header for the Virtex2 class.
Header for the Spartan3E class.
boost::shared_ptr< Bitstream > BitstreamSharedPtr
Virtex2P bitstream inherited from Virtex2 bitstream.
Header for the Virtex7 class.