Repository navigation
merge queue: checking #2238 + #2239 together on master (eadf51a), stacked on #2243 - #2249
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
Bind inside values and inclusive bounded ranges to solver relations, preserving signed and mixed-width comparison contexts. Negation excludes a set and reversed ranges are empty. Balance membership alternatives to avoid linear expression depth. This extends the existing seeded scalar solver; it does not add a uniform sampling guarantee. Array sets, X/Z wildcard items and unbounded ranges remain rejected. IEEE 1800-2023 11.4.13 and 18.5.3 define membership semantics. Validation: 30 constrained-randomization backend tests, four analyzer randomization regressions, analyzer all-target Clippy and formatting pass. Verilator passes both new shared cases. Icarus rejects constraint syntax; the observed compile limitation is recorded in the reviewed exclusions and retained evidence. Membership sizing is determined across all set items and range endpoints before arithmetic. Analysis charges an expansion budget before copying predicates, rejecting deeply nested expansions before solver allocation. Added check-only overflow/range regressions and a 25-level nesting diagnostic test; 30 constrained backend tests, three focused analyzer tests, Verilator and analyzer Clippy pass. Icarus remains excluded for its recorded unsupported constraint syntax. Change-Id: Icdebb01d187fe5c73787b941bbef72d6bb0ef033
Retain if/else and implication constraint sets as guarded Boolean relations. Nested sets, dangling else association and implication chains preserve their logical meaning; the condition participates in solving rather than selecting a procedural branch. Keep parsing on the existing explicit worklist and share constraint-block parsing for inline calls. IEEE 1800-2023 18.5.5 and 18.5.6. Validation: 40 constrained-randomization backend tests, 132 syntax tests, four analyzer randomization regressions, affected all-target Clippy and formatting pass. Both new cases pass Verilator; Icarus rejects constraint syntax. The final nested-guard fixture uses a one-bit constant to avoid Verilator 5.052 generating an ill-typed SMT Boolean conversion for if (0), and also passes the interpreter. Change-Id: I726d3ce3d92d511536ead0e18509261ce5cd2d20
This was referenced Oct 27, 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 star-selgris-ubn8sz of the
changesqueue, to test #2238 and #2239 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 #2238 and #2239 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterateadf51afee74f0The 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 #2238 + #2239. 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 validationdepends-on = celox-sim/celox#2238[⛓️ feat(sv): support scalar set membership constraints #2238]master]: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
master]:check-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlecheck-success = @github-actions/Conventional Commit title-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#2238[⛓️ feat(sv): support scalar set membership constraints #2238]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)Queue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 9d3db4669cdc40b08517057d7915f936["star-selgris-ubn8sz<br/>#2238 + #2239<br/>scopes: core"] ab0d8c50432843b58ba8c1eb42142979["plausible-profiterole-mz3fed<br/>#2240<br/>scopes: core"] 9d3db4669cdc40b08517057d7915f936 --> ab0d8c50432843b58ba8c1eb42142979 style 9d3db4669cdc40b08517057d7915f936 fill:#6366f1,color:#fff