Repository navigation
fix(sv): preserve parameter overrides with explicit analysis state - #1526
Conversation
|
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 33f0c4ffbe
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
33f0c4f to
c89b44c
Compare
Revision history
|
0e18bd6 to
9b287ac
Compare
c89b44c to
061ed43
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 061ed430b7
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
061ed43 to
95ad0a3
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 95ad0a3f98
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Integral module overrides now retain wide and X/Z literals, including through generate-scope recollection. Add shared regressions for a 256-bit high bit controlling a generate branch and an X/Z payload/mask; update both references. Remove every production thread-local from the SV analyzer. Carry parameter overrides, scope imports, constant functions and their recursion depth, dimension query caches, timescales, interface recursion, and call-site numbering through explicit per-analysis contexts. Nested module and package analysis shares only its owning session. Selected-root timescales are installed before package bodies are analyzed, preserving queries despite unreachable instantiations. Validation: 376 analyzer tests pass (4 existing ignores), interface 188, parameter override 88, width 4, package 57, unit scope 12, lifetime 14 and array 7 tests pass. The SV suite passed 2,915 cases and found four selected-root timescale failures; after fixing their shared cause, all 84 timescale consumer tests pass. All-target Clippy and formatting pass. The official pinned sv-tests runner reports the same results for all 2,054 state-mode cases (no expected TSV changes). Existing independent external simulator evidence for the unchanged shared cases is retained. Share one analysis session across packages and compilation units, preserving distinct identities for effectful calls from different source scopes. Add an AST regression that fails on the previous duplicate call-site IDs. Validation: 377 analyzer tests pass (4 existing ignored), 46 package consumer tests pass, and analyzer all-target Clippy and formatting pass. Share source-call IDs with modules importing package bodies, including direct and indexed analysis entry points. Preserve explicit compilation warnings when integrating master. Validation after integration: 385 analyzer tests and 2944 SystemVerilog tests pass; interface, parameter, readmem and collector consumers pass; workspace all-target Clippy passes. Existing backend exclusions remain. Change-Id: I89b4e3dd4d9a18277794be5de7952c7d0c0ac921
9b287ac to
9288d2f
Compare
95ad0a3 to
3dcbf35
Compare
Merge Queue Status
This pull request spent 2 hours 1 minute 2 seconds in the queue, including 2 hours 17 minutes 3 seconds running CI. Required conditions to merge
|
Integral module overrides now retain wide and X/Z literals, including through
generate-scope recollection. Add shared regressions for a 256-bit high bit
controlling a generate branch and an X/Z payload/mask; update both references.
Remove every production thread-local from the SV analyzer. Carry parameter
overrides, scope imports, constant functions and their recursion depth, dimension
query caches, timescales, interface recursion, and call-site numbering through
explicit per-analysis contexts. Nested module and package analysis shares only
its owning session. Selected-root timescales are installed before package bodies
are analyzed, preserving queries despite unreachable instantiations.
Validation: 376 analyzer tests pass (4 existing ignores), interface 188,
parameter override 88, width 4, package 57, unit scope 12, lifetime 14 and array
7 tests pass. The SV suite passed 2,915 cases and found four selected-root
timescale failures; after fixing their shared cause, all 84 timescale consumer
tests pass. All-target Clippy and formatting pass. The official pinned sv-tests runner
reports the same results for all 2,054 state-mode cases (no expected TSV changes). Existing independent external
simulator evidence for the unchanged shared cases is retained.
Share one analysis session across packages and compilation units, preserving
distinct identities for effectful calls from different source scopes. Add an
AST regression that fails on the previous duplicate call-site IDs.
Validation: 377 analyzer tests pass (4 existing ignored), 46 package consumer
tests pass, and analyzer all-target Clippy and formatting pass.
Share source-call IDs with modules importing package bodies, including direct
and indexed analysis entry points. Preserve explicit compilation warnings
when integrating master.
Validation after integration: 385 analyzer tests and 2944 SystemVerilog tests
pass; interface, parameter, readmem and collector consumers pass; workspace
all-target Clippy passes. Existing backend exclusions remain.
Depends-On: #1525