Skip to content

fix(sv): allow arbitrary bounds in multidimensional packed arrays - #1510

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-conformance-gaps/allow-arbitrary-bounds-multidimensional-packed--390dd189
Oct 18, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-conformance-gaps/allow-arbitrary-bounds-multidimensional-packed--390dd189

Conversation

@tignear

@tignear tignear commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Accept ascending, descending, non-zero and negative bounds in multidimensional packed declarations. Remove the obsolete rejection gate and reuse the existing per-dimension selection normalization. The sv-tests multidimensional/basic case now passes in both state modes.

Add shared regressions for dynamic reads and writes, ordinary and indexed part selects, range queries and out-of-range writes. Update the documented support boundary.

Validation: 15 new backend runs, 37 existing packed regressions, rejection catalogue, 370 analyzer tests; analyzer and Celox integration Clippy; Icarus 3/3 and Verilator 2/2 supported cases. The four-state case is unsupported by the Verilator adapter and passes in Celox/Icarus. Full sv-tests results checked in both state modes. NAPI/JS do not depend on the SV analyzer; no shared runtime or artifact contract changed.

Fixes #438

Depends-On: #1509

Accept ascending, descending, non-zero and negative bounds in multidimensional packed declarations. Remove the obsolete rejection gate and reuse the existing per-dimension selection normalization. The sv-tests multidimensional/basic case now passes in both state modes.

Add shared regressions for dynamic reads and writes, ordinary and indexed part selects, range queries and out-of-range writes. Update the documented support boundary.

Validation: 15 new backend runs, 37 existing packed regressions, rejection catalogue, 370 analyzer tests; analyzer and Celox integration Clippy; Icarus 3/3 and Verilator 2/2 supported cases. The four-state case is unsupported by the Verilator adapter and passes in Celox/Icarus. Full sv-tests results checked in both state modes. NAPI/JS do not depend on the SV analyzer; no shared runtime or artifact contract changed.

Fixes #438

Change-Id: I390dd18940aa61ce94bc9ffe2b82a84457bd2573
@tignear

tignear commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 test(sv-tests): track two-state and four-state results separately #1509
2 fix(sv): allow arbitrary bounds in multidimensional packed arrays #1510 👈
3 fix(sv): resolve implicit named interface port connections #1511
4 fix(sv-tests): use the upstream runner for conformance verdicts #1516

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 18, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-18T19:32:52.913959Z 5f5c879 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear

tignear commented Oct 18, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • 🟠 Waiting for queue conditions
  • ⏳ Enter queue
  • ⏳ Run checks
  • ⏳ Merge
Waiting for
  • depends-on=celox-sim/celox#1509 [⛓️ test(sv-tests): track two-state and four-state results separately #1509 [stack]]
  • 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/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
    • check-success = @github-actions/JS Test (Ubuntu)
All conditions
  • depends-on=celox-sim/celox#1509 [⛓️ test(sv-tests): track two-state and four-state results separately #1509 [stack]]
  • any of [🔀 queue conditions]:
    • all of [📌 queue conditions of queue rule changes]:
      • 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/JS Test (Ubuntu)
        • check-skipped = @github-actions/JS Test (Ubuntu)
        • check-success = @github-actions/JS Test (Ubuntu)
      • -conflict
      • -draft
      • -head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)
      • -head ~= ^renovate/
      • -label = release:hold
      • any of:
        • base ~= ^(master|develop)$
        • all of:
          • base ~= ^stack/
          • body ~= (?m)^Depends-On:
      • any of:
        • head != release-please--branches--master--components--celox
        • label = merge-ready
      • 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-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)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/NAPI Build (Windows)
        • check-neutral = @github-actions/NAPI Build (Windows)
        • check-success = @github-actions/NAPI Build (Windows)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/JS Test (Windows)
        • check-neutral = @github-actions/JS Test (Windows)
        • check-success = @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
    • all of [📌 queue conditions of queue rule dependencies]:
      • head ~= ^renovate/
      • 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/JS Test (Ubuntu)
        • check-skipped = @github-actions/JS Test (Ubuntu)
        • check-success = @github-actions/JS Test (Ubuntu)
      • -conflict
      • -draft
      • -head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)
      • -label = release:hold
      • base ~= ^(master|develop)$
      • any of:
        • head != release-please--branches--master--components--celox
        • label = merge-ready
      • 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-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)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/NAPI Build (Windows)
        • check-neutral = @github-actions/NAPI Build (Windows)
        • check-success = @github-actions/NAPI Build (Windows)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/JS Test (Windows)
        • check-neutral = @github-actions/JS Test (Windows)
        • check-success = @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
    • all of [📌 queue conditions of queue rule integration]:
      • head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)
      • 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/JS Test (Ubuntu)
        • check-skipped = @github-actions/JS Test (Ubuntu)
        • check-success = @github-actions/JS Test (Ubuntu)
      • -conflict
      • -draft
      • -label = release:hold
      • base ~= ^(master|develop)$
      • any of:
        • head != release-please--branches--master--components--celox
        • label = merge-ready
      • 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-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)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/NAPI Build (Windows)
        • check-neutral = @github-actions/NAPI Build (Windows)
        • check-success = @github-actions/NAPI Build (Windows)
      • any of [🛡 GitHub repository ruleset rule master]:
        • check-skipped = @github-actions/JS Test (Windows)
        • check-neutral = @github-actions/JS Test (Windows)
        • check-success = @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
  • -closed [📌 queue requirement]
  • -conflict [📌 queue requirement]
  • -draft [📌 queue requirement]
  • any of [📌 queue -> configuration change requirements]:
    • -mergify-configuration-changed
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted

@mergify

mergify Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 55 minutes 5 seconds in the queue, including 52 minutes 37 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on = celox-sim/celox#1509 [⛓️ test(sv-tests): track two-state and four-state results separately #1509]
  • 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

@mergify mergify Bot added the queued Mergify queue entry label Oct 18, 2026
Base automatically changed from stack/tignear/fix/sv-conformance-gaps/track-two-state-four-state-results-separately--d3d33b32 to master October 18, 2026 20:36
@mergify
mergify Bot merged commit 35b35a8 into master Oct 18, 2026
30 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-conformance-gaps/allow-arbitrary-bounds-multidimensional-packed--390dd189 branch October 18, 2026 21:12
@mergify mergify Bot removed the queued Mergify queue entry label Oct 18, 2026
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.

feat(sv): support non-zero-based multidimensional packed ranges

1 participant