Repository navigation
merge queue: checking #2240 on master (4c78815), stacked on #2238 and #2239 - #2252
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
Lower randomize() with blocks into call-specific solver methods. Inline predicates add to named constraints without persisting across calls, retain static receiver property lookup under dynamic dispatch, and preserve selection, check-only calls, hooks and UNSAT value preservation. Package methods and separate generated instances get distinct methods. This initial subset accepts unqualified receiver properties; caller-local captures, local::, qualified this/super and restricted with-name lists remain unsupported. Bound nested inline parsing before recursion. IEEE 1800-2023 18.6.3 and 18.7. Validation: 133 syntax tests, 840 analyzer tests (three existing ignored), 356 class backend tests and 20 final inline backend tests pass; affected all-target Clippy and formatting pass. Verilator passes the basic and package/instance cases. Retain observed Icarus compile limitations and standalone Verilator evidence for failed-call post hooks and hidden-property static scope, without weakening assertions. Retain bound inline requests in exported scope symbols, deduplicate them across imports and regenerate helper dispatch in the consumer scope. A package method called through a base handle now reaches module-defined subclasses, including their constraints and hooks. The package/multiple-instance regression covers this import boundary. Validation: 60 constrained backend tests, 841 analyzer tests (three existing ignored), Verilator and analyzer all-target Clippy pass; Icarus retains its known inline-syntax exclusion. Change-Id: I6ae718696957044ae716f778092c6106488086d6
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 plausible-profiterole-mz3fed of the
changesqueue, to test #2240 before it merges intomaster.What this draft tests
Mergify checks that #2240 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:
masterat4c7881547a14b4The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
✨ Where it stands: closed
The pull request #2240 has been 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 2 pull requests ahead, so a failure here can come from them as much as from #2240. See only this batch's changes.
Queued ahead of this batch
These pull requests entered the queue before this batch and are not part of it.
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Queue validationmaster]:check-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildcheck-success = @github-actions/Rust Test & NAPI Buildcheck-success = Conventional Commit titledepends-on = celox-sim/celox#2239[⛓️ feat(sv): solve conditional class constraints bidirectionally #2239]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/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:holddepends-on = celox-sim/celox#2239[⛓️ feat(sv): solve conditional class constraints bidirectionally #2239]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 titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR ab0d8c50432843b58ba8c1eb42142979["plausible-profiterole-mz3fed<br/>#2240<br/>scopes: core"] ade5f6790c6c41a286c3cb89308331cb["grey-chutney-gv7hnm<br/>#2231 + #2232<br/>scopes: core"] ab0d8c50432843b58ba8c1eb42142979 --> ade5f6790c6c41a286c3cb89308331cb style ab0d8c50432843b58ba8c1eb42142979 fill:#6366f1,color:#fff