Skip to content

merge queue: merged #2464, #2721: feat(sv): support the chandle type (+1 more) - #2725

Closed
mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/b500567e6e
Closed

mergify[bot] wants to merge 6 commits into
masterfrom
mergify/merge-queue/b500567e6e

Conversation

@mergify

@mergify mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

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 changes queue, to test #2464 and #2721 before they merged into master.

🎉 What landed

Mergify merged each pull request into master on its own, then closed this draft:

  • #2464 feat(sv): support the chandle type (tignear), as 1a8c6aa
  • #2721 chore(lint): forbid RefCell and Cell (tignear), as d7abfa7

This draft's code was built in this order:

  1. master at 09590d4
  2. the pull request queued ahead of this batch, listed below, which brought the tip to cef6a11
  3. #2464 + #2721, the pull requests of this batch, tested together as one tip

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 ci
---
all_scopes: false
checking_base_sha: cef6a1115891569e98a5542fbd1ed77af43f1ec3
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2464
    scopes:
      - core
  - number: 2721
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile
Required conditions to stay in the queue

tignear and others added 6 commits October 31, 2026 19:04
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
@mergify mergify Bot changed the title merge queue: checking #2464 + #2721 together on master (09590d4), stacked on #2718 merge queue: merged #2464, #2721: feat(sv): support the chandle type (+1 more) Oct 31, 2026
@mergify mergify Bot closed this Oct 31, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/b500567e6e branch October 31, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant