Repository navigation
feat(igla): Wave Loop 405 — flash-boot cold-POR smoke gate - #1312
Merged
Merged
Conversation
- 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>
Contributor
|
📓 NotebookLM Notebook linked to this PR
This notebook contains session context, decisions, and artifacts for this work. |
Contributor
gHashTag
enabled auto-merge (squash)
July 4, 2026 11:08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1311
This PR adds
--flash-boottotri 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 4boot_successpredicate.Key implementation note: the first attempt used a direct
program_flash+capture_statsequence and repeatedly returnedH2_CCLK_TIMING(STAT=0x5000190C) with identical operator actions. Reusing the empirically-workingcclk_sweepcold-POR path resolved the issue and now consistently reachesSTAT=0x401079FC/DONE=HIGHon the Wukong 200T.Verification:
boot_success../scripts/tri test: 576/576 PASS, yosys smoke 56/0 PASS.🤖 Generated with Claude Code