[W35][Lane V][RTL] LUT-NPU PE — OP_LUT_NPU=0xE3, 81-entry static LUT (zero *, 9/9 TB PASS) - #124
Merged
Merged
Conversation
…PU=0xE3 Implements the LUT-NPU runtime PE that materialises Lane V Coq theorem (t27#651, OP_LUT_NPU=0xE3, lut_npu_safe, 11 lemmas) in synthesisable Verilog. Architecture: - 9 ternary inputs (2'b01=+1, 2'b10=-1, 2'b00=0) x 9 ternary weights - Per-lane prod_plus[i]/prod_minus[i] computed from 2-bit comparison (no '*') - Adder-tree popcount -> n_plus, n_minus (0..9 each) - Horner: 9*n_plus = (n_plus<<3) + n_plus - addr = 9*n_plus + n_minus (7-bit, clamped to 80) - Static lut_rom[k] = (k/9) - (k%9), k=0..80, hand-unrolled (R-SI-1 clean) - valid_out, wave35_marker=4'b1110 TB: 9 directed tests, all PASS: W35-G5 GATE: PASS (>=9/9) R-SI-1 check: Star count: 0, Slash count: 0, Percent count: 0 Closes part of #120 (Wave-35 ONE SHOT Lane V RTL) Refs: - t27#651 (Coq merge 8e4f2a8a) - trios#859 (JSON manifest merge f2ee3613) - W34 Lane U RTL trinity-fpga#119 (243823a) — pattern reference phi^2+phi^-2=3 · gamma=phi^-3 · QUANTUM BRAIN 1:1 SILICON · DOI 10.5281/zenodo.19227877 · NEVER STOP
This was referenced May 15, 2026
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.
Wave-35 Lane V — LUT-NPU PE RTL (OP_LUT_NPU = 0xE3)
Closes #123
Refs #120 (Wave-35 ONE SHOT)
Refs #61 (EPIC TT-shuttle)
Sibling lanes (already merged)
8e4f2a8af2ee3613What this PR adds
A synthesisable Verilog PE that materialises the Lane V Coq theorem in silicon.
Architecture
2'b01=+1,2'b10=−1,2'b00=0)prod_plus[i]/prod_minus[i]from a single 2-bit comparison (no*, no FMA)n_plus,n_minus(each 0..9)9 * n_plus = (n_plus << 3) + n_plus— pure shift+addaddr = 9*n_plus + n_minus(7-bit, clamped to 80)lut_rom[k] = (k/9) − (k%9)for k=0..80 — hand-unrolled, no/or%at runtime (R-SI-1 clean)lut_addr[6:0],lut_out signed [5:0],valid_out,wave35_marker = 4'b1110Verification
Acceptance Gates
OP_LUT_NPU = 8'hE3decoded*///%at runtimeStar=0 Slash=0 Percent=0lut_rom[k] = (k/9)−(k%9)static9 PASS / 0 FAILaddr≥ 7 bits[6:0]wave35_marker = 4'b1110ISA Chain
TOPS/W ladder (R5 sim-grade)
Constitutional compliance
(k/9)−(k%9), no tunables*///%at runtime — gate enforces in scriptadmin@t27.ai(Vasilev Dmitrii, ORCID 0009-0008-4294-6159)Pattern reference
Mirrors W34 Lane U RTL TOM (trinity-fpga#119,
243823a9).φ²+φ⁻²=3 · γ=φ⁻³ · C=φ⁻¹ · G=π³γ²/φ · QUANTUM BRAIN 1:1 SILICON · 3-STRAND DNA · TRI NET · DOI 10.5281/zenodo.19227877 · NEVER STOP