Skip to content

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

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

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

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 obvious-aneth-920jli of the dependencies queue, to test #1725 before it merges into master. Pushing to this branch or closing this pull request removes #1725 from the queue.

What this draft tests

Mergify checks that #1725 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 2 pull requests queued ahead of this batch, listed below, which bring the tip to 01b99c2
  3. #1725, 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: checks passed

CI passed on this draft.

Follow the dependencies queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #1725 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 2 pull requests ahead, so a failure here can come from them as much as from #1725. 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: 01b99c2764924ff5694e50ab50e7ffb904d9bfc8
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1725
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule dependencies 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/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • 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/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • 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
Required conditions to stay in the queue

tignear and others added 6 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
@mergify mergify Bot closed this Oct 22, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/ed00e31b29 branch October 22, 2026 08:00
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