Bitstream Interpretation Library (BIL)
0.1
|
Models the contents of a Xilinx bit file. More...
#include <bitfile/BitFileData.hpp>
Public Member Functions | |
std::string & | sourceFileName () |
Gets name of bitstream source file. | |
const std::string & | sourceFileName () const |
Gets read only name of bitstream source file. | |
std::string & | targetDeviceName () |
Gets name of bitstream target device. | |
const std::string & | targetDeviceName () const |
Gets read only name of bitstream target device. | |
std::string & | creationDate () |
Gets bitstream creation date. | |
const std::string & | creationDate () const |
Gets read only bitstream creation date. | |
std::string & | creationTime () |
Gets bitstream creation time. | |
const std::string & | creationTime () const |
Gets read only bitstream creation time. | |
void | bitstreamWordCount (size_t count) |
Sets number of 32 bit words the raw bitstream contains. | |
size_t | bitstreamWordCount () const |
Gets number of 32 bit words the raw bitstream contains. | |
boost::uint32_t * | bitstreamWords () |
Gets a pointer to the raw bitstream data. | |
const boost::uint32_t * | bitstreamWords () const |
Gets a read only pointer to the raw bitstream data. | |
void | clear () |
Clears all data. |
Models the contents of a Xilinx bit file.
It contains meta data (e.g. target device name, creation date, etc.), and the raw bitstream. Note that it does not check the meta data and the raw bitstream contents, it is only a container.
Definition at line 25 of file BitFileData.hpp.
std::string & BitFileData::sourceFileName | ( | ) |
Gets name of bitstream source file.
Definition at line 11 of file BitFileData.cpp.
const std::string & BitFileData::sourceFileName | ( | ) | const |
Gets read only name of bitstream source file.
Definition at line 17 of file BitFileData.cpp.
std::string & BitFileData::targetDeviceName | ( | ) |
Gets name of bitstream target device.
Definition at line 23 of file BitFileData.cpp.
const std::string & BitFileData::targetDeviceName | ( | ) | const |
Gets read only name of bitstream target device.
Definition at line 29 of file BitFileData.cpp.
std::string & BitFileData::creationDate | ( | ) |
Gets bitstream creation date.
Definition at line 35 of file BitFileData.cpp.
const std::string & BitFileData::creationDate | ( | ) | const |
Gets read only bitstream creation date.
Definition at line 41 of file BitFileData.cpp.
std::string & BitFileData::creationTime | ( | ) |
Gets bitstream creation time.
Definition at line 47 of file BitFileData.cpp.
const std::string & BitFileData::creationTime | ( | ) | const |
Gets read only bitstream creation time.
Definition at line 53 of file BitFileData.cpp.
void BitFileData::bitstreamWordCount | ( | size_t | count | ) |
Sets number of 32 bit words the raw bitstream contains.
count | New count to set. |
Definition at line 59 of file BitFileData.cpp.
size_t BitFileData::bitstreamWordCount | ( | ) | const |
Gets number of 32 bit words the raw bitstream contains.
Definition at line 65 of file BitFileData.cpp.
boost::uint32_t * BitFileData::bitstreamWords | ( | ) |
Gets a pointer to the raw bitstream data.
Definition at line 71 of file BitFileData.cpp.
const boost::uint32_t * BitFileData::bitstreamWords | ( | ) | const |
Gets a read only pointer to the raw bitstream data.
Definition at line 79 of file BitFileData.cpp.
void BitFileData::clear | ( | ) |
Clears all data.
Definition at line 87 of file BitFileData.cpp.