RegisterFileModelConfiguration class

Static configuration for a behavioral model of a RegisterFile.

Constructors

RegisterFileModelConfiguration({required Iterable<LogicValue> resetValues, int? entryCount, RegisterFileReadUnderWrite readUnderWrite = RegisterFileReadUnderWrite.readFirst, RegisterFileFourStatePolicy fourStatePolicy = RegisterFileFourStatePolicy.pessimistic, Iterable<LogicValue>? initialValues, @Deprecated('Use entryCount instead.') int? numEntries})
Creates a configuration with one reset value per entry.

Properties

entryCount → int
Number of implemented entries.
final
fourStatePolicy → RegisterFileFourStatePolicy
Storage and read behavior for four-state values.
final
hashCode → int
The hash code for this object.
no setterinherited
initialValues → List<LogicValue>?
Power-on contents in entry order, present before the first reset, or null to leave entries unwritten until reset.
final
numEntries → int
Former name of entryCount.
no setter
readUnderWrite → RegisterFileReadUnderWrite
Same-address combinational read/write collision behavior.
final
resetValues → List<LogicValue>
Reset values in entry order.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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