Skip to content

fix(gen-verilog): lower tuple-LITERAL destructure -- last icarus compile-error class - #1988

Merged
gHashTag merged 1 commit into
masterfrom
fix/verilog-tuple-literal-destructure
Aug 8, 2026
Merged

fix(gen-verilog): lower tuple-LITERAL destructure -- last icarus compile-error class#1988
gHashTag merged 1 commit into
masterfrom
fix/verilog-tuple-literal-destructure

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Refs #1948

let (a, b, c) = (4, 3, 1) — destructuring a tuple literal rather than a call — was unhandled: tuple_local_elem_types only recognized typed/call-returning inits, so the local emitted a nameless reg [31:0] ; and = {1, 3, 4} (empty LHS). It infers element types now (default u32) and width-casts the literal elements into the packed temp.

tri-net: icarus 98 → 99 (swarm_coordinator). Every spec now compiles under Icarus — zero compile-error specs remain; the eight still out of the gate are runtime divergences only. bridge.v regenerated; unit suite at the single pre-existing red. FROZEN_HASH resealed; NOW.md entries added.

🤖 Generated with Claude Code

…ile-error class

Refs #1948

`let (a, b, c) = (4, 3, 1)` -- destructuring a tuple LITERAL rather
than a call -- was unhandled: tuple_local_elem_types only recognized
typed or call-returning inits, so the local emitted a nameless
`reg [31:0] ;` and `= {1, 3, 4}` (empty LHS). It now infers the element
types (default u32) and width-casts the literal elements into the
packed temp.

tri-net corpus: icarus 98 -> 99 (swarm_coordinator). Every spec now
COMPILES under Icarus -- zero compile-error specs remain; the eight
still out of the gate are runtime divergences only. bridge.v
regenerated; unit suite at the single pre-existing red. FROZEN_HASH
resealed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@gHashTag
gHashTag enabled auto-merge (squash) August 8, 2026 22:55
@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-08 22:55:25 UTC

Summary

Status Count
Total Open PRs 15
PRs with Failing Checks 2
PRs with All Checks Green 13
READY 5
FAILING 2
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=0d342f28d7ed != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@gHashTag
gHashTag merged commit a21d8a1 into master Aug 8, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant