|
ETISS 0.11.2
ExtendableTranslatingInstructionSetSimulator(version0.11.2)
|
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. | |
| void | write (BitArray &ba, I val) |
| write the bit from the passed value starting at the lsb to the range. | |
| BitArray::size_type | start () |
| highest bit of the range (included) | |
| BitArray::size_type | end () |
| lowest bit of the range (included). | |
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 161 of file Instruction.h.
| etiss::instr::BitArrayRange::BitArrayRange | ( | unsigned | endindex_included, |
| unsigned | startindex_included | ||
| ) |
Definition at line 166 of file Instruction.cpp.
| BitArray::size_type etiss::instr::BitArrayRange::end | ( | ) |
lowest bit of the range (included).
Definition at line 189 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 171 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 184 of file Instruction.cpp.
write the bit from the passed value starting at the lsb to the range.
Definition at line 178 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 165 of file Instruction.h.