Skip to content

feat: emit_verilog init= -> the verified generator trains XOR on real silicon - #1890

Merged
gHashTag merged 1 commit into
masterfrom
feat/emit-custom-init
Aug 7, 2026
Merged

feat: emit_verilog init= -> the verified generator trains XOR on real silicon#1890
gHashTag merged 1 commit into
masterfrom
feat/emit-custom-init

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

emit_verilog now takes an optional init dict (default None) that overrides the random weight init. With an XOR near-solution init, the CI-verified generator emits a microsequencer that trains XOR (29/30 epochs in the model).

This closed the last gap: the CI-verified generator's RTL now trains a neural net on REAL SILICON (not the hand-written bpseq.v). emit_verilog(2,2,1,'genbp',clk_div=16,init=XOR) → UART wrapper → seed-searched openXC7 build → flashed to the AX7203: trains XOR to 4/4, 24/25 (and 21/22) epochs, converging (y11→0.013), forward bit-exact to the model at ep0. The generated trainer (trainable biases → more microcode steps) is more timing-marginal than the lean bpseq; needed seed 6 of {1,2,3,6,7,8}. Default emit output byte-identical (CI gate unaffected). Refs #1764

… silicon

emit_verilog now takes an optional init dict (default None) that overrides the random
weight init. With an XOR near-solution init, the CI-verified generator emits a
microsequencer that trains XOR (29/30 epochs in the model). This closed the last gap:
the CI-verified generator's RTL now trains a neural net on REAL SILICON (not the
hand-written bpseq.v). emit_verilog(2,2,1,'genbp',clk_div=16,init=XOR) -> UART wrapper
-> seed-searched openXC7 build -> flashed to the AX7203: trains XOR to 4/4, 24/25 (and
21/22) epochs, converging, forward bit-exact to the model at ep0. The generated trainer
(trainable biases -> more microcode steps) is more timing-marginal than the lean bpseq;
needed seed 6 of {1,2,3,6,7,8}. Default emit output byte-identical (CI gate unaffected).

Refs #1764

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

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

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-07 17:53:06 UTC

Summary

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

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=f74459fc23c3 != 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 8a15af3 into master Aug 7, 2026
18 checks passed
@gHashTag
gHashTag deleted the feat/emit-custom-init branch August 7, 2026 18:00
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