Skip to content

feat(fpga): W401 cold-POR protocol hardening and board-less CI guards (#1303)#1304

Merged
gHashTag merged 1 commit into
masterfrom
trinity-rust-rings
Jul 4, 2026
Merged

feat(fpga): W401 cold-POR protocol hardening and board-less CI guards (#1303)#1304
gHashTag merged 1 commit into
masterfrom
trinity-rust-rings

Conversation

@gHashTag

@gHashTag gHashTag commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Wave Loop 401 closes #1303 by hardening the cold-POR SPI-boot protocol and adding board-less guards around the W400 physical result.

Summary

  • tri fpga smoke-gate now asserts the canonical bitstream config: IDCODE 0x03636093, SPI x1, CCLK startup, OSCFSEL=0, and no CRC writes.
  • Added tri fpga boot-protocol (interactive and --checklist modes) so the cold-POR steps are explicit and printable.
  • tri fpga measure-cclk --csv now auto-detects DSView / PulseView / Saleae CSV exports and reports frequency / duty cycle; unit tests added.
  • The smoke-gate dry-run path exercises the cclk-sweep / sweep-report pipeline and asserts six OSCFSEL rows.
  • Docs updated: fpga/HARDWARE_SSOT.md, close-out reports, and cooperation variants for W402.

Verification

./scripts/tri test  # 575 / 575 PASS

Deferred

AC5 (physical CCLK measurement on pin P12) requires an oscilloscope/logic-analyser capture and is deferred to W402.

🤖 Generated with Claude Code

@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 08:34:52 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 08:34
@gHashTag
gHashTag force-pushed the trinity-rust-rings branch from a22fe65 to 6d3202f Compare July 4, 2026 08:36
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-04 08:36:17 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).

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

@gHashTag
gHashTag force-pushed the trinity-rust-rings branch from 6d3202f to 3b66b17 Compare July 4, 2026 08:38
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-07-04 08:38:20 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).

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

…old-POR CCLK sweep, default bitstream verified, board-less CI guards

Wave Loops 397-401 close the FPGA SPI boot root cause and harden the
protocol:

- W397: boot-log, STAT decoding, cold-POR decision tree.
- W398: patch-cor0 / cclk-variants, bit-config assertions.
- W399: automated cclk-sweep, sweep-report, measure-cclk helper.
- W400: default ternary_mac_demo_top_200t.bit verified to boot from flash
  across OSCFSEL 0..5; CCLK timing hypothesis closed.
- W401: smoke-gate canonical assertions (IDCODE, SPI x1, CCLK startup,
  OSCFSEL=0, no CRC writes), boot-protocol checklist, multi-format CCLK CSV
  parser with unit tests, dry-run sweep CI guard, close-out reports.

Verification: ./scripts/tri test 575/575 PASS.

Closes #1303
@gHashTag
gHashTag force-pushed the trinity-rust-rings branch from 3b66b17 to b6f4dc3 Compare July 4, 2026 08:39
@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 08:39:58 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 merged commit a082808 into master Jul 4, 2026
18 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.

W401: CCLK measurement and cold-POR hardening

1 participant