AssociativeInvalidateLookupPort class

A combinational key lookup with synchronous invalidate-by-key.

Inheritance

Constructors

AssociativeInvalidateLookupPort({required int indexWidth, required int keyWidth})
Creates a lookup port.

Properties

allowRenamedPayloadClones → bool
Whether typed ports accept recursively type-preserving parent renames.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
hit → Logic
Whether a matching entry was found.
no setter
ignoreConstantPayloadNames → bool
Whether generated constant leaf names can differ from driveable clones.
no setterinherited
index → Logic
Index of the first matching entry, or zero on a miss.
no setter
indexWidth → int
Width of the selected entry index.
final
invalidate → Logic
Invalidates all valid entries matching key at the next clock edge.
no setter
key → Logic
Key to look up.
no setter
keyWidth → int
Width of the lookup key.
final
ports → Map<String, Logic>
Maps from the Interface's defined port name to an instance of a Logic.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
typedPayloadPorts → Map<String, TypedInterfacePortPolicy>
Ports that should retain and validate their declared payload schemas.
no setterinherited

Methods

clone() → AssociativeInvalidateLookupPort
Creates a new Interface with the same ports as this.
override
conditionalDriveOther(Interface<DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional
Makes this conditionally drive interface signals tagged with tags on other.
inherited
conditionalReceiveOther(Interface<DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional
Makes this signals tagged with tags be driven conditionally by other.
inherited
connectIO(Module module, Interface srcInterface, {Iterable<DataPortGroup>? inputTags, Iterable<DataPortGroup>? outputTags, Iterable<DataPortGroup>? inOutTags, String uniquify(String original)?}) → void
Connects module's inputs, outputs, and inOuts up to srcInterface and this Interface.
inherited
driveOther(Interface<DataPortGroup> other, Iterable<DataPortGroup> tags) → void
Makes this drive interface signals tagged with tags on other.
inherited
getPorts([Iterable<DataPortGroup>? tags]) → Map<String, Logic>
Returns all interface ports associated with the provided tags as a Map from the port name to the Logic port.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
port(String name) → Logic
Accesses a port named name.
inherited
receiveOther(Interface<DataPortGroup> other, Iterable<DataPortGroup> tags) → void
Makes this signals tagged with tags be driven by other.
inherited
setPorts(List<Logic> ports, [Iterable<DataPortGroup>? tags]) → void
Adds a collection of ports to this Interface, each associated with all of tags.
inherited
toString() → String
A string representation of this object.
inherited
tryPort(String name) → Logic?
Provides the port named name if it exists, otherwise null.
inherited

Operators

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