OpenASIP
2.0
|
#include <HexImageWriter.hh>
Public Member Functions | |
HexImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~HexImageWriter () |
virtual void | writeImage (std::ostream &stream) const |
Public Member Functions inherited from AsciiImageWriter | |
AsciiImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~AsciiImageWriter () |
Public Member Functions inherited from BitImageWriter | |
virtual | ~BitImageWriter () |
Additional Inherited Members | |
Protected Member Functions inherited from AsciiImageWriter | |
const BitVector & | bits () const |
int | rowLength () const |
void | writeSequence (std::ostream &stream, int length, bool padEnd=false) const |
void | writeHexSequence (std::ostream &stream, int length, bool padEnd=false) const |
Writes the bit image in HEX format. It's used for both ASIC and FPGA memory models
Definition at line 46 of file HexImageWriter.hh.
HexImageWriter::HexImageWriter | ( | const BitVector & | bits, |
int | rowLength | ||
) |
The constructor.
bits | The bits to write. |
rowLength | Length of the rows to write. |
Definition at line 51 of file HexImageWriter.cc.
|
virtual |
|
virtual |
Writes the bit image to the given stream.
stream | The stream to write. |
Reimplemented from AsciiImageWriter.
Definition at line 68 of file HexImageWriter.cc.
References AsciiImageWriter::bits(), AsciiImageWriter::rowLength(), and AsciiImageWriter::writeHexSequence().