Repository navigation
merge queue: checking #1760 + #1761 together on master (8857fcd), stacked on #1689 - #1762
Closed
mergify[bot] wants to merge 6 commits into
Closed
mergify[bot] wants to merge 6 commits into
mergify[bot] wants to merge 6 commits into
Conversation
SystemVerilog classes declared in a module now simulate. A class variable is a 32-bit handle of an object in the simulator heap that already holds strings (IEEE 1800-2023 8.4). - The heap keeps objects as their class id and property bytes, with the offsets of handle properties so that collection follows them from object to object. Operations through `null` record a fault that the runtime reports as a runtime error after the step. - The parser records class declarations: name, base, qualifiers, properties and methods. - The analyzer lays out each class (2-state integral properties up to 64 bits, `string` and class handles; bases first) and rewrites property reads and writes into object operations that carry the layout. Methods become subroutines `C::m` whose first argument is `this`; a constructor, explicit or implicit, creates the object, runs the property initializers and returns the handle. Inside a method, properties shadow module names. `extern` methods use their out-of-block definitions; pure virtual methods and interface classes are not lowered. - A variable initialized with a bare `new` is kept when its type is a class instead of being dropped like a covergroup instance. - The frontend lowers object operations to calls of the heap helper. - Checkpoints keep objects. State files cannot record them: `StateSchema::capture` now returns a `Result` and fails with `StateError::Objects` while a variable holds an object. 4-state, `real`, array and wider properties, base-class constructors and `super`, virtual method calls, static members and parameterized classes remain unsupported. sv-tests: 8.4, 8.5, 8.6, 8.12-assignment, 8.24, 8.26.5-implemented class handle and 6.20.6-const now pass in both state modes (500 / 502). Verilator and Icarus limitations on the new shared cases are recorded. BREAKING CHANGE: `StateSchema::capture` returns `Result<StateFile, StateError>`, `StateError` has an `Objects` variant and `ValueKind` an `ObjRef` variant. Change-Id: I2389fee4f668b7d915cc475f31a0be37e4030255
This was referenced Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch reasonable-financier-dq3ujf of the
dependenciesqueue, to test #1760 and #1761 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #1760 and #1761 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat8857fcd40f5d10The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
dependenciesqueue in the dashboardWhat happens next
masterand closes this draft.Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #1760 + #1761. See only this batch's changes.
Queued ahead of this batch
This pull request entered the queue before this batch and is not part of it.
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
dependenciesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-label = release:holdbase ~= ^(master|develop)$head ~= ^renovate/head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 53a8ee41185f411d97c8600545f9ed7f["reasonable-financier-dq3ujf<br/>#1760 + #1761<br/>scopes: core"] 388c941301334775a34fd4e13fd2dfb6["august-paindepices-0mdh5o<br/>#1753<br/>scopes: core, pr-policy"] 53a8ee41185f411d97c8600545f9ed7f --> 388c941301334775a34fd4e13fd2dfb6 style 53a8ee41185f411d97c8600545f9ed7f fill:#6366f1,color:#fff