CsrInstanceConfig class
Configuration for a register instance.
Apply implementation specific information to an architectural register. This includes instantiation of fields that require runtime configuration. Such runtime configuration might also apply for conditional instantiation of fields within the register
Constructors
Properties
- access → CsrAccess
-
Accessor to the architectural access rule of the register.
no setter
- addr → int
-
Register's address within its block
final
- arch → CsrConfig
-
Underlying architectural configuration.
final
- backdoorAccessible → bool
-
Helper for determining if the register is frontdoor accessible.
no setter
-
fields
→ List<
CsrFieldConfig> -
Accessor to the fields of the register.
no setter
- frontdoorAccessible → bool
-
Helper for determining if the register is frontdoor accessible.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBackdoorReadable → bool
-
Accessor to the architectural backdoor readability of the register.
no setter
- isBackdoorWritable → bool
-
Accessor to the architectural backdoor writability of the register.
no setter
- isFrontdoorReadable → bool
-
Accessor to the architectural frontdoor readability of the register.
no setter
- isFrontdoorWritable → bool
-
Accessor to the architectural frontdoor writability of the register.
no setter
- name → String
-
Accessor to the name of the architectural register.
no setter
- resetValue → int
-
Accessor to the architectural reset value of the register.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int
-
Number of bits in the register.
final
Methods
-
clone(
) → CsrInstanceConfig - Deep clone method.
-
getFieldByName(
String name) → CsrFieldConfig -
Accessor to the config of a particular field
within the register by name
name
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void - Method to validate the configuration of a single register.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited