memories library

Documentation-only family index. Import package:rohd_hcl/rohd_hcl.dart.

Classes

AddressedMemoryImage<DataType extends Object>
Backing-independent logical image of addressed memory contents.
AddressedMemoryImageChunk<DataType extends Object>
One bounded transfer unit of an AddressedMemoryImage.
AssociativeIndexedSideReadProvider
Optional combinational indexed access to stored key and validity.
AssociativeIndexedSideReadRequest
Indexed side-read request for associative key and validity state.
AssociativeIndexedSideReadResponse
Compatibility response with a flat packed key.
AssociativeInvalidateLookupPort
A combinational key lookup with synchronous invalidate-by-key.
AssociativeInvalidateMemory
Parallel, zero-cycle associative lookup with invalidate-by-key.
AssociativeInvalidateMemoryModelDescription
Frozen port geometry of a model-backed AssociativeInvalidateMemory.
AssociativeInvalidationRequest
A request to invalidate selected associative-memory entries.
AssociativeInvalidator
Converts an entry mask into ordered indexed invalidations.
AssociativeLookupPortInterface
A combinational associative-memory lookup port.
AssociativeLookupRequest<KeyType extends Logic>
A scheduled associative lookup request.
AssociativeLookupResponse
A scheduled associative lookup response.
AssociativeMatcher
Compatibility matcher with flattened query and stored-key module ports.
AssociativeMatchSelector
Compatibility selector with flattened selection value ports.
AssociativeMemory<KeyType extends Logic>
A raw associative memory with fixed lookup timing and initiation interval.
AssociativeMemoryBinding
A resolved associative-memory implementation and its instantiated module.
AssociativeMemoryCapabilities
Static capabilities advertised by an associative-memory implementation.
AssociativeMemoryContract
Timing and behavior selected for one associative-memory binding.
AssociativeMemoryFunctor
A callable implementation for raw associative memory.
AssociativeMemoryRequest
An immutable requested associative-memory shape and behavior.
AssociativeModel
Clock-stepped software model for indexed CAM updates and associative lookup.
AssociativeModelDescription
Portable port geometry for a clock-stepped associative software model.
AssociativeModelExecutionImage
Detached execution state, including in-flight updates and lookups.
AssociativeModelLookup
A sampled lookup. A null lookup means its port is disabled.
AssociativeModelState
Detached raw associative state. Entries omitted during load are unchanged, or reset when replace is requested.
AssociativeModelUpdate
A sampled update. A null update means its port is disabled.
AssociativeMultiIndexedSideReadProvider
Optional combinational access through multiple indexed side-read ports.
AssociativePortInterface
Common shape shared by associative update and lookup ports.
AssociativeUpdatePortInterface
A port that updates one indexed associative-memory entry.
AssociativeUpdateRequest<KeyType extends Logic>
A scheduled indexed associative-memory update.
AssociativeValidityMaskProvider
Optional combinational access to all stored validity bits.
BankAddressMapper
Splits a flat address into a bank index and a bank-local row.
BankedMemoryCoordinate
One bank-local coordinate in a BankedMemoryLayout.
BankedMemoryLayout
Compile-time geometry for a flat address space partitioned into banks.
BankedSynchronousMemory<LogicType extends Logic>
A flat synchronous memory composed from independently addressed banks.
BehavioralModelProvider
Legacy provider contract, retained for existing implementations.
ByteMaskedWriteRequest
One word-addressed write with one enable per byte, least-significant first.
Cache<T extends Logic>
A blocking cache with caller-managed fills and evictions.
CacheBackingLine<T extends Logic, M extends Logic>
A backing-store block: data and its opaque line metadata.
CacheBackingPorts<T extends Logic, M extends Logic>
Ports from a cache to a block-addressed backing store.
CacheFillPort<T extends Logic>
One caller-owned fill port and its associated eviction response.
CacheLookupPort<T extends Logic>
One caller-owned cache lookup interface.
CacheModel<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Simulation-only transactional cache.
CacheModelBackingStore
Sparse, persistent backing storage for CacheModel.
CacheModelBackingStoreImage
Detached sparse backing-store state, including opaque line metadata.
CacheModelImage
Detached full behavioral-cache state, including in-flight transactions.
CacheModelReplacement
Software replacement state used by a CacheModel.
CacheModelRoundRobin
Round-robin replacement which prefers invalid ways.
CacheProtocolAdapter<Q extends Logic, S extends Logic, T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Boundary implemented by an adapter for an external request/response protocol.
CacheReplacement
Factory for the replacement policy used independently in each cache set.
CacheScheduleRequest
One candidate for an atomic grant from a cache scheduler.
CacheSchedulerModelDescription
Portable geometry of a fixed-priority cache scheduler.
CacheSchedulerPorts
Resource and conflict signals shared by one scheduling decision.
CacheTransactionAdapter<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Buffers requests and tracks tokens across a transactional cache port.
CacheTransactionCapabilities
Static promises of a transactional cache implementation.
CacheTransactionCore<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Boundary implemented by a transactional cache core.
CacheTransactionEviction<T extends Logic, M extends Logic, C extends Logic>
An existing block reported before replacement or invalidation.
CacheTransactionPort<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Request, response, and eviction channels for a transactional cache port.
CacheTransactionRequest<T extends Logic, M extends Logic, C extends Logic>
A request carrying separately typed block data, stored metadata and context.
CacheTransactionResponse<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
Completion carrying the request token and context.
Cam<T extends Logic>
A content-addressable memory (CAM) preserving tag type T.
CaseAssociativeMemory
Indexed updates and exact-case associative lookups compatible with Cam.
CaseAssociativeMemoryModelDescription
Frozen port geometry of a model-backed CaseAssociativeMemory.
ChunkedStateSnapshotParticipant<DataType extends Object>
Adapts an acknowledged addressed-image chunk endpoint to the registry.
CircularWindowPayloadMemory<LogicType extends Logic>
Banked payload storage addressed by a wrapping circular-window index.
CombinationalMissStatusTable<MetadataType extends Logic>
Associates cache-line misses with transaction tags and merge state.
CombinationalTaggedStateTable<LogicType extends Logic>
Stores state directly at a bounded transaction tag in flops.
ComponentModel
A portable behavioral implementation, not a synthesized RTL graph.
ComponentModelDescription
Simulator-independent elaborated metadata for a behavioral component.
ComponentModelProvider
Optional capability for modules with a portable behavioral implementation.
ComponentModelVerilog
Optional standalone SystemVerilog simulation model.
ComponentModelVerilogProvider
Optional provider for a Verilog model independent of SystemC support.
CompositeStateSnapshotImage
Image containing the coordinated state of a composite participant.
CompositeStateSnapshotParticipant
Groups sidecar and payload participants under one logical boundary.
Csr
Logic representation of a Control and Status Register (CSR).
CsrBackdoorInterface
An interface to interact very simply with a CSR.
CsrBlock
Logic representation of a block of registers.
CsrBlockBinding
A CSR block and its implementation-independent backdoor access.
CsrBlockConfig
Definition for a coherent block of registers.
CsrBlockModel
Simulation-only CSR block with indexed software storage and live backdoors.
CsrConfig
Configuration for an architectural register.
CsrContainer
A base class for things that a bunch of CSRs inside.
CsrFieldConfig
Configuration for a register field.
CsrImplementationConfiguration
Elaboration policy for a CSR top or block binding.
CsrImplementationScope
Scoped construction policy for CSR tops and block bindings.
CsrInstanceConfig
Configuration for a register instance.
CsrModel
Software-held state for a CSR top or block.
CsrModelDescription
Portable CSR metadata shared by ROHD and SystemC execution.
CsrModelExecutionImage
Detached CSR execution state, including sampled inputs and pending edges.
CsrModelHardwarePorts
Frozen hardware port names for one explicitly exposed register.
CsrModelRegisterDescription
Frozen configuration of one register, with no runtime signals or callbacks.
CsrTop
Top level module encapsulating groups of CSRs.
CsrTopConfig
Definition for a top level module containing CSR blocks.
DataPortInterface<LogicType extends Logic>
An interface to a simple memory that only needs enable, address, and data.
ExternalAssociativeMemory
An external associative-memory macro with explicit timing parameters.
ExternalMultiPortSynchronousMemory
A generalized synchronous memory implemented by an external macro.
ExternalRegisterFile
A combinational-read register file implemented outside generated RTL.
ExternalSynchronousRam
A parameterized 1R1W synchronous RAM implemented outside generated RTL.
ExternalTrueDualPortSynchronousMemory
A true dual-port synchronous memory implemented by an external macro.
FixedPriorityCacheScheduler
Greedily grants feasible requests in ascending port order.
FixedPriorityCacheSchedulerModel
Software equivalent of the fixed-priority cache scheduler.
FreeIndexQueue
Protocol-neutral FIFO-policy free-index allocator core.
HeadMetadataCache<T extends Logic>
Flop-backed per-entry metadata for single-cycle arbitration decisions.
HeadMetadataEntry
Per-entry queue-head metadata used for single-cycle arbitration.
IndexAllocator
Protocol-neutral action contract of a free-index allocator core.
IndexAllocatorOwnershipImage
Logical ownership state of a bounded index allocator.
IndexedMemoryWriteBypass<LogicType extends Logic>
Selects a pending write that bypasses an indexed-memory read.
InferredSram<T extends Logic>
A synchronous, single-port SRAM described as an inferable Verilog array.
InferredSramDescription
Immutable port geometry and capacity for a single-port SRAM.
InferredSramImage
A detached SRAM execution image, including the registered read output.
InvalidatingAssociativeCache<T extends Logic>
A fully associative cache with one lookup, one fill, invalidation by key, and silent replacement.
KvCacheBlockBinding
Indexed binding update for one logical KV-cache block.
KvCacheBlockLookup
Logical KV-cache block lookup request.
KvCacheBlockLookupResult
Physical KV-cache block binding returned by a lookup.
KvCacheBlockTable
Protocol-neutral paged KV-cache logical-to-physical block table.
MaskedDataPortInterface<LogicType extends Logic>
A DataPortInterface that supports byte-enabled strobing.
Memory<LogicType extends Logic>
A generic memory with variable numbers of read and write ports.
MemoryArrayCapabilities
Fixed-timing capabilities of one memory array implementation.
MemoryArrayFunctor<T extends Logic>
A capability-checked factory for typed, fixed-timing memory arrays.
MemoryBankAdmission
Produces one-cycle admission grants for requests targeting banked memory.
MemoryBindingIdentity
Physical technology and banking identity for a logical memory binding.
MemoryConfiguration
Selects a memory backing without changing the logical component.
MemoryConfigurationScope
Provides a scoped default MemoryConfiguration during elaboration.
MemoryFrontBuffer<LogicType extends Logic>
Converts raw memory responses into an irrevocable elastic output stream.
MemoryIndexAllocator
Protocol-neutral linked-free-list index allocator core.
MemoryPortArbiter<LogicType extends Logic>
Protocol-neutral action core shared by ReadyValidMemoryPortArbiter.
MemoryPortGeometry
Addressed data-port geometry, without imposing latency or access rules.
MemoryStateAccess<Image extends Object>
Optional raw software state access, separate from hardware port exposure.
MemoryStateAccessCapabilities
Capabilities for direct memory-state access operations.
MemoryStateAccessCapabilityProvider
Provides direct memory-state access capability information.
MemoryValueCodec
Lossless four-state values for images and generated behavioral metadata.
MemoryWriteRequest<LogicType extends Logic>
One logical write request to ReadyValidMemoryPortArbiter.
MissStatusEntryImage<LineAddressType extends Object, TransactionTagType extends Object, MetadataType extends Object>
One allocated miss-status entry.
MissStatusTable<MetadataType extends Logic>
Stores miss payload metadata in a replaceable synchronous memory.
MissStatusTableController
Controls miss merging, ownership, and lifecycle independently of payload.
MissStatusTableImage<LineAddressType extends Object, TransactionTagType extends Object, MetadataType extends Object>
Logical state of a miss-status table.
ModelSystemCHierarchy
Generated SystemC source and the actual class name of its top module.
MultiPortCache<T extends Logic>
A multi-port cache with independently buffered eviction responses.
MultiPortSynchronousMemory<LogicType extends Logic>
Portable register-backed memory with independently connected read and write ports.
MultiPortSynchronousMemoryBinding
A resolved generalized multi-port memory binding.
MultiPortSynchronousMemoryFunctor
Capability-aware generalized multi-port memory implementation.
OutstandingRequestLimiter
Limits requests whose responses cannot be backpressured.
ParallelAssociativeMemory
Compatibility parallel-flop associative memory with packed key storage.
ParallelAssociativeMemoryImplementation<KeyType extends Logic>
Parallel-flop associative memory shared by the compatibility ParallelAssociativeMemory and its generic same-named entry point.
ParallelAssociativeMemoryModel
Software equivalent of the combinational-lookup parallel-flop memory.
ParallelAssociativeMemoryModelDescription
Frozen port geometry for a parallel associative behavioral model.
ProtectedMemoryRmwController
One-entry ready/valid controller for protected read-modify-write updates.
ProtectedMemoryStateImage<DataType extends Object, MetadataType extends Object>
Backing-independent protected-memory state image.
ProtectedMemoryStateSnapshotParticipant<DataType extends Object, MetadataType extends Object>
Registry adapter for a protected logical state endpoint.
ProtectedMemoryWriteMerger<T extends Logic>
Combinationally merges a masked logical word for protected RMW flows.
ProtectedMemoryWriteRequest<T extends Logic>
A ready/valid payload for a protected memory write.
ProtectedSynchronousMemory
A synchronous memory adapter that stores protected, encoded words.
ProtectedSynchronousReadDataPortInterface<T extends Logic>
A synchronous read port carrying decoder status with each response.
ReadResponseBuffer<LogicType extends Logic>
Converts an unbackpressured memory response into an irrevocable stream.
ReadResponseTracker<T extends Logic>
Associates issued read metadata with ordered raw-memory responses.
ReadyValidAssociativeInvalidator
A ready/valid shell around AssociativeInvalidator.
ReadyValidAssociativeMemory
Base API for an ordered ready/valid associative memory.
ReadyValidFreeIndexQueue
Allocates free indices in FIFO reuse order from a synchronous-memory ring.
ReadyValidIndexAllocator
Common contract implemented by ready/valid free-index allocators.
ReadyValidKvCacheBlockTable
Ready/valid shell around KvCacheBlockTable.
ReadyValidMemoryIndexAllocator
Allocates free indices from a synchronous-memory-backed linked free list.
ReadyValidMemoryPortArbiter<LogicType extends Logic>
Shares one synchronous 1R1W memory port among ready/valid clients.
ReadyValidSramScanAssociativeMemory
A ready/valid shell around SramScanAssociativeMemory.
ReferenceCountedAssociativeEntryImage<KeyType extends Object>
One allocated entry in a reference-counted associative table image.
ReferenceCountedAssociativeTable
A single-issue reference-counted associative table.
ReferenceCountedAssociativeTableImage<KeyType extends Object>
Logical state of a reference-counted associative table.
RegisterFile<LogicType extends Logic>
A flop-based Memory.
RegisterFileBinding
A register-file module paired with its validated request and capabilities.
RegisterFileCapabilities
Static capabilities of a combinational register-file implementation.
RegisterFileFunctor
Capability-checked constructor for combinational register-file storage.
RegisterFileRequest
Requested topology and behavior for one register-file instance.
ReplacementAccessInterface
An access to an existing entry.
ReplacementAllocationInterface
A request for an allocation and its combinational response.
ReplacementCommitInterface
A previously reserved entry whose allocation now commits.
ReplacementPolicy
Common interface for independently selectable replacement policies.
ReplacementPolicyModel
Software replacement policy using the same ports as ReplacementPolicy.
ReplacementPolicyModelDescription
Immutable configuration for a portable replacement policy.
ReplacementPolicyModelImage
Detached state for a behavioral replacement policy.
ReplacementReservations
Caller-owned persistent reservations for one set of replacement entries.
RoundRobinReplacement
Chooses eligible entries cyclically, advancing after each allocation.
ScheduledAssociativeMemoryContract
Throughput and behavior of a scheduled associative-memory implementation.
SerializedCache<T extends Logic, M extends Logic, C extends Logic, R extends Logic>
A serialized transactional cache using a fixed-latency data array.
SetAssociativeCacheLayout
Immutable geometry and address mapping for set-associative storage.
SetAssociativeCacheLookup
A tag lookup within one set of a SetAssociativeCacheLayout.
SetAssociativeCacheLookupResult<DataType extends Logic>
The result of a SetAssociativeCacheLookup.
SetAssociativeCacheSidecarImage<DataType extends Object>
A logical image of set-associative tags, payloads, and validity sidecars.
SetAssociativeCacheSidecars<DataType extends Logic>
Set-associative tag/data/valid sidecar storage.
SetAssociativeCacheSlot
One [set, way] slot of a SetAssociativeCacheLayout.
SetAssociativeCacheUpdate<DataType extends Logic>
A write of one [set, way] slot's tag, payload, and validity.
SharedMultiQueueImage<DataType extends Object>
Stable logical state for ordered queues sharing one capacity.
ShiftRegister<T extends Logic>
A shift register with configurable width and depth and optional enable and reset, preserving the payload type T at every stage.
SlidingWindow<T extends Logic>
A newest-to-oldest contiguous window of the current and delayed samples.
SnapshotableCacheModelReplacement
Optional snapshot support for a behavioral replacement policy.
SoftwareStateTransactionAdapter<ImageType extends Object>
Adapts snapshot and restore callbacks to the software transaction contract.
SramScanAssociativeMemory<KeyType extends Logic>
Protocol-neutral deterministic full-scan associative memory.
StateSnapshot
A complete ordered collection of participant images.
StateSnapshotCoordinator
Coordinates quiescence, transfer, and commit for a snapshot registry.
StateSnapshotLifecycle
Lifecycle hooks used by coordinated hardware snapshot transactions.
StateSnapshotOrdering
Optional dependency metadata for deterministic snapshot ordering.
StateSnapshotParticipant
One registered logical state participant in a design snapshot.
StateSnapshotRecord
One participant image stored in a complete design snapshot.
StateSnapshotRegistry
Coordinates snapshots and restores for registered state participants.
StateTransactionCapabilities
Static snapshot and restore capabilities of a stateful component.
StateTransactionCapabilityProvider
Provides static snapshot and restore capabilities for a component.
StateTransactionChunkCompletion<ChunkType extends Object>
Completion acknowledgement for one chunk transfer request.
StateTransactionChunkEndpoint<ChunkType extends Object>
A hardware endpoint that acknowledges bounded state-image chunks.
StateTransactionChunkRequest<ChunkType extends Object>
One correlated request in an acknowledged chunk transfer.
StateTransactionCompletion<ImageType extends Object>
Completion of one accepted state transaction.
StateTransactionEndpoint<ImageType extends Object>
Common transaction endpoint for a logical state image.
StateTransactionHardwareCompletion
Acknowledged response from a hardware state endpoint.
StateTransactionHardwareEndpointContract
Fixed-width identity and payload contract for a hardware endpoint.
StateTransactionHardwareRequest
One ready/valid request presented to a hardware state endpoint.
StateTransactionProvider<ImageType extends Object>
A component exposing standardized snapshot and restore transactions.
StateTransactionRequest<ImageType extends Object>
One correlated snapshot or restore request.
StructExpressionProbe<T extends LogicStructure>
Evaluates a hardware expression of a structure against a stored value.
SynchronousAssociativeLookupPortInterface
A fixed-latency associative-memory lookup port.
SynchronousAssociativeMemory<KeyType extends Logic>
A raw associative memory with positive fixed lookup latency.
SynchronousAssociativeMemoryModel<KeyType extends Logic>
A simulation-only, positive-latency associative memory.
SynchronousMemory<LogicType extends Logic>
A Memory with explicit valid signals on all read responses.
SynchronousMemoryBankConflictResolver
Resolves one cycle of banked requests according to a declared policy.
SynchronousMemoryBankedRequestPlan
A validated one-cycle routing and admission plan for a banked memory.
SynchronousMemoryBankTopology
Resolves flat addresses into physical bank and row coordinates.
SynchronousMemoryBinding
A resolved implementation that can be instantiated on matching ports.
SynchronousMemoryCapabilities
Static capabilities advertised by a synchronous-memory implementation.
SynchronousMemoryContract
Timing and behavior actually selected for one memory binding.
SynchronousMemoryFunctor
A callable backing-store implementation for a synchronous memory.
SynchronousMemoryRequest
An immutable requested synchronous-memory shape and timing contract.
SynchronousParallelAssociativeMemory<KeyType extends Logic>
A fixed-latency associative memory backed by parallel flop storage.
SynchronousReadDataPortInterface<LogicType extends Logic>
A read port whose data is accompanied by an explicit response-valid bit.
SynchronousReadOnlyMemory<LogicType extends Logic>
A synchronous, read-only word memory.
SynchronousRegisterFile<LogicType extends Logic>
A synthesizable flop-backed synchronous memory.
SystemCModelOptions
Execution-boundary choices, independent of storage and memory family.
TaggedReplayBufferImage<DataType extends Object>
A replay-buffer image with payload and scheduling sidecars explicit.
TaggedStatePayloadSidecarImage<DataType extends Object>
A tagged-state image with payload and allocation sidecar regions explicit.
TaggedStateTable<LogicType extends Logic>
Stores directly indexed tagged state in a replaceable synchronous memory.
TaggedStateTableImage<DataType extends Object>
A stable logical image of a direct-index tagged-state table.
TagInterface<T extends Logic>
An interface to a Content-Addressable Memory (CAM) that allows querying for tags and returns the index of the matching tag if found.
TagRelease
Releases ownership of a live tag.
TappedDelayLine<T extends Logic>
A shift-register delay line exposing selected sample delays.
TreePseudoLru
Tree pseudo-LRU replacement over integer state and masks.
TreePseudoLruReplacement
A binary-tree pseudo-LRU policy for a power-of-two number of entries.
TrueDualPortMemoryFunctor
A late-bound external true dual-port memory implementation.
TrueDualPortMemoryPort<LogicType extends Logic>
A port that can independently issue reads and writes.
TrueDualPortSynchronousMemory<LogicType extends Logic>
Portable flop-backed true dual-port synchronous memory.
TypedAssociativeIndexedSideReadResponse<T extends Logic>
Indexed side-read response retaining the declared key type and shape.
TypedAssociativeLookupPortInterface<T extends Logic>
An associative lookup port preserving a typed key schema.
TypedAssociativeUpdatePortInterface<T extends Logic>
An associative update port preserving a typed key schema.
TypedStateSnapshotParticipant<ImageType extends Object>
Adapts a typed state endpoint to the heterogeneous snapshot registry.

Enums

AssociativeBulkOperationCompletion
When a bulk associative operation acknowledges completion.
AssociativeDuplicateKeyPolicy
Whether an associative memory permits more than one entry per key.
AssociativeLookupUpdatePolicy
Visibility of an update concurrent with a lookup of the same key.
AssociativeMatchMode
Key comparison semantics for an associative lookup.
AssociativeMatchSelection
Selection policy when several valid entries match one lookup.
AssociativeMemoryImplementationKind
How an associative-memory implementation participates in generated RTL.
AssociativeMemoryResetBehavior
Reset behavior provided or required by associative storage.
AssociativeMemoryResetTiming
Whether reset is sampled by a clock edge or takes effect immediately.
AssociativeResultShape
Result information required from an associative lookup.
AssociativeUpdateCollisionPolicy
Resolution of simultaneous updates targeting the same entry index.
CacheBackingOperation
Extension operations of a cache with a backing store.
CacheDataStorage
Data storage used by a cache set.
CacheEvictionConcurrency
Arbitration for independently buffered eviction responses.
CacheExecutionImageFormat
Portable whole-cache image representations.
CacheModelTiming
Timing of a CacheModel.
CacheReadDuringFill
Lookup behavior when a fill for the same block is accepted.
CacheSameBlockOrdering
Ordering of operations to the same block accepted on different edges.
CacheSameCycleOrdering
Tie-breaking for same-block requests accepted on the same edge.
CacheTransactionEvictionCause
Why an existing block is reported on the eviction channel.
CacheTransactionOperation
Operation encoded in a CacheTransactionRequest.
CacheTransactionOrdering
Ordering of responses on one transaction port.
CacheTransactionStatus
Completion encoded in a CacheTransactionResponse.
CsrAccess
Definitions for various register access patterns.
CsrBackdoorPortGroup
A grouping for interface signals of CsrBackdoorInterfaces.
CsrFieldAccess
Definitions for various register field access patterns.
CsrImplementation
Implementation of a CSR container, independent of its register map.
DataPortGroup
A grouping for interface signals of DataPortInterfaces.
MemoryArbitrationPolicy
Scheduling policy for ReadyValidMemoryPortArbiter.
MemoryArrayImplementation
How a memory array participates in generated hardware.
MemoryArrayReadCollision
Read behavior when a read and a write target the same entry.
MemoryArrayWriteCollision
Resolution of writes to the same entry and overlapping bits.
MemoryBacking
Logical storage implementation selected for a memory component.
MemoryBankingPolicy
Policy mapping a flat entry index into a memory bank and bank-local row.
ProtectedPartialWritePolicy
Policy for applying a partial write to protected memory.
RegisterFileFourStatePolicy
Treatment of high impedance and ambiguous register-file controls.
RegisterFileReadUnderWrite
Behavior for a combinational read colliding with an enabled write.
RegisterFileWriteConflictResolution
Resolution of simultaneous writes to the same register-file entry.
ReplacementPolicyModelKind
Built-in replacement algorithms available in the software policy.
ScheduledAssociativeUpdateAdmission
Admission policy for updates to a scheduled associative memory.
StateSnapshotTransactionPhase
Phase at which a coordinated snapshot transaction is executing.
StateTransactionChunkOperation
Operation for one acknowledged logical-image chunk.
StateTransactionCompletionMode
How completion of an accepted state transaction is reported.
StateTransactionOperation
Operation requested from a state transaction endpoint.
StateTransactionQuiescence
Quiescence required before a state transaction may be accepted.
StateTransactionTransport
Transport used to execute a state snapshot or restore transaction.
SynchronousMemoryBankConflictPolicy
Resolution required when concurrent ports target one physical bank.
SynchronousMemoryBankMapping
Address mapping used to select a physical memory bank.
SynchronousMemoryImplementationKind
How a synchronous-memory implementation participates in generated RTL.
SynchronousMemoryResetBehavior
Reset behavior provided or required by synchronous memory storage.
SynchronousRamReadUnderWrite
Behavior requested for a read and write of the same address on one edge.
SystemCModelPortType
Representation of signals at a behavioral SystemC boundary.
SystemCUnknownOutputPolicy
Explicit treatment of unknown outputs at a two-state boundary.
TaggedStateCollisionPolicy
Resolves a same-tag write and release accepted in the same cycle.
TrueDualPortMemoryGroup
Signal groups on a true dual-port memory port.
TrueDualPortWriteConflictPolicy
Policy for two writes accepted on the same address in one cycle.

Mixins

ResettableEntries
Provides functionality for structures with many entries to have various reset capabilities.
SoftwareStateTransactionEndpoint<ImageType extends Object>
Immediate software endpoint for models exposing image and load.

Extensions

CsrModelSystemC on CsrModelDescription
Behavioral SystemC export for whole-top software CSRs.
CsrModelVerilog on CsrModelDescription
Behavioral SystemVerilog export for CSR model descriptions.
LogicValueKnownBool on LogicValue
Interprets a one-bit LogicValue as a three-valued boolean.
SynchronousRamReadUnderWriteParameter on SynchronousRamReadUnderWrite
SystemVerilog parameter spelling for SynchronousRamReadUnderWrite.
ThreeValuedBool on bool?
Three-valued logic where null represents an unknown value.

Constants

behavioralParallelAssociativeMemoryFunctor → const AssociativeMemoryFunctor
Legacy name for parallelAssociativeMemoryModelFunctor.
flopRegisterFileFunctor → const RegisterFileFunctor
Standard direct-flop register-file implementation.
multiPortSynchronousMemoryFunctor → const MultiPortSynchronousMemoryFunctor
Capability declaration for the portable generalized multi-port backing.
multiPortSynchronousMemoryModelFunctor → const MultiPortSynchronousMemoryFunctor
Generalized multi-port memory with simulation-only sparse word storage.
parallelAssociativeMemoryFunctor → const AssociativeMemoryFunctor
Synthesizable parallel-flop associative-memory functor.
parallelAssociativeMemoryModelFunctor → const AssociativeMemoryFunctor
Simulation-only parallel associative storage for cache tag factories.
synchronousAssociativeMemoryModelFunctor → const AssociativeMemoryFunctor
Simulation-only, positive-latency associative storage over the generic software model, with SystemC and Verilog exports.
synchronousParallelAssociativeMemoryFunctor → const AssociativeMemoryFunctor
Synthesizable fixed-latency parallel-flop associative-memory functor.
synchronousRegisterFileFunctor → const SynchronousMemoryFunctor
Flop-backed backing-store functor.
trueDualPortMemoryModelFunctor → const TrueDualPortMemoryFunctor
True dual-port memory with simulation-only sparse word storage.

Functions

behavioralRegisterFileArray<T extends Logic>() → MemoryArrayFunctor<T>
Former name of registerFileModelArray.
componentModelOf(Object candidate) → ComponentModel?
Finds a portable model from either the current or legacy provider contract.
configuredRegisterFile(Logic clk, Logic reset, List<DataPortInterface<Logic>> writePorts, List<DataPortInterface<Logic>> readPorts, {required int entryCount, required String name, MemoryConfiguration? memoryConfiguration, RegisterFileFunctor? implementation}) → Memory<Logic>
Builds a combinational-read register file using the resolved storage.
exactAssociativeKeyComparator({required Logic query, required Logic stored, required int index, required String name}) → Logic
Creates an exact-key comparison.
externalAssociativeMemoryFunctor({required String definitionName, required AssociativeMemoryCapabilities capabilities, String? identity, Map<String, String>? parameters}) → AssociativeMemoryFunctor
Creates a capability-aware external associative-memory binding.
externalMultiPortMemoryFunctor({required String definitionName, required SynchronousMemoryCapabilities capabilities, String? identity, Map<String, String>? parameters}) → MultiPortSynchronousMemoryFunctor
Creates a capability-aware external generalized multi-port macro binding.
externalRegisterFileFunctor({required String definitionName, required Set<RegisterFileReadUnderWrite> supportedReadUnderWrite, String? identity, Map<String, String>? parameters}) → RegisterFileFunctor
Creates an external combinational-read register-file implementation.
externalSynchronousRamFunctor({required String definitionName, required Set<SynchronousRamReadUnderWrite> supportedReadUnderWrite, String? identity, int minimumEntryCount = 1, int? maximumEntryCount, int minimumDataWidth = 1, int? maximumDataWidth, int minimumReadLatency = 1, int? maximumReadLatency, Map<String, String>? parameters}) → SynchronousMemoryFunctor
Creates a 1R1W SynchronousMemoryFunctor for a named technology SRAM macro.
externalTrueDualPortMemoryFunctor({required String definitionName, String? identity, int? maskWidth, Map<String, String>? parameters}) → TrueDualPortMemoryFunctor
Creates a descriptor for an external true dual-port macro.
generateAssociativeInvalidateMemoryModelVerilog(AssociativeInvalidateMemoryModelDescription description, String moduleName) → String
Generates a simulation-only implementation of AssociativeInvalidateMemory.
generateBehavioralSystemC(Object candidate, String className, {SystemCModelOptions options = const SystemCModelOptions()}) → String?
Former name of generateModelSystemC.
generateBehavioralSystemCHierarchy(Module top, {required ModelSystemCSelector select, SystemCUnknownOutputPolicy unknownOutputs = SystemCUnknownOutputPolicy.error}) → ModelSystemCHierarchy
Former name of generateModelSystemCHierarchy.
generateCaseAssociativeMemoryModelVerilog(CaseAssociativeMemoryModelDescription description, String moduleName) → String
Generates a simulation-only implementation of CaseAssociativeMemory.
generateModelSystemC(Object candidate, String className, {SystemCModelOptions options = const SystemCModelOptions()}) → String?
Generic discovery callback for external exporters, without family checks.
generateModelSystemCHierarchy(Module top, {required ModelSystemCSelector select, SystemCUnknownOutputPolicy unknownOutputs = SystemCUnknownOutputPolicy.error}) → ModelSystemCHierarchy
Generates a two-state SystemC hierarchy with explicit behavioral leaves.
generateModelSystemVerilog(Object candidate, String moduleName) → String?
Discovers an explicitly supported behavioral SystemVerilog implementation.
generateParallelAssociativeMemoryModelVerilog(ParallelAssociativeMemoryModelDescription description, String moduleName) → String
Generates a simulation-only implementation of the parallel CAM contract.
generateReplacementPolicyModelVerilog(ReplacementPolicyModelDescription description, String moduleName) → String
Generates a simulation-only implementation of a replacement policy model.
generateTwoStateSystemCAdapter({required String className, required String coreClassName, required String coreSource, required Map<String, int> inputPorts, required Map<String, int> outputPorts, required SystemCModelOptions options, Map<String, String> qualifiedBy = const {}, String clock = 'clk', String reset = 'reset'}) → String
Wraps a four-state SystemC model with two-state ports of the same names.
hashedProbedAssociativeMemoryFunctor({required String definitionName, required AssociativeMemoryCapabilities capabilities, required int maximumProbeCount, required String fullTableBehavior, String? identity, Map<String, String>? parameters}) → AssociativeMemoryFunctor
Creates an external bounded hashed/probed associative-memory binding.
higherAssociativeSelectionValue({required Logic candidateValue, required Logic selectedValue, required int candidateIndex, required Logic selectedIndex, required String name}) → Logic
Prefers a candidate with a higher selection value.
inferredSramArray<T extends Logic>() → MemoryArrayFunctor<T>
Creates a single-port, one-cycle inferred SRAM factory.
lowerAssociativeSelectionValue({required Logic candidateValue, required Logic selectedValue, required int candidateIndex, required Logic selectedIndex, required String name}) → Logic
Prefers a candidate with a lower selection value.
modelVerilogDefinition(ComponentModelVerilog model, String definitionType) → String
Emits model's behavioral Verilog as module definition definitionType.
multiPortSynchronousMemoryBuilder({required Logic clk, required Logic reset, required List<DataPortInterface<Logic>> writePorts, required List<SynchronousReadDataPortInterface<Logic>> readPorts, required int entryCount, required int readLatency, required int writeLatency, required SynchronousRamReadUnderWrite readUnderWrite, required SynchronousMemoryBankConflictPolicy bankConflictPolicy, required int bankCount, required SynchronousMemoryBankMapping bankMapping, required String name, RegisterFileFunctor? storageImplementation}) → void
Functor for the portable generalized multi-port register-backed memory.
parallelAssociativeMemoryBuilder({required Logic clk, required Logic reset, required List<AssociativeUpdatePortInterface> updatePorts, required List<AssociativeLookupPortInterface> lookupPorts, required AssociativeMemoryRequest request, required AssociativeMemoryContract contract, required String name}) → AssociativeMemory<Logic>
Builds parallel-flop associative memory for a resolved contract.
parallelMultiSideReadBuilder({required Logic clk, required Logic reset, required List<AssociativeUpdatePortInterface> updatePorts, required List<AssociativeLookupPortInterface> lookupPorts, required List<AssociativeIndexedSideReadRequest> sideReadRequests, required AssociativeMemoryRequest request, required AssociativeMemoryContract contract, required String name}) → AssociativeMemory<Logic>
Builds parallel-flop associative memory with multiple indexed reads.
parallelSramAssociativeMemoryFunctor({required String definitionName, required AssociativeMemoryCapabilities capabilities, String? identity, Map<String, String>? parameters}) → AssociativeMemoryFunctor
Creates an external parallel-search associative-memory binding.
registerFileArray<T extends Logic>() → MemoryArrayFunctor<T>
Creates the zero-latency, flop-backed register-file array factory.
registerFileModelArray<T extends Logic>() → MemoryArrayFunctor<T>
Creates the behavioral equivalent of registerFileArray.
resolveMemoryConfiguration([MemoryConfiguration? configuration]) → MemoryConfiguration
Resolves an optional component override against the active scope.
resolveRegisterFileImplementation({MemoryConfiguration? memoryConfiguration, RegisterFileFunctor? implementation}) → RegisterFileFunctor?
Resolves a combinational-read storage choice for a component.
scheduledAssociativeIndexWidth(int entryCount) → int
Index width for a scheduled associative memory of entryCount entries.
selectAssociativeScanFunctor(MemoryConfiguration? memoryConfiguration, {required int keyWidth, required int entryCount, required int readLatency}) → SynchronousMemoryFunctor
Selects the key-store functor for an SRAM scan of entryCount keys.
sramScanAssociativeMemoryContract({required int keyWidth, required int entryCount, required int readLatency, required SynchronousMemoryFunctor memoryFunctor, AssociativeMatchMode matchMode = AssociativeMatchMode.exact, AssociativeMatchSelection matchSelection = AssociativeMatchSelection.lowestIndex, AssociativeResultShape resultShape = AssociativeResultShape.matchVectorAndSelectedIndex, AssociativeMemoryResetTiming resetTiming = AssociativeMemoryResetTiming.synchronous}) → ScheduledAssociativeMemoryContract
The contract of an SRAM scan over entryCount keys of keyWidth bits.
synchronousParallelAssociativeMemoryBuilder({required Logic clk, required Logic reset, required List<AssociativeUpdatePortInterface> updatePorts, required List<AssociativeLookupPortInterface> lookupPorts, required AssociativeMemoryRequest request, required AssociativeMemoryContract contract, required String name}) → AssociativeMemory<Logic>
Builds a SynchronousParallelAssociativeMemory for a resolved contract.
synchronousRegisterFileBuilder({required Logic clk, required Logic reset, required List<DataPortInterface<Logic>> writePorts, required List<SynchronousReadDataPortInterface<Logic>> readPorts, required int entryCount, required int readLatency, required int writeLatency, required SynchronousRamReadUnderWrite readUnderWrite, required String name}) → void
Builds a SynchronousRegisterFile through SynchronousMemoryBuilder.
validateKvCacheBlockShape({required int entryCount, required int sequenceIdWidth, required int logicalBlockWidth, required int physicalBlockWidth, required int referenceCountWidth}) → void
Validates positive KV-cache block-table dimensions.

Typedefs

AssociativeKeyComparator = TypedAssociativeKeyComparator<Logic>
Compares flattened associative keys.
AssociativeMatchPreference = TypedAssociativeMatchPreference<Logic>
Determines preference between flattened selection values.
AssociativeMemoryBuilder = AssociativeMemory<Logic> Function({required Logic clk, required AssociativeMemoryContract contract, required List<AssociativeLookupPortInterface> lookupPorts, required String name, required AssociativeMemoryRequest request, required Logic reset, required List<AssociativeUpdatePortInterface> updatePorts})
Builds an associative memory for a resolved shared port contract.
AssociativeMemoryContractResolver = AssociativeMemoryContract Function(AssociativeMemoryRequest request)
Selects an implementation-specific contract for a supported request.
AssociativeModelEntry = ({LogicValue key, LogicValue valid})
One indexed associative entry. Validity may be 0, 1, or unknown.
AssociativeModelMatcher = LogicValue Function({required int index, required AssociativeModelLookup lookup, required LogicValue storedKey})
A pure, stateless implementation-defined comparison.
AssociativeModelResult = ({LogicValue hit, LogicValue index, LogicValue matchVector})
Result of a sampled lookup, including its entire match vector.
AssociativeMultiSideReadBuilder = AssociativeMemory<Logic> Function({required Logic clk, required AssociativeMemoryContract contract, required List<AssociativeLookupPortInterface> lookupPorts, required String name, required AssociativeMemoryRequest request, required Logic reset, required List<AssociativeIndexedSideReadRequest> sideReadRequests, required List<AssociativeUpdatePortInterface> updatePorts})
Builds an associative memory with one or more indexed side reads.
AssociativeSoftwareDescription = AssociativeModelDescription
Legacy name for AssociativeModelDescription.
AssociativeSoftwareEntry = AssociativeModelEntry
Legacy name for AssociativeModelEntry.
AssociativeSoftwareExecutionImage = AssociativeModelExecutionImage
Legacy name for AssociativeModelExecutionImage.
AssociativeSoftwareLookup = AssociativeModelLookup
Legacy name for AssociativeModelLookup.
AssociativeSoftwareMatcher = AssociativeModelMatcher
Legacy name for AssociativeModelMatcher.
AssociativeSoftwareModel = AssociativeModel
Legacy name for AssociativeModel.
AssociativeSoftwareResult = AssociativeModelResult
Legacy name for AssociativeModelResult.
AssociativeSoftwareState = AssociativeModelState
Legacy name for AssociativeModelState.
AssociativeSoftwareUpdate = AssociativeModelUpdate
Legacy name for AssociativeModelUpdate.
BehavioralCache<T extends Logic, M extends Logic, C extends Logic, R extends Logic> = CacheModel<T, M, C, R>
Legacy name for CacheModel.
BehavioralCacheBackingStore = CacheModelBackingStore
Legacy name for CacheModelBackingStore.
BehavioralCacheBackingStoreImage = CacheModelBackingStoreImage
Legacy name for CacheModelBackingStoreImage.
BehavioralCacheBlock = CacheModelBlock
Legacy name for CacheModelBlock.
BehavioralCacheImage = CacheModelImage
Legacy name for CacheModelImage.
BehavioralCacheOperation = CacheBackingOperation
Former name of CacheBackingOperation.
BehavioralCacheReplacement = CacheModelReplacement
Legacy name for CacheModelReplacement.
BehavioralCacheRoundRobin = CacheModelRoundRobin
Legacy name for CacheModelRoundRobin.
BehavioralFixedPriorityCacheScheduler = FixedPriorityCacheSchedulerModel
Legacy name for FixedPriorityCacheSchedulerModel.
BehavioralModel = ComponentModel
Former name of ComponentModel.
BehavioralModelDescription = ComponentModelDescription
Former name of ComponentModelDescription.
BehavioralParallelAssociativeDescription = ParallelAssociativeMemoryModelDescription
Legacy name for ParallelAssociativeMemoryModelDescription.
BehavioralParallelAssociativeMemory = ParallelAssociativeMemoryModel
Legacy name for ParallelAssociativeMemoryModel.
BehavioralReplacementDescription = ReplacementPolicyModelDescription
Legacy name for ReplacementPolicyModelDescription.
BehavioralReplacementImage = ReplacementPolicyModelImage
Legacy name for ReplacementPolicyModelImage.
BehavioralReplacementKind = ReplacementPolicyModelKind
Legacy name for ReplacementPolicyModelKind.
BehavioralReplacementPolicy = ReplacementPolicyModel
Legacy name for ReplacementPolicyModel.
BehavioralSystemCHierarchy = ModelSystemCHierarchy
Former name of ModelSystemCHierarchy.
BehavioralSystemCSelector = ModelSystemCSelector
Former name of ModelSystemCSelector.
CacheModelBlock = ({LogicValue data, LogicValue metadata})
A block and its opaque metadata in a behavioral backing store.
CacheProtocolAdapterBuilder<O, Q extends Logic, S extends Logic, T extends Logic, M extends Logic, C extends Logic, R extends Logic> = ({CacheProtocolAdapter<Q, S, T, M, C, R> adapter, Module module}) Function({required CacheTransactionPort<T, M, C, R> cache, required Logic clk, required String name, required O options, required ReadyValidInterface<Q> requests, required Logic reset, required ReadyValidInterface<S> responses})
Builds a protocol adapter on caller-owned external and cache channels.
CacheReplacementBuilder = ReplacementPolicy Function({required List<ReplacementAccessInterface> accesses, required List<ReplacementAllocationInterface> allocations, required Logic clk, required Logic eligibleMask, required int entryCount, required String name, required Logic reset, required Logic validMask})
Builds the replacement policy for one cache set.
CacheReplacementDeferredBuilder = ReplacementPolicy Function({required List<ReplacementAccessInterface> accesses, required List<ReplacementAllocationInterface> allocations, required Logic clk, required List<ReplacementCommitInterface> commits, required Logic eligibleMask, required int entryCount, required String name, required Logic reset, required Logic validMask})
Builds a policy with ports for previously reserved allocation commits.
CacheSchedulerBuilder = Module Function({required Logic clk, required String name, required CacheSchedulerPorts ports, required Logic reset})
Builds a scheduler which drives grants on caller-owned ports.
CacheSchedulerDescription = CacheSchedulerModelDescription
Legacy name for CacheSchedulerModelDescription.
CacheTransactionCoreBuilder<O, T extends Logic, M extends Logic, C extends Logic, R extends Logic> = ({CacheTransactionCore<T, M, C, R> core, Module module}) Function({required Logic clk, required String name, required O options, required List<CacheTransactionPort<T, M, C, R>> ports, required Logic reset})
Builds a transactional core on caller-owned ports.
CsrSoftwareExecutionImage = CsrModelExecutionImage
Legacy name for CsrModelExecutionImage.
CsrSoftwareModel = CsrModel
Legacy name for CsrModel.
MemoryArrayBuilder<T extends Logic> = Memory<T> Function({required Logic clk, required int entryCount, required String name, required List<DataPortInterface<T>> readPorts, required Logic reset, required List<DataPortInterface<T>> writePorts})
Builds a fixed-timing memory on the supplied typed raw ports.
ModelSystemCSelector = bool Function(Module module)
Selects a module whose portable implementation should replace its RTL.
MultiPortSynchronousMemoryBuilder = void Function({required SynchronousMemoryBankConflictPolicy bankConflictPolicy, required int bankCount, required SynchronousMemoryBankMapping bankMapping, required Logic clk, required int entryCount, required String name, required int readLatency, required List<SynchronousReadDataPortInterface<Logic>> readPorts, required SynchronousRamReadUnderWrite readUnderWrite, required Logic reset, required int writeLatency, required List<DataPortInterface<Logic>> writePorts})
Builds a generalized multi-port synchronous memory.
RegisterFileBuilder = Memory<Logic> Function({required Logic clk, required int entryCount, required String name, required List<DataPortInterface<Logic>> readPorts, required RegisterFileReadUnderWrite readUnderWrite, required Logic reset, required Object? resetValue, required List<DataPortInterface<Logic>> writePorts})
Builds one register-file implementation.
ReplacementSelection = ({Logic index, Logic valid})
Result of selecting a candidate from a mask.
SnapshotableBehavioralCacheReplacement = SnapshotableCacheModelReplacement
Legacy name for SnapshotableCacheModelReplacement.
StateValueDecoder<ValueType extends Object> = ValueType Function(Object? encoded)
Decodes one caller-defined image value from JSON-compatible data.
StateValueEncoder<ValueType extends Object> = Object? Function(ValueType value)
Encodes one caller-defined state-image value as JSON-compatible data.
SynchronousMemoryBuilder = void Function({required Logic clk, required int entryCount, required String name, required int readLatency, required List<SynchronousReadDataPortInterface<Logic>> readPorts, required SynchronousRamReadUnderWrite readUnderWrite, required Logic reset, required int writeLatency, required List<DataPortInterface<Logic>> writePorts})
Builds a synchronous memory implementation for a shared port contract.
SynchronousMemoryContractResolver = SynchronousMemoryContract Function(SynchronousMemoryRequest request)
Resolves the effective timing and behavior for a memory request.
TypedAssociativeKeyComparator<T extends Logic> = Logic Function({required int index, required String name, required T query, required T stored})
Compares an associative query with one stored key.
TypedAssociativeMatchPreference<T extends Logic> = Logic Function({required int candidateIndex, required T candidateValue, required String name, required Logic selectedIndex, required T selectedValue})
Determines whether a candidate should replace the selected match.

Exceptions / Errors

CsrValidationException
Exception raised when a CSR configuration is invalid.
StateSnapshotTransactionException
Failure from a coordinated snapshot transaction.