Skip to content

fix(sv): preserve disjoint single-bit array driver windows - #2188

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-remaining/preserve-disjoint-single-bit-array-driver-windows--616b5657
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-remaining/preserve-disjoint-single-bit-array-driver-windows--616b5657

Conversation

@tignear

@tignear tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Independent always_comb processes writing different unpacked elements were rejected as multiple drivers when each packed element held one bit. Recover the checked singleton element window and preserve it through driver analysis and packed lowering, including the symbolic scheduler. Ordinary dynamic outer array accesses retain conservative driver ranges.

Cover [0:0], [7:7] and [-2:-2] packed ranges, invalid inner indices, and actual overlapping writers. IEEE 1800-2023 9.2.2.2 and 11.5.3 permit the disjoint static prefixes. Keep out-of-range behavior in an owning-crate regression because Verilator 5.052 truncates the bit index of a one-bit element; valid-index cases remain shared with both external adapters.

Validation: 5,679 SystemVerilog tests passed (20 existing skips), 7 frontend unit tests passed, affected frontend/Celox clippy with warnings denied, formatting and diff checks. All three shared cases passed Icarus and Verilator. No retained verification baseline or external simulator exclusion was changed.

Independent always_comb processes writing different unpacked elements were rejected as multiple drivers when each packed element held one bit. Recover the checked singleton element window and preserve it through driver analysis and packed lowering, including the symbolic scheduler. Ordinary dynamic outer array accesses retain conservative driver ranges.

Cover [0:0], [7:7] and [-2:-2] packed ranges, invalid inner indices, and actual overlapping writers. IEEE 1800-2023 9.2.2.2 and 11.5.3 permit the disjoint static prefixes. Keep out-of-range behavior in an owning-crate regression because Verilator 5.052 truncates the bit index of a one-bit element; valid-index cases remain shared with both external adapters.

Validation: 5,679 SystemVerilog tests passed (20 existing skips), 7 frontend unit tests passed, affected frontend/Celox clippy with warnings denied, formatting and diff checks. All three shared cases passed Icarus and Verilator. No retained verification baseline or external simulator exclusion was changed.

Change-Id: I616b5657904654df72a57e191f04f6d9c47744b5
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(sv): preserve disjoint single-bit array driver windows #2188 👈
2 fix(sv): bound recursive specialization along instance paths #2189
3 perf(vpi): compile process-capable images without retrying #2190

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 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-26T17:58:25.560488Z c918c9e 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 added the merge-ready Request merging through Mergify after required checks label Oct 26, 2026
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio queue

@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 44 minutes 37 seconds in the queue, including 29 minutes 45 seconds running CI.

Required conditions to merge

@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

@Mergifyio refresh

@mergify

mergify Bot commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

refresh

✅ Pull request refreshed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant