Repository navigation
fix(sv): defer indexed part-select base binding until types are available - #1678
Merged
Conversation
…able Runtime casts in an indexed part-select base were bound during preliminary validation as constant expressions, rejecting valid Taxi DMA selects with a constant-cast-operand error. Validate the positive constant width there and let normal expression lowering bind the variable base with complete type information, as required by IEEE 1800-2023 11.5.1. Add a shared regression for numeric and typedef casts in runtime read and write bases, including truncating indices. Validation: - Shared SV suite: 3287 passed, 90 existing ignores across the backend variants; indexed-select group: 298 passed. - New shared case passes Verilator and Icarus execution. - SV analyzer: 770 passed, 3 existing ignores; project CLI: 17 passed. - Original Taxi AXI CDMA [8-0] and AXI DMA [0-8] builds pass the former cast error and stop at separate combinational expression lowering failures for read_addr_next and addr_next. Neither is counted as an upstream runtime pass. - Formatting and affected-crate all-target Clippy pass. Change-Id: I57adbbd3abcd3c0e4761b3deb63d5232558a7f27
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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Contributor
Merge Queue Status
This pull request spent 1 hour 4 minutes 43 seconds in the queue, including 39 minutes 15 seconds running CI. Required conditions to merge
|
43 of 73 tasks
Base automatically changed from
stack/tignear/fix/taxi-compatibility/fill-unbased-param-overrides-their-declared-width--f5f1b4a1
to
master
October 21, 2026 05:02
mergify
Bot
deleted the
stack/tignear/fix/taxi-compatibility/defer-indexed-part-select-base-binding-until--57adbbd3
branch
October 21, 2026 05:33
This was referenced Oct 21, 2026
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.
Runtime casts in an indexed part-select base were bound during preliminary validation as constant expressions, rejecting valid Taxi DMA selects with a constant-cast-operand error. Validate the positive constant width there and let normal expression lowering bind the variable base with complete type information, as required by IEEE 1800-2023 11.5.1.
Add a shared regression for numeric and typedef casts in runtime read and write bases, including truncating indices.
Validation:
Depends-On: #1677