MaskRoundRobinArbiterModel class

A software model of a MaskRoundRobinArbiter.

After granting requester i, requesters above i have priority. If none of them is requesting, the lowest requester wins without changing the mask.

Constructors

MaskRoundRobinArbiterModel(int count)
Creates an arbiter model for count requesters.

Properties

count → int
Number of requesters.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

commit(int? grant) → void
Updates the mask after a clock edge with grant.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Restores the all-requesters mask.
select(bool requesting(int requester)) → int?
The granted requester, or null if nothing requests.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited