Repository navigation
feat(sv)!: support unindexed interface array value parameters - #2204
Merged
Conversation
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
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
Bot
deleted the
stack/tignear/fix/sv-interface-array-parameters/support-unindexed-interface-array-value-params--df34f3eb
branch
October 26, 2026 21:15
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.
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.