SharedStorageQueueModelSystemC class
SystemC backend of the base SharedStorageQueueModel.
The four-state core mirrors the Dart model: state is unknown until a
clock edge samples reset high, and an unknown clock, reset or control, a
pop without a grant, or a push to a channel at or above the channel
count makes every output unknown until the next reset. Pushing with no
free entry or releasing an entry while all are free is reported with
SC_REPORT_ERROR, where the Dart model reports through onError.
Two-state ports wrap the core with generateTwoStateSystemCAdapter;
popIndex and popData are don't-cares while popValid is low.
- Implemented types
Constructors
-
Creates a backend for
description.const
Properties
- description → SharedStorageQueueModelDescription
-
Immutable configuration shared by execution backends.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateSystemC(
{required String className, SystemCModelOptions options = const SystemCModelOptions()}) → String -
Emits a standalone SystemC definition using
className.override -
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