OpenASIP
2.0
|
#include <Bin2nProgramImageWriter.hh>
Public Member Functions | |
Bin2nProgramImageWriter (const InstructionBitVector &bits) | |
virtual | ~Bin2nProgramImageWriter () |
virtual void | writeImage (std::ostream &stream) const |
![]() | |
Bin2nImageWriter (const BitVector &bits, int rowLength) | |
virtual | ~Bin2nImageWriter () |
const BitVector & | bits () const |
void | writeSequence (std::ostream &stream, unsigned int length) const |
![]() | |
virtual | ~BitImageWriter () |
Writes the program image as binary 1's and 0's to the stream. Pads from the left to the nearest multiple of 2 and reverses the byte endianness. Used for programming FPGA with Jupyter through AlmaIF
Definition at line 45 of file Bin2nProgramImageWriter.hh.
Bin2nProgramImageWriter::Bin2nProgramImageWriter | ( | const InstructionBitVector & | bits | ) |
The constructor.
bits | The program bits to be written. |
Definition at line 44 of file Bin2nProgramImageWriter.cc.
|
virtual |
|
virtual |
Writes the program image to the given output stream.
stream | The output stream. |
Reimplemented from Bin2nImageWriter.
Definition at line 60 of file Bin2nProgramImageWriter.cc.
References Bin2nImageWriter::bits(), InstructionBitVector::instructionCount(), InstructionBitVector::instructionStartingPoint(), and Bin2nImageWriter::writeSequence().