Skip to content

feat(sv)!: support unindexed interface array value parameters - #2204

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-interface-array-parameters/support-unindexed-interface-array-value-params--df34f3eb
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/sv-interface-array-parameters/support-unindexed-interface-array-value-params--df34f3eb

Conversation

@tignear

@tignear tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Taxi uses references such as m_axi_rd.ID_W and m_axis.DATA_W without selecting an interface-array element. Add interface_array_parameter=warn|allow compatibility handling that reads the value parameter from the first element in declaration order, including nonzero bounds. The default remains error under IEEE 1800-2023 23.6.

Keep signal and type-parameter references indexed. Preserve the selected parameter's value, width and signedness, lexical shadowing, indexed generate prefixes, and a located diagnostic. The existing CLI diagnostic override and celox.toml diagnostics table both select this behavior. No whole-array uniformity requirement is added.

Validation covers 5,700 SystemVerilog/diagnostic tests (20 existing skips), 838 analyzer and 8 frontend unit tests (3 existing ignored), and 2 doctests, affected clippy with warnings denied, formatting and diff checks. Three original unmodified Taxi representative configurations passed their complete cocotb modules in the combined implementation snapshot: 33 tests passed and one upstream test skipped. This is not a full Taxi parameter-matrix result. A Verilator 5.052 execution probe confirmed the unindexed reference reads the actual parameter override.

BREAKING CHANGE: public AnalyzerWarning and FrontendWarningKind gain InterfaceArrayParameter variants; downstream exhaustive Rust matches must handle the new diagnostic.

Taxi uses references such as m_axi_rd.ID_W and m_axis.DATA_W without selecting an interface-array element. Add interface_array_parameter=warn|allow compatibility handling that reads the value parameter from the first element in declaration order, including nonzero bounds. The default remains error under IEEE 1800-2023 23.6.

Keep signal and type-parameter references indexed. Preserve the selected parameter's value, width and signedness, lexical shadowing, indexed generate prefixes, and a located diagnostic. The existing CLI diagnostic override and celox.toml diagnostics table both select this behavior. No whole-array uniformity requirement is added.

Validation covers 5,700 SystemVerilog/diagnostic tests (20 existing skips), 838 analyzer and 8 frontend unit tests (3 existing ignored), and 2 doctests, affected clippy with warnings denied, formatting and diff checks. Three original unmodified Taxi representative configurations passed their complete cocotb modules in the combined implementation snapshot: 33 tests passed and one upstream test skipped. This is not a full Taxi parameter-matrix result. A Verilator 5.052 execution probe confirmed the unindexed reference reads the actual parameter override.

BREAKING CHANGE: public AnalyzerWarning and FrontendWarningKind gain InterfaceArrayParameter variants; downstream exhaustive Rust matches must handle the new diagnostic.

Change-Id: Idf34f3eba2c1cecce3e66d17da569518cb05cb3b
@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 feat(sv)!: support unindexed interface array value parameters #2204 👈
2 perf(x86): validate wide values at mutation boundaries #2205

@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-26T19:14:30.922079Z 3d9c4a3 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
@mergify mergify Bot added the queued Mergify queue entry label Oct 26, 2026
@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 6 minutes 50 seconds in the queue, including 28 minutes 24 seconds running CI.

Required conditions to merge

@mergify
mergify Bot merged commit e5cd071 into master Oct 26, 2026
23 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/sv-interface-array-parameters/support-unindexed-interface-array-value-params--df34f3eb branch October 26, 2026 21:15
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 2026
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