Repository navigation
merge queue: checking #1689 on master (8af0a41), stacked on #1752 - #1759
Closed
mergify[bot] wants to merge 4 commits into
Closed
mergify[bot] wants to merge 4 commits into
mergify[bot] wants to merge 4 commits into
Conversation
Procedural loops selecting bytes from multidimensional packed words or implicitly typed packed parameters failed with "indexed part-select start". Accept deferred starts for the selected packed word and constant parameter metadata, preserving preceding indices and the index expression width/sign. This lets normal loop unrolling and optimization handle expressions such as words[n][i*8 +: 8] and ID[8*(last-i) +: 8]. Add three portable regressions covering ascending/descending packed ranges, masked writes, generated memory banks, and string parameter ROM bytes. Validation: - Full SV backend harness: 3873 passed, 20 existing ignored; analyzer unit tests: 784 passed, 3 existing ignored, on master a061e13. - Affected library/harness Clippy, cargo fmt, and diff checks pass. - All four related procedural-loop cases pass Verilator and Icarus. - Shared suite unit tests: 46 passed, 2 existing ignored (base 4467534). - Unchanged upstream Taxi sources pass all 88 cocotb tests across seven representative configurations (DMA RAM x2, XFCP APB/AXI/AXI-Lite/I2C/switch), using O1 and two-state simulation with no skipped tests. This runtime replay used base 4467534; the latest-base checks above cover the combined tree. Change-Id: I6d1f2581123bd6805227a49d01c9edb22f4517a8
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 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 premier-croustade-wnxj4d of the
changesqueue, to test #1689 before it merges intomaster. Pushing to this branch or closing this pull request removes #1689 from the queue.What this draft tests
Mergify checks that #1689 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat8af0a41bb0ab7bThe 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
changesqueue 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 #1689. 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
changesfor 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$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On: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 1187520e3e1d4fb39fc7fcfab9edc1be["premier-croustade-wnxj4d<br/>#1689<br/>scopes: core"] 53a8ee41185f411d97c8600545f9ed7f["reasonable-financier-dq3ujf<br/>#1760 + #1761<br/>scopes: core"] 1187520e3e1d4fb39fc7fcfab9edc1be --> 53a8ee41185f411d97c8600545f9ed7f style 1187520e3e1d4fb39fc7fcfab9edc1be fill:#6366f1,color:#fff