|
Bitstream Interpretation Library (BIL)
0.1
|
Writes a Virtex-5 bitstream into XML. More...
#include <bitstream/V5BitstreamXMLWriter.hpp>


Public Member Functions | |
| V5BitstreamXMLWriter (XMLWriter &xmlWriter) | |
| Creates a new V5BitstreamXMLWriter instance. | |
| virtual void | visit (const BuswidthPattern &buswidthPattern) |
| Visits a BuswidthPattern packet. | |
| virtual void | visit (const DummyWord &dummyWord) |
| Visits a DummyWord packet. | |
| virtual void | visit (const SyncWord &syncWord) |
| Visits a SyncWord packet. | |
| virtual void | visit (const Type1Packet &type1Packet) |
| Visits a Type1Packet packet. | |
| virtual void | visit (const Type2Packet &type2Packet) |
| Visits a Type2Packet packet. | |
Public Member Functions inherited from bil::V5BitstreamSyntaxChecker | |
| V5BitstreamSyntaxChecker () | |
| 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. | |
| virtual void | reset () |
| Resets the internal state. | |
Public Member Functions inherited from bil::V5PacketVisitor | |
| virtual void | visit (const Packet &packet) |
| Irrelevant visit() method for Virtex-5 bitstreams. | |
Public Member Functions inherited from bil::PacketVisitor | |
| virtual | ~PacketVisitor () |
Protected Member Functions | |
| void | writePacketTag (const BuswidthPattern &buswidthPattern) |
| Writes a BuswidthPattern packet into XML. | |
| void | writePacketTag (const DummyWord &dummyWord) |
| Writes a DummyWord packet into XML. | |
| void | writePacketTag (const SyncWord &syncWord) |
| Writes a SyncWord packet into XML. | |
| void | writePacketTag (const std::string &tagName, const Type2Packet &type2Packet) |
| Writes a Type2Packet packet (and its descendants) into XML. | |
| void | writeData (const boost::uint32_t *words, size_t wordCount) |
| Writes packet payload data into XML. | |
Writes a Virtex-5 bitstream into XML.
Being based on the V5BitstreamSyntaxChecker, V5BitstreamXMLWriter syntax checks the packet sequence and writes every visited packet out to XML using a given XMLWriter.
Definition at line 26 of file V5BitstreamXMLWriter.hpp.
|
explicit |
Creates a new V5BitstreamXMLWriter instance.
| xmlWriter | The XMLWriter instance to be used for writing. |
Definition at line 30 of file V5BitstreamXMLWriter.cpp.
|
virtual |
Visits a BuswidthPattern packet.
| buswidthPattern | BuswidthPattern instance to be visited. |
| . |
Reimplemented from bil::V5BitstreamSyntaxChecker.
Definition at line 37 of file V5BitstreamXMLWriter.cpp.
|
virtual |
Visits a DummyWord packet.
| dummyWord | DummyWord instance to be visited. |
| . |
Reimplemented from bil::V5BitstreamSyntaxChecker.
Definition at line 44 of file V5BitstreamXMLWriter.cpp.
|
virtual |
Visits a SyncWord packet.
| syncWord | SyncWord instance to be visited. |
| . |
Reimplemented from bil::V5BitstreamSyntaxChecker.
Definition at line 51 of file V5BitstreamXMLWriter.cpp.
|
virtual |
Visits a Type1Packet packet.
| type1Packet | Type1Packet instance to be visited. |
| . |
Reimplemented from bil::V5BitstreamSyntaxChecker.
Definition at line 58 of file V5BitstreamXMLWriter.cpp.
|
virtual |
Visits a Type2Packet packet.
| type2Packet | Type2Packet instance to be visited. |
| . |
Reimplemented from bil::V5BitstreamSyntaxChecker.
Definition at line 65 of file V5BitstreamXMLWriter.cpp.
|
protected |
Writes a BuswidthPattern packet into XML.
| buswidthPattern | BuswidthPattern instance to be written. |
| . |
Definition at line 72 of file V5BitstreamXMLWriter.cpp.
|
protected |
Writes a DummyWord packet into XML.
| dummyWord | DummyWord instance to be written. |
| . |
Definition at line 79 of file V5BitstreamXMLWriter.cpp.
|
protected |
Writes a SyncWord packet into XML.
| syncWord | SyncWord instance to be written. |
| . |
Definition at line 87 of file V5BitstreamXMLWriter.cpp.
|
protected |
Writes a Type2Packet packet (and its descendants) into XML.
| tagName | XML tag to use. |
| type2Packet | Type2Packet instance to be written. |
| . |
Definition at line 94 of file V5BitstreamXMLWriter.cpp.
|
protected |
Writes packet payload data into XML.
| words | Pointer to data words to write. |
| wordCount | Number of data words to write. |
| . |
Definition at line 127 of file V5BitstreamXMLWriter.cpp.
1.8.1.1