Repository navigation
merge queue: merged #2464, #2721: feat(sv): support the chandle type (+1 more) - #2725
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
Support `chandle` (IEEE 1800-2023 6.14), which UVM uses for the handles of its DPI-C functions. A chandle is held as 64 two-state bits that start as `null` (0), so variables, class properties, elements of dynamic arrays, queues and associative arrays, subroutine arguments and results lower like any 64-bit value; designs without chandles are unchanged. DPI-C imports pass chandle arguments and results as C pointers on every backend. The analyzer admits a chandle only where 6.14 allows one. The expression binder checks every value it reads: a chandle is accepted only as an operand of `==`, `!=`, `===` or `!==` with another chandle or `null`, as a Boolean test (a condition, `!`, `&&`, `||`), or as a value a chandle receives (an assignment with `=`, an initializer, an argument, a result, a container element, a property or an associative array index), which must itself be a chandle or `null`. Write targets are checked the same way, so only a procedural `=` writes a chandle. Every other context, an operator, a cast, an index, a count, a delay or event, a system subroutine argument, a concatenation, a stream or a continuous assignment, rejects a chandle without a check of its own. Chandle ports, packed chandle types and enumerations based on chandles are rejected. Fixed-size unpacked arrays of chandles, which UVM does not use, are not supported: the type binder rejects them wherever they are declared, also through a typedef. A new shared case passes on every backend, Verilator and xezim; Icarus rejects the chandle class property and the compile failure is retained. sv-tests `6.14--chandle` now passes in both state modes. Change-Id: Iad6401e7634f688c3a2baa55d801ca1dbbdec29c
Every master push currently creates or rewrites a release PR and starts its CI. Calculate the next version and changelog into a single Celox release tracker issue instead. Use the default workflow token for issue updates so they do not start follow-up workflows. Keep Monday 12:00 JST and manual releases: create or update the release PR only at those times, close the tracker with a PR link, and retain the existing queue, candidate qualification and publication flow. Honor release:hold on the issue before preparing or queueing a PR, and preserve the existing freeze and hold behavior for release PRs. Pin the planner and its dependencies separately from the product packages. Validation: repository Node script tests (the local emnapi dependency mismatch was resolved with the frozen workspace install and its failing tests then passed); Heliodor conversion, result and gate fixtures; Updatecli Python tests; workflow lockfile coverage and YAML parsing; and read-only planning against actual master history, including rendering the generated 0.13.0 notes without GitHub writes. No Rust product or external simulator behavior changes. Change-Id: I7ec05eb1471514c60c578940152f77413ee16021
State is owned and passed explicitly. `clippy.toml` now rejects `std::cell::RefCell` and `std::cell::Cell`, so code takes `&mut`, returns results, or keys caches by all their inputs instead of mutating shared state behind shared references. No crate outside tests uses them any more. Two exceptions are allowed with a reason: celox-vpi, whose callbacks re-enter the layer from C while it holds the simulation, and the analyzer's unit tests, whose thread-local work counters exist only in test builds (non-test builds still enforce the ban). Change-Id: Ic824647aa2413e8752452d50b5b7962110736993
This was referenced Oct 31, 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. Its pull requests have merged, and nobody needs to act on it.
Mergify opened it for batch relevant-thym-wari34 of the
changesqueue, to test #2464 and #2721 before they merged intomaster.🎉 What landed
Mergify merged each pull request into
masteron its own, then closed this draft:1a8c6aad7abfa7This draft's code was built in this order:
masterat09590d4cef6a11Queued 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 validationcheck-success = Verify workflow lockfilemaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]: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/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-success = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-skipped = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfileRequired 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-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/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-skipped = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-success = @github-actions/Queue validationmaster]:check-success = @github-actions/Verify workflow lockfilecheck-neutral = @github-actions/Verify workflow lockfilecheck-skipped = @github-actions/Verify workflow lockfile