ReadyValidChannelCodec<LogicType extends Logic, ValueType> class
Converts between a ready/valid payload signal and a semantic value.
- Implementers
Constructors
- ReadyValidChannelCodec({required void drive(LogicType signal, ValueType value), required ValueType sample(LogicType signal, {required bool previous})})
-
Creates a payload codec.
const
Properties
- drive → void Function(LogicType signal, ValueType value)
-
Drives a value onto a signal.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sample → ValueType Function(LogicType signal, {required bool previous})
-
Samples a value from a signal.
final
Methods
-
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