feat(lane-l-s14): clock gating activity monitor — +10 TOPS/W idle#50
Open
gHashTag wants to merge 4 commits into
Open
feat(lane-l-s14): clock gating activity monitor — +10 TOPS/W idle#50gHashTag wants to merge 4 commits into
gHashTag wants to merge 4 commits into
Conversation
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.
S-14 — Coarse Clock-Gate Tree with Activity Monitor
Anchor: φ² + φ⁻² = 3 · DOI 10.5281/zenodo.19227877
PoC: S14_CLOCK_GATE_RESULTS.md — 14/14 PASS (iverilog + vvp verified)
Constitutional: R-SI-1 (zero
*operators) ✓ · Pure Verilog-2005 ✓ · Cell budget ≤60% ✓What this PR adds
src/cg_activity_monitor.vclk_endeasserts after 8 consecutive idle cycles, reasserts on any activity pulsesrc/clk_gate_cell.vsky130_fd_sc_hd__dlclkp_1src/cg_block_wrapper.vlucas_rom,ring27_memory,alu9_decoder,blake3_anchortest/test_cg_activity_monitor.vTotal added cells: ~50 (well within 180-cell budget)
Design
clk_enis a registered output — no combinational glitch path to ICG latchGCLK = gate_latch & CLK(glitch-free, standard sky130 ICG discipline)Target blocks (low-activity, high gate-off time in typical workloads)
lucas_romidxaddress changering27_memoryshiftorwr_enassertedalu9_decoderalu_validassertedblake3_anchorstartordonepulseSimulation results (local iverilog 12.0, Verilog-2005 strict mode)
Projected power gain
R-SI-1 / Verilog-2005 Compliance
*operators+(counter increment)logic,always_comb,always_ff, interfaces.port(wire)syntaxclk_en+ latch-AND ICG topologyDO NOT MERGE — pending CI green on
feat/tt-v7-powerGDS run.