Skip to content

feat(igla): Wave Loop 405 — flash-boot cold-POR smoke gate - #1312

Merged
gHashTag merged 2 commits into
masterfrom
wave-loop-405
Jul 4, 2026
Merged

gHashTag merged 2 commits into
masterfrom
wave-loop-405

Conversation

@gHashTag

@gHashTag gHashTag commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Closes #1311

This PR adds --flash-boot to tri fpga smoke-gate. When set, the gate programs the canonical bitstream to SPI flash, prompts for the documented cold-POR protocol, captures the FPGA STAT register without JTAG reset, and asserts the Lean 4 boot_success predicate.

Key implementation note: the first attempt used a direct program_flash + capture_stat sequence and repeatedly returned H2_CCLK_TIMING (STAT=0x5000190C) with identical operator actions. Reusing the empirically-working cclk_sweep cold-POR path resolved the issue and now consistently reaches STAT=0x401079FC / DONE=HIGH on the Wukong 200T.

Verification:

  • Bench: flash program+verify, cold-POR, boot_success.
  • ./scripts/tri test: 576/576 PASS, yosys smoke 56/0 PASS.

🤖 Generated with Claude Code

gHashTag and others added 2 commits July 4, 2026 16:57
…efs #1311)

- Update .trinity/current-issue.md to point to Wave Loop 405 issue #1311.
- Add .claude/plans/wave-loop-405.md with weak points, competitor scan,
  decomposed plan, acceptance criteria, and recommended default variant.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Add --flash-boot to tri fpga smoke-gate; implies --require-cable.
- Reuse the empirically-working cclk_sweep cold-POR path so the gate
  consistently reaches STAT=0x401079FC / DONE=HIGH on the Wukong 200T.
- Return Vec<SweepResult> from cclk_sweep so callers can assert structurally.
- Verified on bench: flash program+verify, cold-POR, boot_success.
- Conformance suite 576/576 PASS, yosys smoke 56/0 PASS.

Closes #1311

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 4, 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 Jul 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-04 11:08:25 UTC

Summary

Status Count
Total Open PRs 15
PRs with Failing Checks 9
PRs with All Checks Green 6
READY 4
FAILING 9
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=16664105c99c != manifest seal=49e55df6d444.
    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 enabled auto-merge (squash) July 4, 2026 11:08
@gHashTag
gHashTag merged commit 9236718 into master Jul 4, 2026
17 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.

Wave Loop 405 — FPGA boot loop closure (variant A/B/C)

1 participant