Repository navigation
merge queue: checking #1772 on master (5734299) - #1785
Closed
mergify[bot] wants to merge 2 commits into
Closed
mergify[bot] wants to merge 2 commits into
mergify[bot] wants to merge 2 commits into
Conversation
Connecting an untyped pattern such as .cfg('{8{'0}}) failed before the receiving
port's shape was available. Preserve caller values, keys and repetition counts
until the module or interface input type is specialized, then lower the pattern
in that assignment context.
Share assignment conversion between native typed and deferred patterns. Convert
two-state members individually, consume outer packed dimensions before struct
fields, and disambiguate name keys against the receiving shape. Retain nominal
aggregate operand types through conditionals and function calls before inlining.
Use one typed value representation for constant and runtime operands; preserve
source sign and type before folding and substitute stored aggregate constants.
This prevents default struct constants such as 8'h35 becoming 8'h55 and retains
signed extension and mixed-state members. Reject unsupported recursive defaults
for packed unions instead of concatenating their overlapping fields.
Allow assignment-compatible unpacked subarrays as explicit pattern items. Keep
the stricter type-matching rule for selecting whole defaults: IEEE 1800-2023
6.22.1(f) requires matching fixed-array bounds, and 10.9.1 uses matching types
there. Review r4354410020's proposed relaxation is not adopted; Slang independently
rejects its row[4:5] default for cfg[2][0:1]. Explicit differently bounded array
items remain accepted. Preliminary function signatures supply types and signs
for calls inside typed patterns.
Add eighteen shared cases covering specialization, caller scope, mixed states,
aggregates, interfaces, collisions, nominal identity, expressions and constants.
Add API rejection checks for incompatible subarrays, array-to-scalar items and
unsupported union defaults. The latest P1 reproduction fails on all five
backends against the published analyzer, returning 0x5555 instead of 0x3535.
Validation:
- Full SV: 4104 passed, 20 existing ignored across five backends.
- Analyzer: 791 passed, 3 existing ignored; frontend: 4 passed.
- Shared suite default-feature library: 30 passed.
- Relevant library/harness Clippy -D warnings, fmt and diff checks pass.
- Verilator passes the latest packed constant matrix, including signed extension,
and the minimal literal case. The mixed-state adapter is unsupported and
Verilator rejects valid unpacked constant rows. The mismatched-bounds case is
rejected but classified as a compile error by the adapter. Earlier results
include the distinct-struct default discrepancy and unpacked-item limits.
- Slang 12.0 corroborates the latest ordinary aggregates, literal values, mixed
states, unpacked rows and rejection of mismatched default bounds. One signed
struct pattern-initializer discrepancy remains recorded: it zero-extends a
signed 0xf5 value. IEEE 7.2.1/10.9.1 and Verilator support sign extension.
- Icarus cannot compile the added pattern/interface cases. External limitations
and disagreements are not passes; no exclusions or expectations were changed.
- Replayed all 20 formerly pattern-blocked Taxi configurations against the final
implementation. The next blockers remain $size x9, interface handles x6,
undriven net x4, non-integer override x1; none reaches cocotb. All 199 resolved
SV sources match the original audit. No RTL, optimization or diagnostic-policy
changes.
Change-Id: Icbecc7d790d68db2fa484738d78188f5afdbf442
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 inviting-poulet-d1i8po of the
changesqueue, to test #1772 before it merges intomaster. Pushing to this branch or closing this pull request removes #1772 from the queue.What this draft tests
Mergify checks that #1772 still passes CI on top of
master. CI runs on this draft's code, built in this order:masterat5734299🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.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/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]: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/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired 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-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]: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-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 71ae6c5cc5a54df98d74df72a13dfa3c["inviting-poulet-d1i8po<br/>#1772<br/>scopes: core"] 48ce4760b72345138680a29382ad5542["olympic-chataigne-fx80ye<br/>#1777<br/>scopes: core"] 71ae6c5cc5a54df98d74df72a13dfa3c --> 48ce4760b72345138680a29382ad5542 style 71ae6c5cc5a54df98d74df72a13dfa3c fill:#6366f1,color:#fff