feat(lane-l-z03): carry-skip adder 4-block — +8 TOPS/W#56
Open
gHashTag wants to merge 1 commit into
Open
Conversation
- Add src/carry_skip_adder_16.v: 16-bit carry-skip adder, 4 blocks × 4 bits each with P_block = &p[i+3:i] skip signal; 100% exact (zero approximation) - Add test/tb_carry_skip_adder_16.v: 10 000 LFSR random ops + 9 edge cases, all PASS (violations = 0), confirms sum == (a+b)[15:0] for all inputs - Modify src/gf16_dot4.v: final a_final gf16_add → carry_skip_adder_16 Cell estimate: ~55 cells (vs ~80 RCA), ~30% shorter critical path Target: +8 TOPS/W via reduced critical path depth R-SI-1: zero * operator in synthesisable RTL Pure Verilog-2005: no logic/typedef/SystemVerilog constructs
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.
L-Z03 — 16-bit Carry-Skip Adder (4 blocks × 4 bits)
Summary
Implements a 100%-exact 16-bit carry-skip adder in the final accumulate stage of
gf16_dot4. Splits the 16-bit operand into 4 blocks of 4 bits each with a block-level propagate signalP_block = &p[i+3:i]that skips carry around the block when all bits propagate. Zero approximation error.Files
src/carry_skip_adder_16.vtest/tb_carry_skip_adder_16.vsrc/gf16_dot4.vgf16_add a_final→carry_skip_adder_16Simulation Result (iverilog)
Cell Budget
Performance
Constitutional Compliance
*in synthesisable RTL^,&, `READY FOR REVIEW — DO NOT MERGE.