Skip to content

fix(sv): forward packed pattern parameters as integral values - #1914

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8
Oct 25, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8

Conversation

@tignear

@tignear tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Passing an entire packed assignment-pattern parameter to a child module failed as a nonconstant module parameter override. Publish its normalized integral value before instance binding and package export, preserving declared width, signedness, two-state conversion, and X/Z bits. A scalar override now replaces a child's packed-pattern default while unpacked parameters keep their aggregate binding path.

Add shared regressions for specialized widths, package parameters, pattern defaults overridden by named values or literals, signed/four-state values, and 129-bit values. Retain only the three new observed Icarus compile failures, since Icarus 13.0 does not support these packed array parameters, and verify the report gate recognizes them as failures.

Validation on master bd4fb45:

  • Analyzer: 796 pass, three existing ignored, two doctests pass.
  • Hierarchy consumers: 378 pass, including all 15 new regression variants across five Celox backends.
  • Report-reader and daily-gate test suites: nine tests pass.
  • Affected analyzer clippy checks (-D warnings), formatting and diff checks pass.

External evidence for the unchanged cases: Verilator passes the two normal/wide cases; its adapter does not run the raw four-state case. Icarus 13.0 rejects all three cases as unsupported. These reviewed compile failures remain failures and are retained with their exact diagnostics for the daily report gate.

Upstream evidence on base 48f908e: all 30 original Taxi configurations advance past GT_TX_DIFFCTRL to their next undriven-net blocker. These are compilation advances, not simulation passes.

Latest integration verification on master d9e44c9:

  • Full SV suite: 4,659 pass, 20 existing ignored; false-loop suite: 25 pass.
  • Rust retained-report checks: three pass; report-reader/gate script tests: nine pass.
  • The changed retained-report Rust test passes clippy (-D warnings); formatting and diff checks pass.
  • Conflict resolution preserves master's tagged-union failure checks alongside all three packed-parameter failures, and retains both conformance review notes.

CI follow-up validation: the Rust retained-report contract explicitly checks the three reviewed Icarus packed-array-parameter compile failures. All three retained-report tests pass with verilator, icarus and runtime-cases features on this stack member; all nine report-reader/gate script tests pass. The entries remain executed compile failures.

@tignear

tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(sv): forward packed pattern parameters as integral values #1914 👈
2 fix(sv): accept undriven nets with high impedance defaults #1915

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-24T22:02:43.202065Z
We couldn’t complete this review. Comment @codex review to try again.
4cf7fd9 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 24, 2026
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/preserve-array-boundaries-store-ordering-merged--3a2eb46f branch from 1ec48bb to 679a004 Compare October 24, 2026 18:03
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8 branch from 4e0e9ae to 4cb9781 Compare October 24, 2026 18:03
@tignear

tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 4e0e9ae 2026-10-24 17:57 UTC
2 rebase 4e0e9ae → 4cb9781 (rebase only) Rebase on current master d34520d at user request, including1907 moving compilation scaling checks to CodSpeed so ordinary CI no longer runs the expensive scaling cases. Preserve the existing PR id… 2026-10-24 17:57 UTC
3 content 4cb9781 → 80baa99 2026-10-24 19:05 UTC
4 content 80baa99 → 4cf7fd9 2026-10-24 21:58 UTC

@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/preserve-array-boundaries-store-ordering-merged--3a2eb46f branch from 679a004 to 1344a30 Compare October 24, 2026 19:09
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8 branch from 4cb9781 to 80baa99 Compare October 24, 2026 19:09
@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@mergify mergify Bot added the queued Mergify queue entry label Oct 24, 2026
@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-24 20:29 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • 🚫 Left the queue — 2026-10-24 21:37 UTC · at 80baa99e2d2f812e2764f6d0332a084fde106e91

This pull request spent 1 hour 8 minutes 10 seconds in the queue, with no time running CI.

Reason

The pull request conflicts with the base branch

The pull request was held in the queue, conflicting with at least one of 4 pull requests ahead of it. The conflict became a base branch one after #1913 merged.

Hint

You should update or rebase your pull request.

If you want to requeue this pull request, you can post a @mergifyio queue comment.

Requeued — the merge queue status continues in this comment ↓.

Base automatically changed from stack/tignear/fix/taxi-cocotb-correctness/preserve-array-boundaries-store-ordering-merged--3a2eb46f to master October 24, 2026 21:36
@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 24, 2026
Passing an entire packed assignment-pattern parameter to a child module failed as a nonconstant module parameter override. Publish its normalized integral value before instance binding and package export, preserving declared width, signedness, two-state conversion, and X/Z bits. A scalar override now replaces a child's packed-pattern default while unpacked parameters keep their aggregate binding path.

Add shared regressions for specialized widths, package parameters, pattern defaults overridden by named values or literals, signed/four-state values, and 129-bit values. Retain only the three new observed Icarus compile failures, since Icarus 13.0 does not support these packed array parameters, and verify the report gate recognizes them as failures.

Validation on master bd4fb45:
- Analyzer: 796 pass, three existing ignored, two doctests pass.
- Hierarchy consumers: 378 pass, including all 15 new regression variants across five Celox backends.
- Report-reader and daily-gate test suites: nine tests pass.
- Affected analyzer clippy checks (-D warnings), formatting and diff checks pass.

External evidence for the unchanged cases: Verilator passes the two normal/wide cases; its adapter does not run the raw four-state case. Icarus 13.0 rejects all three cases as unsupported. These reviewed compile failures remain failures and are retained with their exact diagnostics for the daily report gate.

Upstream evidence on base 48f908e: all 30 original Taxi configurations advance past GT_TX_DIFFCTRL to their next undriven-net blocker. These are compilation advances, not simulation passes.

Latest integration verification on master d9e44c9:
- Full SV suite: 4,659 pass, 20 existing ignored; false-loop suite: 25 pass.
- Rust retained-report checks: three pass; report-reader/gate script tests: nine pass.
- The changed retained-report Rust test passes clippy (-D warnings); formatting and diff checks pass.
- Conflict resolution preserves master's tagged-union failure checks alongside all three packed-parameter failures, and retains both conformance review notes.

CI follow-up validation: the Rust retained-report contract explicitly checks the three reviewed Icarus packed-array-parameter compile failures. All three retained-report tests pass with verilator, icarus and runtime-cases features on this stack member; all nine report-reader/gate script tests pass. The entries remain executed compile failures.

Change-Id: Idf1be4f8dc74412dc356ec83ef3b7b80f46952cc
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8 branch from 80baa99 to 4cf7fd9 Compare October 24, 2026 22:02
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@mergify mergify Bot added queued Mergify queue entry and removed dequeued Mergify stopped this queue entry; investigate before retrying labels Oct 24, 2026
@mergify

mergify Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 9 minutes 6 seconds in the queue, including 32 minutes 29 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • depends-on=celox-sim/celox#1914 [⛓️ fix(sv): forward packed pattern parameters as integral values #1914 [stack]]
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)
    • check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify
mergify Bot merged commit a89ee9a into master Oct 25, 2026
24 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8 branch October 25, 2026 00:04
@mergify mergify Bot removed the queued Mergify queue entry label Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant