SynchronousMemoryRequest class
An immutable requested synchronous-memory shape and timing contract.
Constructors
-
SynchronousMemoryRequest({required int dataWidth, required int addrWidth, required int entryCount, required int writePortCount, required int readPortCount, required List<
bool> maskedWritePorts, required int readLatency, required SynchronousRamReadUnderWrite readUnderWrite, int writeLatency = 0, SynchronousMemoryResetBehavior requiredResetBehavior = SynchronousMemoryResetBehavior.none, ProtectedPartialWritePolicy protectedPartialWritePolicy = ProtectedPartialWritePolicy.none, SynchronousMemoryBankConflictPolicy bankConflictPolicy = SynchronousMemoryBankConflictPolicy.disallow, int bankCount = 1, SynchronousMemoryBankMapping bankMapping = SynchronousMemoryBankMapping.lowAddressBits}) - Creates a synchronous-memory request.
-
SynchronousMemoryRequest.fromPorts({required List<
DataPortInterface< writePorts, required List<Logic> >SynchronousReadDataPortInterface< readPorts, required int entryCount, required int readLatency, required SynchronousRamReadUnderWrite readUnderWrite, int writeLatency = 0, SynchronousMemoryResetBehavior requiredResetBehavior = SynchronousMemoryResetBehavior.none, SynchronousMemoryBankConflictPolicy bankConflictPolicy = SynchronousMemoryBankConflictPolicy.disallow, int bankCount = 1, SynchronousMemoryBankMapping bankMapping = SynchronousMemoryBankMapping.lowAddressBits, ProtectedPartialWritePolicy protectedPartialWritePolicy = ProtectedPartialWritePolicy.none})Logic> > -
Creates a request from concrete memory ports.
factory
Properties
- addrWidth → int
-
Width of each memory address.
final
- bankConflictPolicy → SynchronousMemoryBankConflictPolicy
-
Required behavior for concurrent requests targeting one bank.
final
- bankCount → int
-
Number of physical banks required by the request.
final
- bankMapping → SynchronousMemoryBankMapping
-
Address-to-bank mapping required by the request.
final
- dataWidth → int
-
Width of one stored word.
final
- entryCount → int
-
Number of addressable words.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
maskedWritePorts
→ List<
bool> -
One entry per write port indicating whether it carries a write mask.
final
- protectedPartialWritePolicy → ProtectedPartialWritePolicy
-
How partial writes are applied when the stored word is protected.
final
- readLatency → int
-
Requested enabled-read to response-valid latency.
final
- readPortCount → int
-
Number of independent read ports.
final
- readUnderWrite → SynchronousRamReadUnderWrite
-
Required same-address read/write behavior.
final
- requiredResetBehavior → SynchronousMemoryResetBehavior
-
Minimum reset behavior required by the controller.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- writeLatency → int
-
Requested write sampling-edge to commit latency.
final
- writePortCount → int
-
Number of independent write ports.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited