ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
Public Member Functions | Private Attributes | List of all members
etiss::error::StuckHigh Class Reference

#include <ErrorDefinition.h>

Inheritance diagram for etiss::error::StuckHigh:
Inheritance graph
[legend]
Collaboration diagram for etiss::error::StuckHigh:
Collaboration graph
[legend]

Public Member Functions

template<typename iterateableT >
 StuckHigh (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 > high_positions
 
uint64_t high
 

Additional Inherited Members

- Public Attributes inherited from etiss::error::Error
const bool persistent_
 
int id_
 
std::string name_
 

Detailed Description

Definition at line 125 of file ErrorDefinition.h.

Constructor & Destructor Documentation

◆ StuckHigh()

template<typename iterateableT >
etiss::error::StuckHigh::StuckHigh ( const iterateableT &  positions,
int  id = -1,
const std::string &  name = "" 
)
inline

Definition at line 133 of file ErrorDefinition.h.

References high, and high_positions.

Member Function Documentation

◆ affectedBits()

const std::vector< unsigned > etiss::error::StuckHigh::affectedBits ( )
virtual

Implements etiss::error::Error.

Definition at line 121 of file ErrorDefinition.cpp.

References high_positions.

◆ apply()

void etiss::error::StuckHigh::apply ( uint64_t var)
virtual

Implements etiss::error::Error.

Definition at line 108 of file ErrorDefinition.cpp.

References high.

◆ fapply()

template<typename T >
void etiss::error::StuckHigh::fapply ( T &  var)
inline

Definition at line 147 of file ErrorDefinition.h.

References high.

Member Data Documentation

◆ high

uint64_t etiss::error::StuckHigh::high
private

◆ high_positions

std::vector<unsigned> etiss::error::StuckHigh::high_positions
private

Definition at line 128 of file ErrorDefinition.h.

Referenced by affectedBits(), and StuckHigh().


The documentation for this class was generated from the following files: