Repository navigation
fix(sv): accept real-valued module parameter overrides - #1839
Merged
Conversation
Taxi's watchdog passes COUNT_125US=125000/6.4 through module parameters, but the frontend rejected the binding because it only tried integral constant evaluation. Accept numeric real constants using the existing real evaluator and retain the original expression for the receiving parameter's type context and specialization. Continue rejecting unresolved values and preserve diagnostic tracking issue 461. Add three shared SystemVerilog regressions covering fractional forwarding, real/shortreal/integer conversion contexts, math functions, and generate scopes. Exercise each through all five Celox backends. Validation: - Focused shared cases: 15 passed; full SV suite: 4,366 passed, 20 existing ignored. - Analyzer: 795 passed, 3 existing ignored; frontend: 5 passed; shared suite: 30 passed; doctests: 2 passed. - Final diagnostic regression passed; affected libraries and SV harness passed Clippy with -D warnings; formatting passed. - Icarus: all three new cases passed. Verilator 5.052 passed two; the typed shortreal case mismatches because Verilator promotes shortreal to real (Warning-SHORTREAL). Slang 12 elaborates all three. - A custom cocotb regression of unchanged upstream Taxi watchdog RTL passed with native O1 and two-state simulation: load 19531 and 3, countdown, reload, and reset. This is not a full upstream test-module pass. - Paired release-frontend replay of 25 previously COUNT_125US-blocked Taxi configurations: baseline rejects all 25; this patch reaches STAT_PREFIX_STR in seven and GT_TX_DIFFCTRL in one. The other 17 time out at 120 seconds. No complete FPGA-core configuration passes are claimed. All 188 resolved upstream sources remain unchanged. The remaining unpacked-array parameter forwarding errors and frontend runtime limits are separate follow-up work. Change-Id: Id2cf14ddc0d997cc362eb07f2211c6bbedd6ed87
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 17 minutes 11 seconds in the queue, including 1 hour 14 minutes 52 seconds running CI. Required conditions to merge
|
40 of 71 tasks
Contributor
Author
|
This pull request is part of a Mergify stack:
|
mergify
Bot
deleted the
stack/tignear/fix/sv-real-parameter-overrides/accept-real-valued-module-param-overrides--d2cf14dd
branch
October 24, 2026 03:44
This was referenced Oct 24, 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.
Taxi's watchdog passes COUNT_125US=125000/6.4 through module parameters,
but the frontend rejected the binding because it only tried integral
constant evaluation. Accept numeric real constants using the existing
real evaluator and retain the original expression for the receiving
parameter's type context and specialization. Continue rejecting unresolved
values and preserve diagnostic tracking issue 461.
Add three shared SystemVerilog regressions covering fractional forwarding,
real/shortreal/integer conversion contexts, math functions, and generate
scopes. Exercise each through all five Celox backends.
Validation:
20 existing ignored.
shared suite: 30 passed; doctests: 2 passed.
passed Clippy with -D warnings; formatting passed.
the typed shortreal case mismatches because Verilator promotes
shortreal to real (Warning-SHORTREAL). Slang 12 elaborates all three.
passed with native O1 and two-state simulation: load 19531 and 3,
countdown, reload, and reset. This is not a full upstream test-module pass.
Taxi configurations: baseline rejects all 25; this patch reaches
STAT_PREFIX_STR in seven and GT_TX_DIFFCTRL in one. The other 17 time
out at 120 seconds. No complete FPGA-core configuration passes are
claimed. All 188 resolved upstream sources remain unchanged.
The remaining unpacked-array parameter forwarding errors and frontend
runtime limits are separate follow-up work.