ProtectedSynchronousReadDataPortInterface<T extends Logic> class
A synchronous read port carrying decoder status with each response.
- Inheritance
-
- Object
- Interface<
DataPortGroup> - DataPortInterface<
T> - SynchronousReadDataPortInterface<
T> - ProtectedSynchronousReadDataPortInterface
Constructors
- ProtectedSynchronousReadDataPortInterface(int dataWidth, int addrWidth, {int syndromeWidth = 1, int correctionCountWidth = 1})
- Creates a status-capable synchronous read port.
- ProtectedSynchronousReadDataPortInterface.typed(T data, int addrWidth, {int syndromeWidth = 1, int correctionCountWidth = 1})
- Creates a status-capable read port with a detached data schema.
Properties
- addr → Logic
-
The "address" bit for a request when en is high.
no setterinherited
- addrWidth → int
-
The width of addresses in the memory.
finalinherited
- allowRenamedPayloadClones → bool
-
Whether typed ports accept recursively type-preserving parent renames.
no setterinherited
- corrected → Logic
-
High when the decoder corrected the returned data.
no setter
- correctionCount → Logic
-
Number of corrected symbols or bits.
no setter
- data → T
-
The data sent or received with the associated request.
no setterinherited
- dataWidth → int
-
The width of data in the memory.
finalinherited
- en → Logic
-
The "enable" bit for this interface, enabling a request.
no setterinherited
- errorDetected → Logic
-
Decoder status for the returned 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
-
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
- syndrome → Logic
-
Decoder syndrome or residual value.
no setter
-
typedPayloadPorts
→ Map<
String, TypedInterfacePortPolicy> -
Ports that should retain and validate their declared payload schemas.
no setterinherited
- uncorrectable → Logic
-
High when the decoder could not reliably correct the returned data.
no setter
- valid → Logic
-
Indicates that data is a valid read response.
no setterinherited
Methods
-
clone(
) → ProtectedSynchronousReadDataPortInterface< T> -
Makes a status-capable port copy.
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