MaskedDataPortInterface class
A DataPortInterface that supports byte-enabled strobing.
- Inheritance
-
- Object
- Interface<
DataPortGroup> - DataPortInterface
- MaskedDataPortInterface
Constructors
- MaskedDataPortInterface(int dataWidth, int addrWidth)
- Constructs a DataPortInterface with mask.
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
- data → Logic
-
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
- hashCode → int
-
The hash code for this object.
no setterinherited
- mask → Logic
-
A bus controlling the mask, where each bit cooresponds to one
byte of data. A high bit is an enable for that chunk of data.
no setter
-
ports
→ Map<
String, Logic> -
Maps from the Interface's defined port name to an instance of a Port.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clone(
) → DataPortInterface -
Makes a copy of this Interface with matching configuration.
override
-
conditionalDriveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional -
Makes
this
conditionally drive interface signals tagged withtags
onother
.inherited -
conditionalReceiveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → Conditional -
Makes
this
signals tagged withtags
be driven conditionally byother
.inherited -
connectIO(
Module module, Interface srcInterface, {Iterable< DataPortGroup> ? inputTags, Iterable<DataPortGroup> ? outputTags, String uniquify(String original)?}) → void -
Connects
module
's inputs and outputs up tosrcInterface
and this Interface.inherited -
driveOther(
Interface< DataPortGroup> other, Iterable<DataPortGroup> tags) → void -
Makes
this
drive interface signals tagged withtags
onother
.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 withtags
be 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
name
if it exists, otherwisenull
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited