OpenASIP
2.0
|
#include <VhdlImageWriter.hh>
Public Member Functions | |
VhdlImageWriter (const BitVector &bits, int rowLength, const std::string &entityName) | |
virtual | ~VhdlImageWriter () |
virtual void | writeImage (std::ostream &stream) const |
Public Member Functions inherited from ArrayImageWriter | |
ArrayImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~ArrayImageWriter () |
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 |
void | writeEnding (std::ostream &stream) const |
std::string | packageName () const |
Private Attributes | |
std::string | entityName_ |
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 (instruction) bit image to a vhdl package.
Definition at line 43 of file VhdlImageWriter.hh.
VhdlImageWriter::VhdlImageWriter | ( | const BitVector & | bits, |
int | rowLength, | ||
const std::string & | entityName | ||
) |
The constructor.
bits | The bits to write. |
rowLength | Length of the rows to write. |
Definition at line 45 of file VhdlImageWriter.cc.
|
virtual |
|
private |
Definition at line 95 of file VhdlImageWriter.cc.
References entityName_.
Referenced by writeEnding(), and writeHeader().
|
private |
Writes the end declarations to the stream
Definition at line 89 of file VhdlImageWriter.cc.
References packageName().
Referenced by writeImage().
|
private |
Writes the vhdl declaration stuff to the beginning of the stream
Definition at line 73 of file VhdlImageWriter.cc.
References packageName(), and AsciiImageWriter::rowLength().
Referenced by writeImage().
|
virtual |
Writes the bit image to the given stream.
stream | The stream to write. |
Reimplemented from ArrayImageWriter.
Definition at line 63 of file VhdlImageWriter.cc.
References writeEnding(), writeHeader(), and ArrayImageWriter::writeImage().
|
private |
Definition at line 59 of file VhdlImageWriter.hh.
Referenced by packageName().