Skip to content

merge queue: checking #2403 on master (1f54802), stacked on #2402 - #2488

Closed
mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/648a74c2f7
Closed

mergify[bot] wants to merge 4 commits into
masterfrom
mergify/merge-queue/648a74c2f7

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 nutty-quatrequart-acvmes of the changes queue, to test #2403 before it merges into master. Pushing to this branch or closing this pull request removes #2403 from the queue.

What this draft tests

Mergify checks that #2403 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 1f54802
  2. the pull request queued ahead of this batch, listed below, which brings the tip to 25c6ad7
  3. #2403, 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 changes queue in the dashboard

What happens next

  • Once the pull requests ahead have merged, Mergify merges #2403 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 #2403. 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: 25c6ad76fffa1135a0dbed61eb5a59541364333c
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 2403
    scopes:
      - core
scopes:
  - core
...
1 scope
  • core
Required conditions of queue rule changes for merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#2402 [⛓️ feat(sv): support $sformatf and $sformat #2402]
  • 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
    9de8cd569ca440789411c70534b09e91["nutty-quatrequart-acvmes<br/>#2403<br/>scopes: core"]
    febd2903944c427abbe64e82a72ad011["fleet-camembert-oz5m42<br/>#2487 + #2480<br/>scopes: core"]
    9de8cd569ca440789411c70534b09e91 --> febd2903944c427abbe64e82a72ad011
    style 9de8cd569ca440789411c70534b09e91 fill:#6366f1,color:#fff
Loading

tignear and others added 4 commits October 29, 2026 04:14
Implement formatting to a string (IEEE 1800-2023 21.3.3). The analyzer binds
`$sformatf(format, args...)` as a string operation, so it is typed `string`
wherever a string value is valid: assignments, function results, arguments,
concatenations and conditional operands. `$sformat(output, format, args...)`
assigns the same value to a string variable, a function's return variable or
a string class property.

A call with conversions is a synchronous host request of the scheduled
process. The host renders the format with the `$display` renderer, so every
conversion, field width, X/Z digit and `%m` scope matches `$display`, and
interns the text as the result. A literal format is fixed at compile time and
its `%t` values are scaled as the analyzer scales those of `$display`; a
`string` or integral format is read when the call runs and the host scales
its `%t` values. A literal without conversions or arguments is a constant.
Integral outputs, `%p` and the `$swrite` family remain unsupported.

A host request in a later input of a subroutine call would otherwise lose the
registers computed for earlier inputs across the suspension, so those inputs
are kept, converted to their formals, in temporaries; operands of string,
object and container operations are materialized as the heap helpers already
do. A cached transitive check finds subroutines
that make host requests, including in the defaults of omitted arguments. A
format read at run time keeps bytes that are not UTF-8.
`$display` now resolves every string-valued argument, not only string
identifiers, so a string conditional prints its text.

The shared string_format cases compare `$sformatf` and `$sformat` with
`$display` on all backends and in a native image. Verilator 5.052 passes all
of them (the four-state case is unsupported there); Icarus 13.0 limitations
(string conditional crash, class-property output, integral format) and an
xezim 0.11.3 integral-format bug are retained with evidence.

Change-Id: Ife5fd5bc64ccbecb7a73976fc8b68f22e5216d53
Implement `$swrite`, `$swriteb`, `$swriteo` and `$swriteh` (IEEE 1800-2023
21.3.3). Like `$write`, a string literal that no conversion consumes is a
format, a later one included, and each value without a conversion of its own
is written in the task's radix, a string as text and a real as `$write` writes
it. `$display`, `$write`, `$fdisplay` and `$fwrite` now also treat a later
unconsumed string literal as a further format, as Verilator, Icarus and xezim
do (21.2.1.1), instead of printing its conversions literally. The analyzer
builds that format and binds the call as the `$sformatf` string operation,
then assigns the result to the output, a string variable, a function's return
variable or a string class property.

The shared swrite_matches_write case compares each form with `$write` of the
same arguments; Verilator 5.052, Icarus 13.0 and xezim 0.11.3 pass it.

Change-Id: Ie03af76400361cd0410abcac91959d1c272c56a1
@mergify mergify Bot closed this Oct 28, 2026
@mergify
mergify Bot deleted the mergify/merge-queue/648a74c2f7 branch October 28, 2026 21: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