Skip to content

fix(sv): accept undriven nets with high impedance defaults - #1915

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1
Oct 25, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1

Conversation

@tignear

@tignear tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

A legal undriven internal net was rejected during AST conversion or after parameter specialization. Accept it and use the existing high-impedance initialization, as required by IEEE 1800-2023 6.6 and 6.7.1. Keep overlapping-driver checks, and remove private expression walkers used only by the obsolete rejection.

Replace rejection expectations with shared behavior checks for internal nets, all unpacked array elements, child input connections, generate-disabled drivers, and conversion to bit values.

Validation on master bd4fb45 with the lower two stack members:

  • Full SV suite: 4,518 pass, 20 existing ignored; all 10 new regression variants pass across five Celox backends.
  • Analyzer/frontend unit tests and doctests pass.
  • Affected analyzer/frontend clippy checks (-D warnings), formatting and diff checks pass.
  • Reviewed all 2,054 official sv-tests CI verdicts: only the pragma probe improves in both state modes. Update those two expectations and document the undriven-net cause. The local pinned probe also passes elaboration in both modes.

External evidence for the unchanged cases: both portable cases pass Icarus, including internal nets and all unpacked array elements as Z. Verilator passes the two-state conversion case; its adapter does not run the raw four-state case.

Before the fix, both new case sources fail with the former undriven-net rejection. In the upstream check on base 48f908e, two original Taxi FIFO configurations advance to interface_array_query diagnostic policy; no simulation success is claimed for those configurations.

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.

Depends-On: #1914

@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.986018Z
We couldn’t complete this review. Comment @codex review to try again.
ef1e83e 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/accept-undriven-nets-high-impedance-defaults--34535db1 branch from 133e9d4 to 1c5cf4b Compare October 24, 2026 17:11
@tignear

tignear commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 133e9d4 2026-10-24 17:09 UTC
2 content 133e9d4 → 1c5cf4b Update the two reviewed sv-tests pragma expectations from fail to pass: accepting its undriven protected_wire correctly enables elaboration in both state modes. CI run40112270471 shows these are the … 2026-10-24 17:09 UTC
3 rebase 1c5cf4b → d3340ca (rebase only) 2026-10-24 17:57 UTC
4 rebase d3340ca → 6ef89e7 (rebase only) 2026-10-24 19:05 UTC
5 content 6ef89e7 → ef1e83e 2026-10-24 21:58 UTC

@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1 branch from 1c5cf4b to d3340ca 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 2 times, most recently from 4cb9781 to 80baa99 Compare October 24, 2026 19:09
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1 branch from d3340ca to 6ef89e7 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:38 UTC · at 6ef89e7c23c820d8facda7aab1c6cbc3e8cf1497

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

Reason

Pull request #1915 has been dequeued

Queue conditions are not satisfied:

Hint

You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it.
If you do update this pull request, it will automatically be requeued once the queue conditions match again.
If you think this was a flaky issue instead, you can requeue the pull request, without updating it, by posting a @mergifyio queue comment.

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

@mergify mergify Bot added dequeued Mergify stopped this queue entry; investigate before retrying and removed queued Mergify queue entry labels Oct 24, 2026
A legal undriven internal net was rejected during AST conversion or after parameter specialization. Accept it and use the existing high-impedance initialization, as required by IEEE 1800-2023 6.6 and 6.7.1. Keep overlapping-driver checks, and remove private expression walkers used only by the obsolete rejection.

Replace rejection expectations with shared behavior checks for internal nets, all unpacked array elements, child input connections, generate-disabled drivers, and conversion to bit values.

Validation on master bd4fb45 with the lower two stack members:
- Full SV suite: 4,518 pass, 20 existing ignored; all 10 new regression variants pass across five Celox backends.
- Analyzer/frontend unit tests and doctests pass.
- Affected analyzer/frontend clippy checks (-D warnings), formatting and diff checks pass.
- Reviewed all 2,054 official sv-tests CI verdicts: only the pragma probe improves in both state modes. Update those two expectations and document the undriven-net cause. The local pinned probe also passes elaboration in both modes.

External evidence for the unchanged cases: both portable cases pass Icarus, including internal nets and all unpacked array elements as Z. Verilator passes the two-state conversion case; its adapter does not run the raw four-state case.

Before the fix, both new case sources fail with the former undriven-net rejection. In the upstream check on base 48f908e, two original Taxi FIFO configurations advance to interface_array_query diagnostic policy; no simulation success is claimed for those configurations.

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.

Change-Id: I34535db18212ea20dc2c4b917524f22d6444e765
@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
@tignear
tignear force-pushed the stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1 branch from 6ef89e7 to ef1e83e 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.

1 similar comment
@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 1 minute 11 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]
  • 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

Base automatically changed from stack/tignear/fix/taxi-cocotb-correctness/forward-packed-pattern-params-integral-values--df1be4f8 to master October 25, 2026 00:04
@mergify
mergify Bot merged commit de79c93 into master Oct 25, 2026
27 of 45 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/taxi-cocotb-correctness/accept-undriven-nets-high-impedance-defaults--34535db1 branch October 25, 2026 00:05
@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