|
Bitstream Interpretation Library (BIL)
0.1
|
Loads Virtex-5 bitstream raw data. More...
#include <bitstream/V5BitstreamReader.hpp>
Public Member Functions | |
| void | read (Bitstream &bitstream, const boost::uint32_t *words, size_t wordCount) |
| Loads Virtex-5 bitstream raw data. | |
Protected Member Functions | |
| virtual size_t | extractPacket (const boost::uint32_t *words, size_t wordCount, std::auto_ptr< Packet > &packetPtr) |
| Create a packet from raw data. | |
| bool | behindSyncWord () const |
| Tells, if sync word was passed. | |
| bool | lastPacketWasType1 () const |
| Tells, if the last packet processed was a type 1 packet. | |
| RegisterAddress::address_t | lastType1Address () const |
| Gets the register address of the last processed type 1 packet. | |
Loads Virtex-5 bitstream raw data.
This class reads a Virtex-5 raw bitstream, constructs the packets out of it, and puts them into a Bitstream instance. While loading, the packet stream will be syntax checked.
Definition at line 22 of file V5BitstreamReader.hpp.
| void V5BitstreamReader::read | ( | Bitstream & | bitstream, |
| const boost::uint32_t * | words, | ||
| size_t | wordCount | ||
| ) |
Loads Virtex-5 bitstream raw data.
| bitstream | Bitstream instance to load packets into. |
| words | Pointer to data words to load. |
| wordCount | Number of data words to load. |
| . |
Definition at line 16 of file V5BitstreamReader.cpp.
|
protectedvirtual |
Create a packet from raw data.
| words | Pointer to data words to load. |
| wordCount | Number of data words to load. |
| packetPtr | The newly created packet. |
| . |
Definition at line 45 of file V5BitstreamReader.cpp.
|
protected |
Tells, if sync word was passed.
Definition at line 105 of file V5BitstreamReader.cpp.
|
protected |
Tells, if the last packet processed was a type 1 packet.
Definition at line 111 of file V5BitstreamReader.cpp.
|
protected |
Gets the register address of the last processed type 1 packet.
Definition at line 117 of file V5BitstreamReader.cpp.
1.8.1.1