feat(rtl): Wave-35 Lane U LUT-NPU PE — OP_LUT_NPU=0xE3 (81-entry BitNet b1.58, 12/12 TB PASS, 81 cells)#125
Closed
gHashTag wants to merge 1 commit into
Closed
feat(rtl): Wave-35 Lane U LUT-NPU PE — OP_LUT_NPU=0xE3 (81-entry BitNet b1.58, 12/12 TB PASS, 81 cells)#125gHashTag wants to merge 1 commit into
gHashTag wants to merge 1 commit into
Conversation
…et b1.58, 12/12 TB PASS, 81 cells, 0 $mul) Wave-35 RTL processing element implementing the silicon layer for Lever #9 — LUT-NPU (81-entry direct-evaluation BitNet b1.58 ternary PE), opcode 0xE3. Cross-strand triangle (Wave-35 LUT-NPU): Lane V (Coq) : gHashTag/t27#651 @ 8e4f2a8a Lane V' (assertions) : gHashTag/trios#859 @ f2ee3613 Lane V'' (Rust) : gHashTag/tt-trinity-gamma#21 @ 403a80dd Lane U (RTL) : THIS COMMIT Lane V''' (PhD Glava 81): pending What lands: rtl/lut_npu/lut_npu_pe.sv — 144 LoC, decoder + adder tree, R-SI-1 clean rtl/lut_npu/README.md — provenance, port map, R1..R18 verdict tb/lut_npu/lut_npu_pe_tb.sv — 12 tests incl. exhaustive 27 ternary triplets scripts/run_lut_npu_tb.sh — local sim runner Local TB: PASS=12 FAIL=0 (>= 9 required) Yosys synth: 81 cells (target <= 350) 0 $mul / $div / $mod cells R-SI-1: 0 "*" operators in rtl/lut_npu/lut_npu_pe.sv R15: opcode chain 0xDE..0xE3 documented + decoded R18: purely additive — no existing RTL modified R5/R7: PRE-SILICON ESTIMATE labels + falsification clauses present Sacred alphabet (mainline after this commit, 8 opcodes): 0xDE OP_LOAD_PHYSICS_CONST 0xDF OP_LUT_LOOKUP 0xE0 OP_BITROM_READ 0xE1 OP_SPARSE_SKIP 0xE2 OP_LAYER_GATE 0xE3 OP_LUT_NPU Refs: trinity-fpga#120 Anchor: phi^2 + phi^-2 = 3 · gamma = phi^-3 · C = phi^-1 · G = pi^3 gamma^2 / phi DOI 10.5281/zenodo.19227877 · NEVER STOP
Owner
Author
🔁 Closing — duplicate of merged #124 (admin Vasilev Dmitrii)This PR was opened at
Comparison
Both implementations satisfy the W35-G1..G7 acceptance gates from ONE SHOT #120; PR #124 ships the 9×9 fully-static LUT-ROM variant, this PR offered the 3×3×3 adder-tree variant. PR #124 is the canonical W35 Lane V (RTL) → no merge needed for #125. The 12-test TB and Yosys synth report from this branch will be folded into the Lane V‴ (PhD Glava 81) chapter as an alternative-microarchitecture variant in Section 81.6 "Pre-Silicon Cost Model". Closing without merge per R18 LAYER-FROZEN. Anchor: |
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 LUT-NPU · Lane U —
lut_npu_pe.sv81-entry BitNet b1.58 PEMission
Provide the silicon RTL for sacred opcode
OP_LUT_NPU = 0xE3(Lever #9 — LUT-NPU 81-entry direct-evaluation BitNet PE), closing the silicon side of the Wave-35 LUT-NPU cross-strand triangle.Parent: trinity-fpga#120 (Wave-35 LUT-NPU ONE SHOT)
Cross-strand triangle (Wave-35)
8e4f2a8af2ee3613403a80ddWhat lands
rtl/lut_npu/lut_npu_pe.svOP_LUT_NPU=0xE3decode, R-SI-1 clean adder treertl/lut_npu/README.mdtb/lut_npu/lut_npu_pe_tb.svscripts/run_lut_npu_tb.shscripts/synth_lut_npu_pe.ysLocal verdict
Constitutional compliance
// PRE-SILICON ESTIMATEdot3_qmust match BitNet b1.58 reference within ±0Vasilev Dmitrii <admin@t27.ai>0xDE → 0xDF → 0xE0 → 0xE1 → 0xE2 → 0xE3documented + decoded*operators in synthesizable code; pure adder treeSacred alphabet (mainline after this PR — 8 opcodes)
Refs: trinity-fpga#120 (parent ONE SHOT)
Sign-off
Vasilev Dmitrii
<admin@t27.ai>· ORCID 0009-0008-4294-6159Anchor:
φ² + φ⁻² = 3·γ = φ⁻³·C = φ⁻¹·G = π³γ²/φ· DOI 10.5281/zenodo.19227877🪷 NANO · 🐝 MID · 🦅 MAX-TRUE · 🌌 HOLOGRAPHIC · NEVER STOP · 225 → 270 TOPS/W (Lever #9 ARMING)