Skip to content

fix(sv): preserve Taxi aggregates and sparse FF memories - #1659

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/preserve-taxi-aggregates-sparse-ff-memories--009aa878
Oct 21, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/fix/taxi-compatibility/preserve-taxi-aggregates-sparse-ff-memories--009aa878

Conversation

@tignear

@tignear tignear commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Preserve packed parameter shapes and constant selects, evaluate continuous
concatenated assignments once, and allow dynamic scratch writes inside
functions used by continuous assignments. Narrow constant-masked reads before
combinational dependency analysis while retaining procedural wakeups.

Lower unpacked memories shared by ordinary edge-triggered processes through
the existing sparse next-state protocol, avoiding whole-memory seeds and
publishing each complete dirty set once. Reject blocking/read-modify-write
forms that the sparse protocol cannot represent. Keep conflicting always_ff
writers diagnosed, with an explicit multiple_always_ff_drivers policy.

Validation: full SystemVerilog suite across five backends (3242 passed,
90 ignored); analyzer tests (760 passed, 3 ignored); diagnostic policy and
project CLI regressions; retained exclusion metadata tests; affected-crate
Clippy and formatting. New portable
cases were checked with Icarus and Verilator where their four-state support
permits; the changed automatic-function case passes both simulators.

Upstream Taxi at O1: APB/AXI-Lite/AXI dual-port RAMs pass 12/24/24 tests;
stats_collect passes 8 tests; the 1x1 eight-bit crossbar passes 12 tests.
Two selected BASE-R cases pass (2 executed, 238 skipped). Its complete
matrix is not verified: gearbox cases require the upstream runner's 1fs
precision override, which the current CLI harness does not apply, and the
full run also timed out. Crossbar_1s now passes all 12 upstream tests at
O1 with the optimized release VPI host (381 seconds wall time under load).
Static function result persistence is deferred.

Depends-On: #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-20T23:31:16.663138Z
We couldn’t complete this review. Comment @codex review to try again.
d922bbe 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.

@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 feat(cli): configure SV parameter literals and simulation state modes #1646
2 fix(sv): preserve Taxi aggregates and sparse FF memories #1659 👈
3 fix(vpi): expose unpacked arrays through lazy element handles #1660
4 fix(cli): reject empty cocotb test selections #1661
5 perf(vpi): avoid metadata cloning during value access #1668
6 perf(sv): reuse constants when expression contexts match #1669
7 feat(cli): configure SV simulation timescales #1672

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

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 20, 2026
Preserve packed parameter shapes and constant selects, evaluate continuous
concatenated assignments once, and allow dynamic scratch writes inside
functions used by continuous assignments. Narrow constant-masked reads before
combinational dependency analysis while retaining procedural wakeups.

Lower unpacked memories shared by ordinary edge-triggered processes through
the existing sparse next-state protocol, avoiding whole-memory seeds and
publishing each complete dirty set once. Reject blocking/read-modify-write
forms that the sparse protocol cannot represent. Keep conflicting always_ff
writers diagnosed, with an explicit multiple_always_ff_drivers policy.

Validation: full SystemVerilog suite across five backends (3242 passed,
90 ignored); analyzer tests (760 passed, 3 ignored); diagnostic policy and
project CLI regressions; retained exclusion metadata tests; affected-crate
Clippy and formatting. New portable
cases were checked with Icarus and Verilator where their four-state support
permits; the changed automatic-function case passes both simulators.

Upstream Taxi at O1: APB/AXI-Lite/AXI dual-port RAMs pass 12/24/24 tests;
stats_collect passes 8 tests; the 1x1 eight-bit crossbar passes 12 tests.
Two selected BASE-R cases pass (2 executed, 238 skipped). Its complete
matrix is not verified: gearbox cases require the upstream runner's 1fs
precision override, which the current CLI harness does not apply, and the
full run also timed out. Crossbar_1s now passes all 12 upstream tests at
O1 with the optimized release VPI host (381 seconds wall time under load).
Static function result persistence is deferred.

Change-Id: I009aa8782e9855976a5638cfeb87a835b9526ba4
@tignear
tignear force-pushed the stack/tignear/fix/taxi-compatibility/preserve-taxi-aggregates-sparse-ff-memories--009aa878 branch from d922bbe to 7407115 Compare October 21, 2026 00:07
@tignear

tignear commented Oct 21, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial d922bbe 2026-10-21 00:07 UTC
2 content d922bbe → 7407115 Correct the BASE-R coverage statement: upstream requests 1fs precision, which the current CLI harness does not apply; gearbox cases fail at Clock construction as well as the full run timing out. Mess… 2026-10-21 00:07 UTC

@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

This pull request spent 1 hour 35 minutes 22 seconds in the queue, including 1 hour 42 seconds running CI.

Required conditions to merge

Base automatically changed from stack/tignear/fix/taxi-compatibility/configure-sv-param-literals-simulation-state-modes--349bbcdc to master October 21, 2026 01:48
@mergify
mergify Bot merged commit b445de1 into master Oct 21, 2026
31 checks passed
@mergify
mergify Bot deleted the stack/tignear/fix/taxi-compatibility/preserve-taxi-aggregates-sparse-ff-memories--009aa878 branch October 21, 2026 02:34
@mergify mergify Bot removed the queued Mergify queue entry label Oct 21, 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