Skip to content

merge queue: checking #2411 + #2446 + #2449 together on master (b288a87), stacked on #2420 - #2452

Closed
mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/fd31aed21f
Closed

mergify[bot] wants to merge 8 commits into
masterfrom
mergify/merge-queue/fd31aed21f

Conversation

@mergify

@mergify mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Note

This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch melodic-caramel-isdumv of the changes queue, to test #2411, #2446 and #2449 before they merge into master. Pushing to this branch or closing this pull request removes them from the queue.

What this draft tests

Mergify checks that #2411, #2446 and #2449 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:

  1. master at b288a87
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 6d46380
  3. #2411 + #2446 + #2449, the pull requests of this batch, tested together as one tip

The 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 changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2411, #2446 and #2449 into master and closes this draft.
  • If a pull request ahead fails or leaves the queue without merging, this batch is requeued and checked again on a new draft: these checks assumed it would merge.

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 #2411 + #2446 + #2449. 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 ci
---
all_scopes: false
checking_base_sha: 6d463809071f203e8d50aea04fdfedb00b4c7fff
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2411
    scopes:
      - core
  - number: 2446
    scopes:
      - core
  - number: 2449
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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
Required conditions to stay in the queue
Queue graph

The diagram is not laid out in queue order, so a node's position says nothing about when it merges.

graph LR
    73a8c4cdbc6b4bab8c9a74aaa14ec2c9["melodic-caramel-isdumv<br/>#2411 + #2446 + #2449<br/>scopes: core"]
    c5c860e0c06445d4a6128183e1cd152a["super-cerise-lqkmpq<br/>#2450 + #2390 + #2407<br/>scopes: core"]
    73a8c4cdbc6b4bab8c9a74aaa14ec2c9 --> c5c860e0c06445d4a6128183e1cd152a
    style 73a8c4cdbc6b4bab8c9a74aaa14ec2c9 fill:#6366f1,color:#fff
Loading

tignear and others added 8 commits October 28, 2026 21:01
Every callback registration allocated two empty CString buffers for its
handle name and full name. Keep unnamed callback, iterator and constant
handles without owned names and return the shared empty C string for those
properties. Named scopes and signals retain their owned strings.

Extend existing public API regressions to check empty callback and iterator
names alongside the named hierarchy. Validation: all 68 VPI unit/API tests,
all 10 ignored cocotb integrations, all-target clippy with warnings denied,
and workspace formatting.

Change-Id: Ibf866696869af6e0ab4b5e2720e9c2a8a8f7a738
IEEE 1800-2023 6.16 makes a single character of a string variable a `byte`,
and 6.16.3 declares `function byte getc(int i)`; 6.11 makes `byte` a signed
2-state type. Celox typed `s[i]` and `s.getc(i)` as unsigned 8-bit values, so a
character code above 127 converted to a positive integer. Type them as signed
bytes.

Impact: a character with code 128..255 now reads as a negative value when it
is widened, compared or printed as a number (`int n = s[0]` gives -1 for 8'hff,
`s[0] < 0` is true, `%0d` prints -1). ASCII characters, `putc`, assignments of
characters to 8-bit variables and string contents are unchanged.

The shared string::characters_are_signed_bytes case checks the LRM values.
xezim 0.11.3 agrees; Verilator 5.052 and Icarus 13.0 read the code as 255.
The Verilator disagreement is retained with a standalone probe, and the case
joins Icarus' existing getc limitation. sv-tests conformance is unchanged.

Change-Id: I394404abf48a74110753cecf60a1e35952fa5924
Support `ref` and `const ref` formals of functions and tasks (IEEE 1800-2023 13.5.2). A formal is the actual itself: calls are inlined, so the inlined body names the actual's storage instead of a copy. Writes are visible at once, other names of the actual alias it, and a task keeps the reference while it is suspended. Calls without reference formals lower as before.

Actuals can be variables (scalars, strings, class handles, queues, dynamic and associative arrays, unpacked arrays, and reference formals of the caller), class and static properties, whose object is evaluated at the call, and elements of fixed-size unpacked arrays, whose position is fixed at the call. A select past such an element reads and writes nothing instead of reaching the next element. Handles and positions held across a suspension are private to each forked activation. A formal bound to a property can be passed on to `output` and `inout` arguments. Reference formals may have container types. `const` carries over to following formals with the direction (13.3).

The analyzer rejects static subroutines with reference formals, actuals that are expressions, constants, part-selects or nets, actuals of non-equivalent types (6.22.2), writes to `const ref` formals (also through selects passed to writable arguments and `$readmemb`/`$readmemh` destinations), nonblocking writes to `ref` formals (6.21), uses in `fork ... join_any/join_none` outside fork-variable initializers (9.3.2), and `ref` calls in continuous assignments or event expressions (13.4.1). `ref static`, elements of dynamically sized arrays (outdated references), elements of properties, members of unpacked structures and run-time selects of a formal bound to an element remain unsupported.

New shared cases in `references.vtest` pass on all backends. Verilator, Icarus and xezim failures are retained as executed evidence with an adapter-free probe; xezim's copy semantics and subarray-element failure are reviewed as `sv_ref_copy_semantics` and `sv_ref_subarray_element`.

Change-Id: I0402167840488bdc299af95f29abbfad8c2782ca
Moving a clock through child-port aliases currently requests a full combinational evaluation even when the clock level only feeds wiring. Compile a small update function for such clocks and use it before edge execution, including coincident edges and tiered native execution. Preserve the original stores and trigger bookkeeping, and retain the full-settle fallback for data-dependent clocks, four-state execution, force support, observers, and persistent combinational state.

Prove that every clock consumer is an unconditional alias copy outside CFG cycles; unrelated procedural iteration does not disqualify the clock. Optional named native-image exports allow existing images to retain their original execution path without a container-format change.

Rica kernel-user native TB, 16 replays, O2/two-state/one thread, four alternating pairs on this machine: median execution CPU time 29.38s -> 17.40s (41% lower), wall time 31.76s -> 18.56s, and instructions 284.49B -> 158.75B (44% fewer). Both sides load the same generated code and layout; renaming the optional exports selects the full-settle baseline. Every replay retained 231,188 cycles and 66,472 retired instructions. These measurements compare this optimization, not Veryl simulator performance.

Validation: formatting and Clippy; 170 Celox unit tests; 81 runtime tests; 4,440 common native cases including four-state and parallel variants; five specialization regressions (image roundtrip, trigger bits, dirty inputs, coincident clocks, unrelated procedural loops); native TB comparisons (98 passed, one ignored), completion adapters and tiered promotion tests. Existing images without the optional exports also pass their load-and-execute regression.
Change-Id: I72879e7a9f0e8e644083c796eb009d0476dbdc8f
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