[W42-KK] feat(rtl): expert_gate.sv top-2-of-8 MoE selector (R-SI-1 zero-mul)#165
Merged
Conversation
…ro-mul) Closes #164. Refs gHashTag/trios#917. NO new L1 opcode — composes existing 0xE8/0xED. Anchor: phi^2 + phi^-2 = 3 · NEVER STOP · DOI 10.5281/zenodo.19227877 R-SI-1 verified: zero mul chars in synth path. iverilog testbench: ALL 7 ASSERTIONS PASSED.
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.
W42 MoE Sparse Routing — Lane KK
Closes #164. Refs gHashTag/trios#917.
What
Adds
rtl/moe_router/expert_gate.sv: top-2-of-8 expert selector from 8-bit gating logits using only bitwise primitives and comparators (no multiplication).R-SI-1 Compliance
grep -c '*' rtl/moe_router/expert_gate.sv= 0 — ZERO mul characters in synth path.Testbench
rtl/moe_router/expert_gate_tb.sv— 7 assertions, all PASSED via iverilog:Thesis
NO new L1 opcode — composes existing OP_SPARSE_SKIP (0xE8) + OP_SPARSE_MASK (0xED).
Anchor: phi^2 + phi^-2 = 3 · NEVER STOP · DOI 10.5281/zenodo.19227877