CreditFlowControl class

A payload-independent view of unit-credit flow control.

Each asserted valid consumes one credit selected by pool. creditReturn contains one independently returned credit bit per pool. The view adds no ports, storage, provisioning, or same-cycle eligibility policy. Protocol-specific interfaces can expose it without changing their wire names, payload layout, or endpoint directions.

Constructors

CreditFlowControl({required Logic valid, required Logic creditReturn, Logic? pool})
Views existing credit-control signals.

Properties

creditReturn → Logic
One returned-credit bit per independent accounting pool.
final
debit → Logic
One-hot debit events suitable for credit counters and VF checkers.
latefinal
hashCode → int
The hash code for this object.
no setterinherited
invalidPool → Logic
A transfer whose selector does not identify a configured pool.
latefinal
pool → Logic?
Accounting pool consumed by a transfer, or null for a single pool.
final
poolCount → int
Number of independently accounted credit pools.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
valid → Logic
Indicates a transfer, not an offer awaiting a ready 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