ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
Reading through it will only return bits within the range. More...
#include <Instruction.h>
Public Member Functions | |
BitArrayRange (unsigned endindex_included, unsigned startindex_included) | |
I | read (const BitArray &ba) |
reads bits from the range to the return value starting at the lsb. More... | |
void | write (BitArray &ba, I val) |
write the bit from the passed value starting at the lsb to the range. More... | |
BitArray::size_type | start () |
highest bit of the range (included) More... | |
BitArray::size_type | end () |
lowest bit of the range (included). More... | |
Public Attributes | |
etiss_del_como(BitArrayRange) private BitArray::size_type | endpos |
Reading through it will only return bits within the range.
The length of the range may not be larger than sizeof(I)*8.
Definition at line 207 of file Instruction.h.
etiss::instr::BitArrayRange::BitArrayRange | ( | unsigned | endindex_included, |
unsigned | startindex_included | ||
) |
Definition at line 195 of file Instruction.cpp.
BitArray::size_type etiss::instr::BitArrayRange::end | ( | ) |
lowest bit of the range (included).
Definition at line 216 of file Instruction.cpp.
References endpos.
reads bits from the range to the return value starting at the lsb.
higher bits are set to zero
Definition at line 198 of file Instruction.cpp.
References endpos, and etiss::instr::BitArray::get_range().
Referenced by RV32IMACFDArch::initInstrSet(), and RV64IMACFDArch::initInstrSet().
BitArray::size_type etiss::instr::BitArrayRange::start | ( | ) |
highest bit of the range (included)
Definition at line 211 of file Instruction.cpp.
write the bit from the passed value starting at the lsb to the range.
Definition at line 205 of file Instruction.cpp.
References endpos, and etiss::instr::BitArray::set_range().
etiss_del_como (BitArrayRange) private BitArray::size_type etiss::instr::BitArrayRange::endpos |
Definition at line 213 of file Instruction.h.