Repository navigation
merge queue: checking #2411 + #2446 + #2449 together on master (b288a87), stacked on #2420 - #2452
Closed
mergify[bot] wants to merge 8 commits into
Closed
mergify[bot] wants to merge 8 commits into
mergify[bot] wants to merge 8 commits into
Conversation
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
This was referenced Oct 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
changesqueue, to test #2411, #2446 and #2449 before they merge intomaster. 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:
masteratb288a876d46380The 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
changesqueue in the dashboardWhat happens next
masterand closes this draft.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 ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationmaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-success = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-skipped = @github-actions/Queue validationRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holdbase ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titlemaster]:check-skipped = @github-actions/Queue validationcheck-neutral = @github-actions/Queue validationcheck-success = @github-actions/Queue validationQueue 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