Skip to content

merge queue: checking #1926 + #1896 + #1930 together on master (0550040), stacked on 4 pull requests ahead - #1937

Closed
mergify[bot] wants to merge 18 commits into
masterfrom
mergify/merge-queue/43a63403d7
Closed

mergify[bot] wants to merge 18 commits into
masterfrom
mergify/merge-queue/43a63403d7

Conversation

@mergify

@mergify mergify Bot commented Oct 24, 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 pedantic-cantadou-zwhhnp of the changes queue, to test #1926, #1896 and #1930 before they merge into master.

What this draft tests

Mergify checks that #1926, #1896 and #1930 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 0550040
  2. the 4 pull requests queued ahead of this batch, listed below, which bring the tip to 4b7122b
  3. #1926 + #1896 + #1930, 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: failed, splitting the batch

The checks of this draft failed. Mergify splits this batch to find which pull request is responsible.

Follow the changes queue in the dashboard

What happens next

  • Mergify checks smaller batches of #1926, #1896 and #1930 until it finds which pull request is responsible.

Tip

A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the 4 pull requests ahead, so a failure here can come from them as much as from #1926 + #1896 + #1930. 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: 4b7122b7762d60922ee604c1cdfc0e510405d95b
previous_check_retries: []
previous_failed_batches: []
pull_requests:
  - number: 1926
    scopes:
      - core
  - number: 1896
    scopes:
      - core
  - number: 1930
    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/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/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
    • check-success = @github-actions/Conventional Commit title
  • 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/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)
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
    6c034334bbd0428ea0f44cf1f5446538["pedantic-cantadou-zwhhnp<br/>#1926 + #1896 + #1930<br/>scopes: core"]
    6c55af934209455398f3256e644b5355["exclusive-munster-f88hf9<br/>#1934<br/>scopes: core"]
    6c034334bbd0428ea0f44cf1f5446538 --> 6c55af934209455398f3256e644b5355
    style 6c034334bbd0428ea0f44cf1f5446538 fill:#6366f1,color:#fff
Loading

tignear and others added 18 commits October 25, 2026 01:55
…e read

The compiled scheduler settled combinational logic after every pass of
the process phase and after the NBA region, as the reference loop does.
Since #1811 it skips a settle whose inputs did not change, but the settle
after a domain's commit ran in every slot that fired one, though usually
only the host reads its results, at the end of the run.

Such a settle now stays pending (the dirty flag stays set) until
something observes it, and runs at the point the reference ran it last,
so every observer sees the reference's values:

- the host: before the run returns at its limit or after a clock
  overflow, which ends a complete slot;
- a kernel that loads storage combinational logic writes, or may end
  the run in the middle of a slot ($finish, an error): before the slot
  it is due in, or, for a waiting kernel, which may wake in any pass,
  before every slot and pass; every kernel once a constant delay may
  overflow, as the run then returns in the middle of the slot;
- a domain that may end the run, or reads combinational outputs without
  fused units: before it evaluates; slots that fire several domains whose
  units observe it: before their units;
- a domain that reads combinational outputs and has fused units (Veryl):
  the fused units compute what it reads, then evaluate and apply.

Combinational logic with effects of its own or that may fail keeps
every settle where the reference has it. The waits
the scheduler checks never watch combinational outputs, which a debug
assertion now states.

Change-Id: I5aa9c77efe9277bde745a55de530c352804f875e
A kernel of a program instance names the status slot of the instance's
first kernel (ProcessSlots::program). Such kernels start, wake and resume
in the Reactive region, a #0 resumes them in the Re-Inactive region, and
their nonblocking updates take effect in the Re-NBA region (IEEE
1800-2023 4.4.2.6-4.4.2.8, 24.3.1). The reactive region set runs once the
active region set is empty and returns to the active region set for the
design activity it creates (4.5).

ProcessStatus::Exit ends every kernel of the calling program instance
(24.7), and the implicit $finish fires once every program kernel has
ended (24.3). Program kernels run on the reference scheduler.

Designs without programs schedule as before.

BREAKING CHANGE: ProcessSlots gains `program`, ProcessStatus gains
`Exit`, ProcessState and ScheduleKey gain the reactive, re-inactive and
Re-NBA queues, and the native image container format is now 35.

Change-Id: I6c899de1f0d5e8ca722733a53655ee80e3c988b8
…ptimization

Merged native optimization could drop one-hot LFSR state contributions when a padded unpacked scratch array was large, and store coalescing could move an earlier write past an overlapping overwrite. Preserve padded element boundaries at every array size and element width, and stop coalescing across overlapping writes and memory barriers while retaining disjoint-write optimization.

Add shared regressions for function scratch arrays and partial overwrites, plus Native coverage of 58/65/129-bit elements in two/four-state modes at O0/O1/O2.

Validation on master bd4fb45:
- SIR optimizer: 468 tests and one doctest pass; one existing ignored test.
- Full SV suite: 4,495 pass, 20 existing ignored, including Native widths 58/65/129 x two/four-state x O0/O1/O2.
- Six storage/function consumer suites: 240 pass, six existing ignored.
- Affected library/integration clippy checks (-D warnings), formatting and diff checks pass.
- Both unchanged shared regressions were independently checked with Verilator and Icarus.

Upstream evidence on base 48f908e: all 38 original Taxi LFSR configurations pass at O1/two-state, including the formerly incorrect scrambler and descrambler. A separate pre-existing 65-bit Wasm probe is outside this fix; the portable 58-bit regressions pass.

Latest full-stack integration verification on master d34520d:
- Full SV suite: 4,571 pass, 20 existing ignored.
- Analyzer/frontend units: 802 pass, three existing ignored; two doctests pass.
- Affected frontend/analyzer/Celox clippy checks (-D warnings), formatting and report-gate tests pass.

CI follow-up validation: the false-loop suite passes all 25 tests. The reviewed disjoint-store coalescing snapshot is updated, and its fixed-point output is checked for all eight inputs; the snapshot test also passes independently on this stack member.

Change-Id: I3a2eb46f622ccb63fe784ab98a9803a2858c14f7
Change-Id: Id8090c5cbb732e2b632d7d0acb1cec6fe918ff2c
Simulation's builder gets compile_native, which returns a
NativeCompilation<Simulation> whose image carries the process kernels
and the compiled scheduler, and build_native_from_image, which starts a
timed simulation of such an image without code generation. A
differential simulation loads a second copy of the image for its
reference-loop shadow. Simulation::advance_to runs the slots before a
time and stops there, so a host can act at the start of that slot.

NativeProgramInstance now fails to attach an image with process kernels,
as every Simulator loader already does.

Part of #1730

Change-Id: I94db5d6a6ee51fd7059303f78a0c7b8cadd9312c
…e does

A deferred settle merges the settles it replaces into one, which is only
equivalent when a settle is a function of its inputs. Combinational logic
that keeps state between settles is not: a latch keeps what it captured
while open, and the guarded units of `always @*` and similar processes
run on a change of their inputs since their last activation, so a latch
opened and closed between two observers, or inputs that changed and
changed back, gave other results than the reference's.

Combinational logic now settles lazily only when no settle reads what an
earlier one left: every load of storage it writes is covered, on every
path, by stores earlier in the same settle. Guarded units load their
snapshots first, and feedback reads the previous value, so designs with
either keep every settle where the reference has it, skipping only those
whose inputs did not change.

Change-Id: I568c6d92c6fa2c2b1a1fb64ffccfe1a3151aab5b
build_native_from_image and NativeCompilation<Simulation>::initialize
now make the packed-array check of the untimed native loader, through
one shared validate_native_vcd_layout: an image compiled without VCD
cannot record element-strided unpacked arrays.

Change-Id: I4d968bb5136d9fe772ec0afedb8f648161900f3a
Change-Id: I99da4b4abb1f9113e2e89fa9cbe3bb0ea9a06b0b
Change-Id: I34c27f4234479a98dd5a1f2e45826759af799672
Change-Id: Ibcbf8e2b9f1a510006e52d7d3a26fed166f30bae
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