LdpcDecoderFunctor class

A compatible recipe for ready/valid LDPC decoder shells.

Use LdpcDecoderCoreFunctor for a protocol-neutral action boundary.

Constructors

LdpcDecoderFunctor({required String identity, required LdpcDecoderContract contract, required LdpcDecoderBuilder build})
Creates a decoder recipe with a packed-compatible builder.
const
LdpcDecoderFunctor.typed({required String identity, required LdpcDecoderContract contract, required TypedLdpcDecoderBuilder build})
Creates a decoder recipe preserving declared payload types.
const

Properties

contract → LdpcDecoderContract
Static capabilities of decoders built by this functor.
final
hashCode → int
The hash code for this object.
no setterinherited
identity → String
Stable implementation identity.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsTypedPayloads → bool
Whether this functor can build with declared payload types.
no setter

Methods

buildTyped<Input extends Logic, Output extends Logic>({required Logic clk, required Logic reset, required LdpcCode code, required int llrWidth, required ReadyValidCodecInterface<Input> upstream, required ReadyValidCodecInterface<Output> downstream, required String name}) → LdpcDecoder<Input, Output>
Instantiates a decoder with the declared types of both payloads.
call({required Logic clk, required Logic reset, required LdpcCode code, required int llrWidth, required ReadyValidCodecInterface<Logic> upstream, required ReadyValidCodecInterface<Logic> downstream, required String name}) → LdpcDecoder<Logic, Logic>
Instantiates a decoder through the packed-compatible API.
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