CsrBlockBinding class
A CSR block and its implementation-independent backdoor access.
Constructors
-
CsrBlockBinding({required CsrBlockConfig config, required Logic clk, required Logic reset, required DataPortInterface<
Logic> ? frontWrite, required DataPortInterface<Logic> ? frontRead, bool allowLargerRegisters = false, int logicalRegisterIncrement = 1, BigInt? wideLogicalRegisterIncrement, BigInt? addressExtent, bool asyncReset = false, CsrImplementationConfiguration? implementationConfiguration, bool reserveName = false, bool reserveDefinitionName = false, String? definitionName}) -
Constructs one block using an explicit or scoped implementation policy.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → CsrModel?
-
Model state, or null for RTL.
final
- module → CsrContainer
-
The constructed RTL or software block.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBackdoorPortsByAddr(
int address) → CsrBackdoorInterface - Returns a live backdoor by relative register address.
-
getBackdoorPortsByBigIntAddr(
BigInt address) → CsrBackdoorInterface - Returns a live backdoor by arbitrary-width relative register address.
-
getBackdoorPortsByName(
String register) → CsrBackdoorInterface - Returns a live backdoor for an exposed register.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited