Skip to content

merge queue: checking #1722 on master (86a2c20), stacked on #1718, #1688 and #1725 - #1738

Closed
mergify[bot] wants to merge 11 commits into
masterfrom
mergify/merge-queue/2f8a212e53
Closed

mergify[bot] wants to merge 11 commits into
masterfrom
mergify/merge-queue/2f8a212e53

Conversation

@mergify

@mergify mergify Bot commented Oct 22, 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 conventional-baba-9fft92 of the changes queue, to test #1722 before it merges into master.

What this draft tests

Mergify checks that #1722 still passes CI once combined with everything queued ahead of it. CI runs on this draft's code, built in this order:

  1. master at 86a2c20
  2. the 3 pull requests queued ahead of this batch, listed below, which bring the tip to a6f301e
  3. #1722, the pull request of this batch

The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.

✨ Where it stands: closed

The number of speculative checks has been reduced.

Follow the changes queue in the dashboard

What happens next

  • Mergify closes this draft.
  • #1722 is still in the queue.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 3 pull requests ahead, so a failure here can come from them as much as from #1722. 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 ci
---
all_scopes: false
checking_base_sha: a6f301eabb564006f1a753cd8302b41890671c79
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1722
    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-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
    • check-success = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
    • check-success = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
    • check-success = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
    • check-success = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
    • check-success = @github-actions/Conventional Commit title
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
    85e5dac8a5124765ac0426d0ccaec3e1["nearest-mayonnaise-gtvbc8<br/>#1718 + #1688<br/>scopes: core"]
    aad89df4bbc54f4e99f01d5a4c0cff48["obvious-aneth-920jli<br/>#1725<br/>scopes: core"]
    d41da730f34d4a2eb387cc723347f085["conventional-baba-9fft92<br/>#1722<br/>scopes: core"]
    85e5dac8a5124765ac0426d0ccaec3e1 --> aad89df4bbc54f4e99f01d5a4c0cff48
    aad89df4bbc54f4e99f01d5a4c0cff48 --> d41da730f34d4a2eb387cc723347f085
    style d41da730f34d4a2eb387cc723347f085 fill:#6366f1,color:#fff
Loading

tignear and others added 11 commits October 22, 2026 11:21
The SV frontend classified every power expression as unsigned. Expressions
such as $signed(error) / 2**4 consequently zero-extended negative errors;
a 13-bit -384 became 7808 and divided to 488 instead of -24. This prevented
Taxi's PTP control loops from locking.

Use the base's signedness in both expression and port-connection classifiers,
with a self-determined exponent (IEEE 1800-2023 11.6.1, Table 11-21).
Add classifier tests and shared two-state/four-state regressions covering
constant and dynamic powers, signed/unsigned bases and destinations, sized
casts, and continuous/always_comb/always_ff execution.

Validation:
- SV common suite on all five backend variants: 3658 passed, 20 existing ignores.
- SV frontend unit tests: 3 passed.
- New cases: Icarus 2 passed; Verilator 1 passed, four-state case unsupported.
- Minimal reproducer at O0 and O1: five input vectors each, no mismatches.
- Original Taxi clock_cdc[96] and td_leaf full tests pass at O1/two-state with inferred_latch=warn; original sources unchanged.
- cargo fmt and affected library/integration clippy checks pass with warnings denied.

Change-Id: I0cf4f9c8176f5e537ff239b7d8a0eb644ef54d8a
SystemVerilog `string` variables, function arguments and results now
simulate as 32-bit handles into the heap introduced for testbench
strings (IEEE 1800-2023 6.16).

- The analyzer rewrites operators, methods and conversions with a
  string operand into string operations: equality stays an integral
  comparison of handles, ordering compares contents, and concatenation,
  replication with a run-time count, `s[i]`, casts and the `len`,
  `getc`, `putc`, `toupper`, `tolower`, `compare`, `icompare`,
  `substr`, `atoi` and `itoa` families lower to them. A string literal
  or integral value assigned or cast to a string contributes its bytes;
  NUL bytes are removed.
- Compiled code reaches the heap through one helper, called as an
  `ExternCall` with the reserved `HEAP_HELPER_ID`. Every backend passes
  the state pointer first, and the helper finds the heap through a new
  state header slot. Buffers build new strings in place and are interned
  when frozen, so equal contents keep equal handles.
- Each backend owns its heap, so hosts that keep only the backend, such
  as NAPI, keep their strings. `StateImage` captures the heap, so every
  checkpoint restores it. Handles are never reused, so a stale copy that
  is only compared cannot match a later string.
- The heap is collected after each timed step and each `tick`. Runtime
  events still in the backend's buffer are read first, which replaces
  string arguments by their contents. Concurrent testbench processes
  block the `tick` collection, since their saved temporaries are outside
  state memory.
- `%s` and format-less display print string values. Typed `string`
  parameters keep their packed text. Unpacked arrays of strings are
  rejected, since their element and character selects are not yet told
  apart.

Twenty-one sv-tests cases now pass in both state modes; each was
simulated and its values checked. New shared cases pass on Verilator;
Icarus 13.0 lacks the string methods, recorded as a reviewed limitation.

BREAKING CHANGE: `SimBackend` requires `heap` and `heap_mut`. The state
header grows to 48 bytes and the native image container version to 22,
so earlier images must be rebuilt. `StateSchema::capture` and `load` read
the backend's heap; `capture_with_heap` and `load_with_heap` are removed.

Refs #1400

Change-Id: Id79cec4106b91e786ac4517811392d67c4c8ec00
An always whose edgeless event list names exactly the variables @* would
compute for its statement (IEEE 1800-2023 9.4.2.2), and whose statement
neither suspends nor makes a nonblocking assignment, is lowered like
always @*, so an untimed Simulator runs it.

When such a block closes a combinational loop, the scheduler reports the
loop's members, and only the blocks that drive them run as processes.

Change-Id: I72eb16b617333506ba2aaaf58a961b0cef5c0903
…processes

Verilator runs edgeless event-list always blocks at time zero; the two
affected cases are excluded with an adapter-free reproduction.

Change-Id: I72c16f4b9aa69f06a7ea37bfa5635b972ffbb703
Change-Id: I7fb7b8ea84d8192a21b47b54d33b91574d8d8d7f
Change-Id: I7add15ad54316af2cffff68d1b3cb7fafd18d0be
@mergify mergify Bot closed this Oct 22, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/2f8a212e53 branch October 22, 2026 07:36
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