Performance Analysis of Fast Adders Using VHDL: January 2009
Performance Analysis of Fast Adders Using VHDL: January 2009
net/publication/220849794
CITATIONS READS
17 1,910
3 authors, including:
Some of the authors of this publication are also working on these related projects:
Design and Development of Pesticide Residue Detection System using EC and pH Sensor View project
All content following this page was uploaded by Raminder Singh on 19 February 2019.
978-0-7695-3845-7/09 $26.00
$25.00 © 2009 IEEE 189
DOI 10.1109/ARTCom.2009.132
Ci+1 = Gi or (Pi and Ci)--Next Carry (8)
Figure.3 shows 16-bit look ahead carry adder that consists
of four 4-bit adders each 4-bit look ahead carry generator.
The latency through this 16-bit adder consists of the time
required for:
1. Producing the G and P for individual bit
positions (1 gate level).
FIGURE 1: Schematic block diagram of 16-bit ripple carry adder . 2. Producing the G and P signals for 4-bit blocks (2
gate levels).
Where TFA (input to output) represent the delay of full
adder on the path between it’s specified input and output.
A. Condition Carry Adder (CCA)
Condition carry adder is based on the principle shown
in figure.2. In this case instead of computing sum and
carry directly by using full adder, it computes sum and
carry depending upon status of previous carry i.e.
1. If ci = 0 then
Si = ai xor bi & ci+1 = ai and bi (2)
2. If ci = 1 then
Si = ai xnor bi & ci+1 = ai or bi (3)
FIGURE 3: Schematic block diagram of 16-bit carry look ahead adder
A logarithmic time condition sum adder results if we divided into 4 blocks [2].
proceed to the extreme of having single-bit adder at the
very top. Thus taking the delay of 2-to-1 multiplexer as 3. Predicting the carry-in signals c4, c8 and c12 for
our units, the delay of a condition sum adder are the blocks (2 gate levels).
characterized by the following recurrences: 4. Predicting the internal carries within each 4-bit
T (k) = Log2 k + T (1) (4) block (2 gate levels).
5. Computing the sum bits (2 gate levels).
Thus the total latency for 16-bit adder is a 9-gate level
that is very less as compared to 16-bit ripple carry adder
that is 32 gate levels. Thus, the delay of N-bit carry look-
ahead adder based on 4-bit look-ahead blocks is:
TCLA = 4 log4 N + 1 gate levels (9)
190
Carry look-ahead adder in terms of delay. CPLD XC9572 block width, then more number of blocks are required to
is used for implementation. make N bit adder which results in increase in latency
because more number of skips are required between stages
TABLE1: 16-BIT CARRY LOOK-AHEAD AND MANCHESTER ADDER and vice-versa. Figure6 and table2 shows the simulated
DESIGN COMPARISON FOR AREA AND DELAY
results in terms of delay achieved for 16-bit Carry skip
adder-using width of 4 blocks, 2 blocks and 8 blocks.
Adders Macrocells Used Pad Delay Delay (ns) TABLE2: 16-BIT CARRY SKIP ADDER USING 4 BLOCKS, 2 BLOCKS AND 8
Delay (ns) BLOCKS.
Sum Carry
CLA 31/72 (44%) 52 52 51 Carry Skip Delay Delay Power Power
Adder CLB'S (ns) (ns) (mW) (mW)
MCA 35/72 (49%) 53 51 33
16-bit Sum Carry Dynamic Static
4 blocks 23 23.2 23.1 16.3 219.71
60 52 53 52 51 51 2 blocks 26 20.8 21.7 16.1 219.69
50
35
8 blocks 24 26.6 24.5 14.8 219.54
40 31 33
CLA
30
MCA
20
10
0
30
Sum Carry
25
Macrocells tPD Delay (ns) Delay (ns)
Used 20 CLB'S
Delay (ns) Sum
15
Delay (ns) Carry
FIGURE 4: Graphical representation of Simulated results 10 Power (mW) Dynamic
FIGURE 5: 16-Bit Carry-Skip Adder [1]. FIGURE 7: A 16-bit hybrid CLSKA with 4-bit block adders.
191
Now, next is another concept of designing adder by Si = xi xor yi (16)
using variable block size [12]. Figure8 shows CLSKA
model in which size of block is variable. Here, we use two
full adders Ci = xi and yi (17)
The final addition is then computed as:
X: 10011
Y: + 11001
S: 01010
C: 10001
Sum: 101100
FIGURE 8: A 16-bit hybrid CLSKA with variable block size.
192
size architecture, power consumption and area (26 CLB’s) V. CONCLUSION
also improve. From the results and discussion, it is observed that
there are trade-offs between performance parameters i.e.
TABLE 4: AREA, POWER AND DELAY REPORT FOR ADDERS
Area, Power and Delay. For designing delay efficient
ADDERS (With Fix Delay Delay Power Power adder, we have proposed a hybrid carry lookahead/carry
Block Size) CLB'S (ns) (ns) (mW) (mW) skip adders in which carry lookahead logic is used instead
Block Size = 4-Bit Sum Carry Dynamic Static of ripple carry adder in each block to generate output sum
Ripple Carry 24 24.1 23.5 7.6 218.7 and carry bit for next block. This result in fast operation
Conditional carry 24 23.9 23.3 7.6 218.7 but at the cost of few more CLB’s due to carry lookahead
Look Ahead 26 20.9 20.6 13.3 219.4 logic.
Lings 20 23.3 23.1 13.3 219.4
Carry Select 27 17.1 17.7 10.1 219 VI. REFERENCES
Carry Save 29 23.1 22.8 9 218.9
Conventional Carry [1] B. Parhami, Computer Arithmetic, Algorithm and Hardware
Skip Adder 23 23.2 23.1 16.3 219.7
Design, Oxford University Press, New York, pp. 91-119, 2000.
Modified carry Skip
Adder 29 15 14.6 13.9 219.4 [2] Pong P. Chu “RTL Hardware Design Using VHDL: coding for
Efficiency, Portability and Scalability” Wiley-IEEE Press, New
Jercy, 2006
[3] Hasan Krad and Aws Yousif Al-Taie, “Performance Analysis of a
TABLE 5: AREA, POWER AND DELAY REPORT FOR ADDERS 32-Bit Multiplier with a Carry-Look-Ahead Adder and a 32-bit
ADDERS (With Multiplier with a Ripple Adder using VHDL”, Journal of
Variable Block Delay Delay Power Power Computer Science 4 (4): 305-308, 2008
Size) CLB'S (ns) (ns) (mW) (mW) [4] Asadi, P. and K. Navi “A novel high-speed 54-54-bit multiplier”,
2 Χ 7-bit + 2 Χ 1-bit Sum Carry Dynamic Static Am. J. Applied Sci., 4 (9): 666-672, 2007
Ripple Carry 24 22.9 22.5 7.9 218.7 [5] Z. Abid, H. El-Razouk and D.A. El-Dib, “Low power multipliers
Look Ahead 24 25.3 24.3 7.6 218.7 based on new hybrid full adders”, Microelectronics Journal,
Conventional Carry Volume 39, Issue 12, Pages 1509-1515, 2008
Skip Adder 26 22.3 20.5 14.9 219.5 [6] Nagendra, C.; Irwin, M.J.; Owens, R.M.,“Area-time-power
Modified carry Skip tradeoffs in parallel adders”, Circuits and Systems II: Analog and
Adder 26 16.8 12.2 13.8 219.5 Digital Signal Processing, IEEE Transactions on Volume 43, Issue
10, Page(s): 689 – 702, 1996
[7] Wang, Y.; Pai, C.; Song, X., “The design of hybrid carry look-
ahead/carry-select adders, Circuits and Systems II: Analog and
40 Digital Signal Processing, IEEE Transactions on Volume 49,
30 Page(s): 16-24, 2002.
20 [8] May Phyo Thwal, Khin Htay Kyi, and Kyaw Swar Soe,
“Implementation of Adder-Subtracter design with VerilogHDL”,
10 International Journal of Electronics, Circuits and Systems Volume
0 2 number 3, 2008
[9] Min Cha and Earl E. Swartzlander, Jr, “Modified Carry Skip
s
A
LA
LA
A
ng
CS
RC
SK
SK
Adder for reducing first block delay”, Proc. 43rd IEEE Midwest
C
CS
C
Li
CL
CC
193