Repository navigation
fix(sv): resolve Taxi elaboration and cocotb visibility failures - #1645
Conversation
Taxi designs fail elaboration on constant concatenations, parameter actuals, input defaults, generate-local types, memory word part-selects and static scratch arrays that are completely overwritten before use. Resolve those cases while preserving parameter specialization, expression widths and X/Z. Expose integral parameters as read-only VPI objects and restore interface array hierarchy from declared source paths. Parameter references remain compile-time constants at O2. Reset the callback iteration budget whenever physical time advances, retaining the guard against nonadvancing loops. Aggregate input defaults remain errors by default; the unpacked_port_default diagnostic can enable this extension with warn or allow. Validation includes the SV regressions across available backends, analyzer and VPI package tests, affected-crate Clippy, and Verilator/Icarus checks for new shared cases. Icarus 13 does not support packed array parameters or the generate-scoped enum regression; those stronger O2 API cases are checked with Verilator instead. This is partial Taxi compatibility work. The cumulative audit after these fixes and the dependent CLI changes has 90 passing configurations across 50 pytest modules (879 original cocotb tests). It is not a full rerun of all 1561 configurations on the final tree. AXI crossbar, LFSR, dual-port RAM, Ethernet and other cases still expose unsupported behavior. Upstream's 4003 original source and test files remain unchanged. Change-Id: Icccf0dcafb4cec3c9476049601ae3f12a0023e39
|
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. |
|
Queued — the merge queue status continues in this comment ↓. |
Merge Queue Status
This pull request spent 53 minutes 8 seconds in the queue, including 51 minutes 19 seconds running CI. Required conditions to merge
|
Taxi designs fail elaboration on constant concatenations, parameter actuals,
input defaults, generate-local types, memory word part-selects and static
scratch arrays that are completely overwritten before use. Resolve those
cases while preserving parameter specialization, expression widths and X/Z.
Expose integral parameters as read-only VPI objects and restore interface
array hierarchy from declared source paths. Parameter references remain
compile-time constants at O2. Reset the callback iteration budget whenever
physical time advances, retaining the guard against nonadvancing loops.
Aggregate input defaults remain errors by default; the unpacked_port_default
diagnostic can enable this extension with warn or allow.
Validation includes the SV regressions across available backends, analyzer
and VPI package tests, affected-crate Clippy, and Verilator/Icarus checks for
new shared cases. Icarus 13 does not support packed array parameters or the
generate-scoped enum regression; those stronger O2 API cases are checked
with Verilator instead.
This is partial Taxi compatibility work. The cumulative audit after these
fixes and the dependent CLI changes has 90 passing configurations across
50 pytest modules (879 original cocotb tests). It is not a full rerun of all
1561 configurations on the final tree. AXI crossbar, LFSR, dual-port RAM,
Ethernet and other cases still expose unsupported behavior. Upstream's
4003 original source and test files remain unchanged.