Go to the documentation of this file.
34 #ifndef TTA_REGISTER_STATE_HH
35 #define TTA_REGISTER_STATE_HH
bool shared_
Is the storage of this RegisterState shared with someone else?
bool constantZero_
Is this register constant zero?
static NullRegisterState & instance()
virtual const SimValue & value() const
virtual void setValue(const SimValue &value)
RegisterState(int width, bool constantZero=false)
virtual const SimValue & value() const
NullRegisterState & operator=(const NullRegisterState &)
Assignment not allowed.
static NullRegisterState * instance_
Unique instance of NullRegisterState.
SimValue & value_
Value of the RegisterState.
virtual ~NullRegisterState()
virtual void setValue(const SimValue &value)
RegisterState & operator=(const RegisterState &)
Assignment not allowed.