Skip to content

fix(sv): resolve Taxi elaboration and cocotb visibility failures - #1645

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/resolve-taxi-elaboration-cocotb-visibility--cccf0dca
Oct 20, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/resolve-taxi-elaboration-cocotb-visibility--cccf0dca

Conversation

@tignear

@tignear tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

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.

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
@tignear

tignear commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 fix(sv): resolve Taxi elaboration and cocotb visibility failures #1645 👈
2 feat(cli): configure SV parameter literals and simulation state modes #1646

@chatgpt-codex-connector

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-20T20:41:50.849777Z
We couldn’t complete this review. Comment @codex review to try again.
27d7218 PR opened
ℹ️ 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.

@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 commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 20, 2026
@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • 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 b40e19b into master Oct 20, 2026
30 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/taxi-compatibility/resolve-taxi-elaboration-cocotb-visibility--cccf0dca branch October 20, 2026 22:17
@mergify mergify Bot removed the queued Mergify queue entry label Oct 20, 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