16#ifndef SIMICS_FIELD_INTERFACE_H
17#define SIMICS_FIELD_INTERFACE_H
30using bits_type = std::vector<std::pair<uint8_t *, uint8_t>>;
43 virtual std::string_view
name()
const = 0;
Definition: field-interface.h:34
virtual RegisterInterface * parent() const =0
virtual void init(std::string_view desc, const bits_type &bits, int8_t offset)=0
Initialize the field with a description, size in bits and an offset.
virtual std::string_view name() const =0
Get the name of the field without level delimiters.
virtual ~FieldInterface()=default
virtual unsigned number_of_bits() const =0
virtual const std::string & description() const =0
Get the description of the field.
Definition: register-interface.h:37
Definition: value-accessor-interface.h:24
Definition: value-mutator-interface.h:24
Definition: after-bank.h:33
std::vector< std::pair< uint8_t *, uint8_t > > bits_type
Definition: field-interface.h:30