OpenASIP
2.0
|
#include <CoeImageWriter.hh>
Public Member Functions | |
CoeImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~CoeImageWriter () |
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 () |
Private Member Functions | |
void | writeHeader (std::ostream &stream) const |
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 COE format. It's used at least by Xilinx tools
Definition at line 41 of file CoeImageWriter.hh.
CoeImageWriter::CoeImageWriter | ( | const BitVector & | bits, |
int | rowLength | ||
) |
The constructor.
bits | The bits to write. |
rowLength | Length of the rows to write. |
Definition at line 46 of file CoeImageWriter.cc.
|
virtual |
|
private |
Writes header to the given stream.
stream | The stream to write. |
Definition at line 88 of file CoeImageWriter.cc.
Referenced by writeImage().
|
virtual |
Writes the bit image to the given stream.
stream | The stream to write. |
Reimplemented from AsciiImageWriter.
Definition at line 61 of file CoeImageWriter.cc.
References AsciiImageWriter::bits(), AsciiImageWriter::rowLength(), writeHeader(), and AsciiImageWriter::writeSequence().