ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include <ErrorDefinition.h>
Public Member Functions | |
template<typename iterateableT > | |
BitFlip (const iterateableT &positions, int id=-1, const std::string &name="") | |
virtual void | apply (uint64_t &var) |
template<typename T > | |
void | fapply (T &var) |
virtual const std::vector< unsigned > | affectedBits () |
Public Member Functions inherited from etiss::error::Error | |
Error (bool persistent, int id=-1, const std::string &name="") | |
virtual | ~Error () |
virtual void | apply (uint32_t &var) |
virtual void | apply (uint16_t &var) |
virtual void | apply (uint8_t &var) |
Private Attributes | |
std::vector< unsigned > | flipped_positions |
uint64_t | flip |
Additional Inherited Members | |
Public Attributes inherited from etiss::error::Error | |
const bool | persistent_ |
int | id_ |
std::string | name_ |
Definition at line 95 of file ErrorDefinition.h.
|
inline |
Definition at line 103 of file ErrorDefinition.h.
References flip, and flipped_positions.
|
virtual |
Implements etiss::error::Error.
Definition at line 117 of file ErrorDefinition.cpp.
References flipped_positions.
|
virtual |
Implements etiss::error::Error.
Definition at line 104 of file ErrorDefinition.cpp.
References flip.
|
inline |
Definition at line 117 of file ErrorDefinition.h.
References flip.
|
private |
Definition at line 99 of file ErrorDefinition.h.
|
private |
Definition at line 98 of file ErrorDefinition.h.
Referenced by affectedBits(), and BitFlip().