Repository navigation
merge queue: checking #1843 on master (13c774b), stacked on #1838 - #1846
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
Allow rand enum properties and randomize(member) selection of enum properties in unconstrained classes. Preserve declared enum domains through type aliases and select only their declared values with rejection sampling, including sparse, negative, implicit, singleton, and 64-bit values. Normalize unbased fill initializers to the enum base width and signedness before evaluation. Keep rand_mode, inherited properties, dynamic dispatch, and per-object seeding behavior intact. Keep unsupported or unresolved enum domains explicit rather than randomizing the underlying integer. Reject duplicate values, overflowing implicit values, and X/Z domains. Scope randomization of enums, arrays, and class properties wider than 64 bits remain outside this change. Add four shared regression cases and an analyzer rejection test; update the English and Japanese references. Retain narrow external-tool failure evidence: Verilator 5.052 passes the direct enum, inheritance, and unbased fill cases but randomizes an enum typedef alias as raw integer bits. Icarus 13.0 cannot elaborate class randomization methods in these four cases. Shared assertions are unchanged. Validation: - Analyzer unit tests: 796 passed, 3 existing ignores. - Differential SystemVerilog class suite across backends: 179 passed. - Retained external evidence checks: 3 passed. - NAPI build and JavaScript integration: 432 passed. - Analyzer Clippy, formatting, and diff checks pass. - Unbased fill regression: all five backend variants fail before the fix and pass afterward; Verilator also passes the unchanged assertions. - All four new shared cases exercised with Verilator and Icarus; the limitations above are documented with original diagnostics in verification/repros. Change-Id: I076dfe023e39722af4f294144ffae2c202085d52
Preliminary typing of each literal array-pattern element rediscovered all visible declarations. Publishing intermediate dimension snapshots repeatedly copied and dropped unrelated expression trees, causing Taxi frontend runs to exceed their 120-second limit. Reuse the existing query-context projection for literals, including grouped literals, before scope types are complete. Literals do not require lexical name resolution; other operands retain the existing discovery path. Add an owning-crate regression comparing literal query results against forced discovery and asserting that the shortcut performs no declaration discovery. Validation: - Full SystemVerilog suite: 4,366 passed, 20 existing ignored, across all five backends. Analyzer: 796 passed, 3 existing ignored; frontend: 5 passed; doctests: 2 passed. - Clippy for affected crates/all targets with -D warnings, formatting, and diff checks passed. Shared cases and external adapters are unchanged. - Replayed the same 25 Taxi configurations using original RTL/parameters, release frontend binaries, two workers and 120-second limits. Timeouts decrease from 17 to zero; all 25 reach existing unpacked-parameter forwarding errors: 18 GT_TX_DIFFCTRL and 7 STAT_PREFIX_STR. Elapsed times are 2.142-21.296 seconds (median 10.245). These are frontend error results, not full FPGA-core or cocotb test passes. All 188 resolved SV sources match the earlier upstream hashes. - Synthetic source-to-scheduling probe with 256 declarations and 256 literal array elements: baseline completed samples take 38.929 and 42.647 seconds (a third times out at 60 seconds); patched samples take 0.038-0.042 seconds. Three repetitions alternate old/new order on a shared machine; these measurements do not establish a universal speedup or linear complexity. This change builds on real-valued parameter overrides from #1839. Remaining unpacked-array parameter forwarding errors are separate follow-up work. Change-Id: I00f31b062932d07ebdbe89b7fc3a7080e2aa2308
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 thoughtful-profiterole-8s4o88 of the
changesqueue, to test #1843 before it merges intomaster.What this draft tests
Mergify checks that #1843 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat13c774bcc6e314The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
Pull request #1838 ahead in the queue was removed (reason:
pull request manually updated).Follow the
changesqueue in the dashboardWhat happens next
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 #1843. 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.
coreMetadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)check-success = Conventional Commit titledepends-on = celox-sim/celox#1839[⛓️ fix(sv): accept real-valued module parameter overrides #1839]master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]: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/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:holddepends-on = celox-sim/celox#1839[⛓️ fix(sv): accept real-valued module parameter overrides #1839]base ~= ^(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 title