ReplacementAllocationInterface class
A request for an allocation and its combinational response.
- Inheritance
-
- Object
- Interface<
DataPortGroup> - ReplacementAllocationInterface
Constructors
- ReplacementAllocationInterface(int entryCount)
- Creates an allocation port.
Properties
- allowRenamedPayloadClones → bool
-
Whether typed ports accept recursively type-preserving parent renames.
no setterinherited
- commit → Logic
-
Commits the selected entry on the clock edge.
no setter
- en → Logic
-
Requests an allocation.
no setter
- entryCount → int
-
Number of entries managed by the policy.
final
- evict → Logic
-
Indicates that the selected entry already contains valid data.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreConstantPayloadNames → bool
-
Whether generated constant leaf names can differ from driveable clones.
no setterinherited
- index → Logic
-
Selected entry; zero when no allocation is granted.
no setter
-
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
- valid → Logic
-
Indicates that an eligible entry was selected.
no setter
Methods
-
clone(
) → ReplacementAllocationInterface -
Creates a new Interface with the same ports as
this.override -
conditionalDriveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional -
Makes
thisconditionally drive interface signals tagged withtagsonother.inherited -
conditionalReceiveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional -
Makes
thissignals tagged withtagsbe driven conditionally byother.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 tosrcInterfaceand this Interface.inherited -
driveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → void -
Makes
thisdrive interface signals tagged withtagsonother.inherited -
getPorts(
[Iterable< DataPortGroup> ? tags]) → Map<String, Logic> -
Returns all interface ports associated with the provided
tagsas 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
thissignals tagged withtagsbe driven byother.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
nameif it exists, otherwisenull.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited