Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Compressors
Sreehari Veeramachaneni, Kirthi Krishna M, Lingamneni Avinash, Sreekanth Reddy Puppala , M.B. Srinivas
Centre for VLSI and Embedded System Technologies.
International Institute of Information Technology
Gachibowli, Hyderabad-500032, India.
srihari@research.iiit.ac.in, {kirthikrishna, avinashl, sreekanthp}@students.iiit.ac.in, srinivas@iiit.ac.in.
1. Introduction. S S
O
O O
S O
XOR-XNOR
B
(a) (b) X1 X2 X3 X4
Fig.3. (a) A 3-2 Compressor (b) Conventional
Implementation of the 3-2 compressor
Cout 4–2 Cin
XOR XOR (x1⊕ x2) • x3⊕ x4 + (x1⊕ x2) • (x3⊕ x4) •Cin (10)
FA Cin Cout= (x1⊕ x2) • x3+ (x1⊕ x2) • x1 (11)
Cin
XOR
Carry= (x1⊕ x2⊕ x3⊕ x4) •Cin+
MUX
Cout
FA
Cout XOR MUX (x1⊕ x2⊕ x3⊕ x4) • x4 (12)
Carry Sum
When the individual full Adders are broken into The 5-2 Compressor block has 5 inputs
their constituent XOR blocks, it can be observed that X1,X2,X3,X4,X5 and 2 outputs, Sum and Carry, along
the overall delay is equal to 4*∆-XOR. The block with 2 input carry bits (Cin1, Cin2) and 2 output carry
diagram in Fig. 6(b) shows the existing architecture for bits (Cout1,Cout2) as shown in Fig.8a. The input carry
the implementation of the 4-2 compressor with a delay bits are the outputs from the previous lesser significant
of 3*∆-XOR [3-6]. The equations governing the compressor block and the output carry are passed on to
outputs in the existing architecture are shown below the next higher significant compressor block.
Sum = x1 ⊕ x2 ⊕ x3 ⊕ x4 ⊕ Cin (7 )
X1 X2 X3 X4 X5
FA
Cout = ( x1 ⊕ x 2) • x3 + ( x1 ⊕ x 2) • x1 (8) Cout1
X1 X2 X3 X4 X5 Cin1
Carry = ( x1 ⊕ x 2 ⊕ x3 ⊕ x 4) • Cin + FA
Cout1 Cin1 Cout2
( x1 ⊕ x2 ⊕ x3 ⊕ x4) • x 4 5–2
Cin2
X1+X2+X3+X4+X5+Cin1+Cin2
Cin
MUX MUX*
=Sum+2*(Carry + Cout1 + Cout2) (13)
XOR XOR
Cin1
switching to take place is done in parallel with the
computation of the inputs of the block.
Cout1
Cin1
XOR
Cin2
Cout2
Cin2 implementations of the XOR or MUX block, in
XOR MUX XOR MUX particular CMOS implementation, the output and its
SUM Carry SUM Carry complement are generated. But in the existing
(a) (b) architectures this advantage is not being utilized at all
X1 X2 X3 Cin2 X4 X5 Cin1 [3-6]. In the proposed architecture these outputs are
utilized efficiently by using multiplexers at select
CGEN1 XOR* XOR* stages in the circuit. Also additional inverter stages are
Cout1
eliminated. This in turn contributes to the reduction of
XOR^ XOR^ MUX delay, power consumption and transistor count (area).
The equations governing the outputs are shown
Cout2
XOR* below:
Sum = x1 ⊕ x 2 ⊕ x3 ⊕ x 4 ⊕ x5 ⊕ Cin1 ⊕ Cin 2 (14)
XOR MUX Cout1 = ( x1 + x 2) • x3 + x1 • x 2 (15)
SUM Carry Cout 2 = ( x 4 ⊕ x5) • Cin1 + ( x 4 ⊕ x5) • x 4 (16)
(c) Carry = (( x1 ⊕ x 2 ⊕ x3) ⊕ ( x 4 ⊕ x5 ⊕ Cin1)) • Cin 2 + (17)
Fig.9 Existing architectures of 5-2 compressors (( x1 ⊕ x 2 ⊕ x3) ⊕ ( x 4 ⊕ x5 ⊕ Cin1)) • ( x1 ⊕ x 2 ⊕ x3)
X1 X2 X3 Cin2 X4 X5 Cin1
X3
MUX MUX X2
SUM Carry
B. Simulation results. 0
0.9V 1.2V 1.8V 2.5V 3.3V
Existing 50
100
P ro po sed 40 Existing
80 30 Proposed
Power (nW)
20
60
10
40 0
0.9V 1.2V 1.8V 2.5V 3.3V
20
0
0.9V 1.2V 1.8V 2.5V 3.3V
(c)
Voltage (V) Figure 14(a) Power consumption (nW) (b)Delay(ns)
(c)Power Delay product for 4-2 compressors
(a)
8
Existing
6 Proposed
Delay (ns)
0
0.9V 1.2V 1.8V 2.5V 3.3V
Voltage (V)
100
Power-delay
80 30
60 25
40 20
Exist ing
20 15
Proposed
0 10
(c)
Figure 12(a)Power consumption(nW) (b)Delay(ns) (a)
(c)Power Delay product for 5-2 compressors 3.5
3
2.5
2 Exist ing
1.5 Proposed
1
0.5
0
0.9V 1.2V 1.8V 2.5V 3.3V
(b)
Fig.13 Layout of the proposed 5-2 compressor 30
25
Architecture 20
Existing
15
Proposed
60
10
50
5
40
0
Existing
30 0.9V 1.2V 1.8V 2.5V 3.3V
Proposed
20
10 (c)
0
0.9V 1.2V 1.8V 2.5V 3.3V
Figure 16(a)Power consumption(nW) (b)Delay(ns)
(c)Power Delay product for 3-2 compressors
200 M UX * AS
[3] S. F. Hsiao, M. R. Jiang, and J. S. Yeh, “Design of high-
150
C M OS speed low-power 3-2 counter and 4-2 compressor for fast
M UX * AS
100 C M OS+ multipliers,” Electron. Lett, vol. 34, no. 4, pp. 341–343,
50
0
1998.
0.9V 1.2V 1.8V 2.5V 3.3V
[4]K. Prasad and K. K. Parhi, “Low-power 4-2 and 5-2
(a) compressors,” in Proc. of the 35th Asilomar Conf. on
Signals, Systems and Computers, vol. 1, 2001, pp. 129–133.
7
6
[5] C. H. Chang, J. Gu, M. Zhang, “Ultra low-voltage low-
5 power CMOS 4-2 and 5-2 compressors for fast arithmetic
M UX* AS
4
3
C M OS
M UX* AS
circuits” IEEE Transactions on Circuits and Systems I:
2
C M OS+ Regular Papers, Volume 51, Issue 10, Oct. 2004
1
0
Page(s):1985 – 1997
0.9V 1.2V 1.8V 2.5V 3.3V
[6]S. F. Hsiao, M. R. Jiang, and J. S. Yeh, “Design of high-
(b) speed low-power 3-2 counter and 4-2 compressor for fast
multipliers,” Electron. Lett, pp. 341–343, 1998.
350
300 [7] Z. Wang, G. A. Jullien, and W. C. Miller, “A new design
250
M UX * AS
technique for column compression multipliers,” IEEE Trans.
200
15 0
C M OS
M UX * AS
Comput., vol. 44, pp. 962–970, Aug. 1995.
[8] Milos Ercegovac, Tomas Lang, "Digital Arithmetic",
C M OS+
10 0
50
0 Morgan Kaufman, 2004.
0.9V 1. 2 V 1. 8 V 2.5V 3.3V
[9] I . Koren, Computer Arithmetic Algorithms. Englewood
(c) Cliffs, NJ, Prentice Hall, 1993.
Figure 18 (a) Power consumption (nW) (b) Delay(ns) [10] J. M. Rabaey, A. Chandrakasan, and B. Nikolic, Digital
(c) Power Delay product for proposed 5-2 compressors “Integrated Circuits (A design perspective)”, Prentice Hall,
with MUX* in CMOS and CMOS+ designs. 2003