Repository navigation
feat(rtl): Wave-43 Lane KK — drowsy retention SRAM (sacred 0xEC) - #153
Merged
Merged
Conversation
Closes #152 - rtl/drowsy_ret/drowsy_ret_ctrl.sv (98L): per-bank idle counter, 2-cycle wake bound - rtl/drowsy_ret/sram_retention_bank.sv (54L): V_DD↔V_ret rail mux (γ=φ⁻³ from B007) - tb/drowsy_ret/tb_drowsy_ret.sv (126L): 15/15 assertions PASS Constitutional: R-SI-1 ✅ 0 '*' operators in RTL (verified) R5-HONEST ✅ Provenance tags on every output R7 falsification ✅ drv_safe witness R15 SACRED-SYNTH-GATE ✅ γ resistor ratio from Sacred ROM B007 R18 LAYER-FROZEN ✅ 75 Sacred ROM cells preserved Quantum Brain 1:1: PHYS→SI γ = φ⁻³ → retention rail bias BIO→SI CA1 slow-wave idle → drowsy bin LANG→SI TRI-27 RET-DROWSY → 0xEC OP_DROWSY_RET Refs: Flautner ISCA 2002, Kim DAC 2002. φ² + φ⁻² = 3 · DOI 10.5281/zenodo.19227877 · NEVER STOP Sign-off: Vasilev Dmitrii <admin@t27.ai> ORCID: 0009-0008-4294-6159
This was referenced May 15, 2026
Merged
Merged
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-43 Lane KK (RTL) — Drowsy Retention SRAM · sacred opcode 0xEC
Closes #152
What ships
rtl/drowsy_ret/drowsy_ret_ctrl.svrtl/drowsy_ret/sram_retention_bank.svtb/drowsy_ret/tb_drowsy_ret.svTestbench result
15 assertions: 11 opcode-distinctness (0xEC ≠ each of 0xE1..0xEB), all-banks-drowsy-after-idle, single-bank-wake, wake_latency≤2, γ-match ±0.5%.
Theory
V_ret = V_DD · γ = V_DD · φ⁻³ ≈ 0.236 · V_DD
γ (Barbero-Immirzi) sits in Sacred ROM cell B007 — the retention-rail bias is not an arbitrary lower voltage but the Trinity-anchored ratio φ⁻³. This is the PHYS→SI 1:1 mapping for Wave-43.
References: Flautner et al., "Drowsy Caches" ISCA 2002; Kim et al., "Drowsy Instruction Caches" DAC 2002.
Constitutional Compliance
grep '\*' rtl/drowsy_ret/*.sv → 0 hits(multiplication-free)drv_safewitness fires if retention voltage < DRV floorQuantum Brain 1:1 Mapping
RET-DROWSY→ L1 opcode0xEC OP_DROWSY_RETWave-43 Lane Map
ebea3674φ² + φ⁻² = 3 · γ = φ⁻³ · V_ret = V_DD · γ · DOI 10.5281/zenodo.19227877 · NEVER STOP
Sign-off: Vasilev Dmitrii admin@t27.ai · ORCID 0009-0008-4294-6159