120 likes | 266 Views
Spezielle Anwendungen des VLSI – Entwurfs Applied VLSI design. Course and contest Adder structures Sebastian Kruse. Types of adders. Redundant Carry-Save (CSA) Redundant-Binary (RBA) Not redundant (CPA) Ripple-Carry (RCA), Manchester-Carry-Chain (MCC)
E N D
Spezielle Anwendungen des VLSI – Entwurfs Applied VLSI design Course and contest Adder structures Sebastian Kruse
Types of adders • Redundant • Carry-Save (CSA) • Redundant-Binary (RBA) • Not redundant(CPA) • Ripple-Carry (RCA), Manchester-Carry-Chain (MCC) • Carry-Skip (CSK), Carry-Select (CSEL) • Carry-Lookahead (CLA), Conditional-Sum (CSUM) • Asynchronous adder
Ripple-Carry adder • Serialization of full adders • Small area but slow speed • In general the best adder for FPGA • FPGA uses LUTs instead of AND, OR, XOR, NOT • Optimized logic which speeds up RCA
Carry-Skip adder • Adder with square timing complexity and low area • Area compared to RCA: • Idea: parallel calculation CPA CPA CPA 0 1 0 1
Carry-Lookahead adder • Fast adder with logarithm complexity but high area • Idea: carry is calculated in advance • Types of implementation (for carry generation) • Slansky • Kogge-Stone • Brent-Kung • Han-Carlson … CLA-Block
Brent-Kung • Idea: use binary tree for carry propagation • Two tree structures • Carry collection • Carry redistribution carry tree inverse carry tree
Comparison on FPGA • RCA • Area : 103 • Max. frequency : 431,779 MHz • CSK • Area : 125 • Max. frequency : 384,025 MHz • Brent Kung • Area : 109 • Max. frequency : 409,500 MHz
Comparison on ASIC • RCA • Core size : 4634,45 µm² • Max. frequency : 3180 MHz • Pdyn : 22,154 mW • Pleak : 9,875 µW • CSK • Core size: 4324,63 µm² • Max. frequency : 2910MHz • Pdyn: 18,651 mW • Pleak : 8,346 µW • Brent Kung • Core size : 4392,61 µm² • Max. frequency : 2980 MHz • Pdyn : 19,406 mW • Pleak : 8,716 µW
Half / full adder • Half adder ((2,2)-counter) a b HA cout s • Full adder ((3,2)-counter) a b FA cin cout s
Comparison of adders 80 Brent-Kung RCA CSK 60 0.4 RCA Area (mm2) 40 tp(nsec) CSK 0.2 Brent-Kung 20 0 0 0 0 10 20 10 20 Number of bits Number of bits Source: mountains.ece.umn.edu (2006)