2-Bit_magnitude_comparator_using_GDI_technique
2-Bit_magnitude_comparator_using_GDI_technique
Abstract- In recent years, low power design has become one of though heavily pipeline is useful to achieve high throughput
the prime focuses for the digital VLSI circuit. Keeping the same but it may not be suitable for all applications, such as in the
in mind a new design of 2-Bit GDI based Magnitude Comparator ARM microprocessor [8] which is often need to execute a
has been proposed and implemented with the help of full adder comparison instruction with a single clock cycle. Hunag
which is the basic building block of ALU. Proposed GDI proposed comparator using single clock cycle based on the
technique based magnitude comparator has an advantage of less
priority-encoding algorithm [9]. It not only improves the
power consumption with respect to various design parameters;
operating speed but also make circuit more power efficient In
less on-chip area covered as less number of transistors are
Parallel MSB checking algorithm [10] and MUX-based
required in circuit design as compared to conventional CMOS
structure [11] where proposed to improve the performance of
magnitude comparator. Both the circuits are designed and
comparator at the expense of twice the number of transistor.
simulated using Tanner EDA Tool version 12.6 at 45nm process
technology. All of aforementioned works give high performance using
dynamic logic. But dynamic logic is not suitable for low
Keywords- Magnitude Comparator; GDI Technique; Full power operation as compared to static logic; dynamic activity
Adder and Low Power.
factor is 0.5 and 0.1 for static logic which is advantageous.
Authorized licensed use limited to: Indian Institute of Technology - BHUBANESWAR. Downloaded on February 16,2025 at 17:48:46 UTC from IEEE Xplore. Restrictions apply.
IEEE International Conference on Recent Advances and Innovations in Engineering (ICRAIE-2014), May 09-11, 2014, Jaipur, India
Fig. 1 show symbol of CMOS inverter consists of pMOS TABLE I. TRUTH TABLE OF 2 -BIT MAGNITUDE COMPARATOR
and nMOS transistor connected at the drain and gate terminal,
a supply voltage VDD at the pMOS source terminal and GND
Al AO 81 80 F2 FI F3
connected at the nMOS source terminal. Whereas input (A) is
connected to the gate terminals and output (Abar) is connected 0 0 0 0 1 0 0
to the drain terminal.
0 0 0 1 0 1 0
If input A=O, then pMOS is ON and provide low
impedance path from VDD to output (Abar). At that time 0 0 1 0 0 1 0
nMOS is in OFF condition, thus output (Abar) approach to
0 0 1 1 0 1 0
high level that is VDD. If input A= l, then nMOS is ON and
pMOS is in OFF condition, nMOS provide low impedance 0 1 0 0 0 0 1
path from output (Abar) to ground. Therefore, output (Abar)
approach to low level that is OV. The substrate pMOS is 0 1 0 1 1 0 0
always connected to VDD and nMOS substrate is always
0 1 1 0 0 1 0
connected to GND. The CMOS inverter provides two
important advantages, low static power dissipation and high 0 1 1 1 0 1 0
noise margin. It is also balanced device, so it is called ratio
1 0 0 0 0 0 1
less device.
Authorized licensed use limited to: Indian Institute of Technology - BHUBANESWAR. Downloaded on February 16,2025 at 17:48:46 UTC from IEEE Xplore. Restrictions apply.
IEEE International Conference on Recent Advances and Innovations in Engineering (ICRAIE-2014), May 09-11, 2014, Jaipur, India
Fig. 3. Schematic of 2- Bit Magnitude Comparator using Conventional CMOS Logic Style
The basic GDI cell is shown in Fig. 4 at first sight by seeing 1 B A A+B OR
basic GDI cell it remind us standard CMOS inverter, but there
is some important difference B 0 A AB AND
• In Basic GOI cell, there is three input G (Common
C B A AB+AC MUX
gate input of nMOS and pMOS), P (input to the
source/drain of pMOS) and N (input to the B B A AB+AB XOR
source/drain of pMOS).
• Substrate of both nMOS and pMOS are connected to B B A AB+AB XNOR
N or P (respectively), so these points are contrast with To design MUX usually require 8-12 transistor by using
CMOS inverter [19]. traditional CMOS or PTL logic style which is bit complex
In Table II, different functions are implemented by using design., whereas we require just 2 transistor in GOI technique
simple GD! with different input configurations. to implement MUX which is quite simple. The main attracting
point in GOI technique, to implement Function I and
p Function2 GDI technique requires 2 transistors whereas in
CMOS technique requires 6 transistors. GOI technique allow
user to use less no. of transistor, simpler gate and low power
dissipation in many implementation, in comparison to CMOS,
Pass transistor and transmission gates [6]. But the demerit of
G- GOI technique is swing degradation problem, this problem can
Ol..1.t
be overcome by adding buffer.
Authorized licensed use limited to: Indian Institute of Technology - BHUBANESWAR. Downloaded on February 16,2025 at 17:48:46 UTC from IEEE Xplore. Restrictions apply.
IEEE International Conference on Recent Advances and Innovations in Engineering (ICRAIE-2014), May 09-11, 2014, Jaipur, India
comparator, For the logic sum require XOR gate and f?r car�y IV. SIMULATION RESULT & DISCUSSION
output (Cout) require AND & OR gate. XOR gate IS basIc
The simulation of conventional CMOS and proposed GDI
building block of full adder; many refmements have been done
magnitude comparator is performed on Tanner EDA tool
to reduce the number of transistor and also for better
version 12.6 using 45nm technology with input voltage
performance of XOR gate.
varying from 0.7V to I V. In order to prove that proposed GDI
As discussed, GDI technique require less transistor for
magnitude comparator design is consuming low power and
AND, OR and XOR gate in compare conventional CMOS
have high performance, simulation is carried out for power
logic technique. So GDI technique is preferred to construct
consumed at different range of input voltage, temperature and
this logic function in compare to CMOS logic style. If one
frequency. The Fig. 7, reveal that power consumed by the
inverted input is given to XOR gate then it act like XNOR
proposed GDI comparator is 82.2% at 0.7 V and 83.9% at IV
gate, so reduce the number of transistor XOR gat� with
. is less in compare to conventional CMOS magnitude
inverter input is replace with XNOR gate. GDI techmque IS
comparator, Fig. 8, compares the power consumed by CMOS
used to construct 2-Bit magnitude comparator based on full
and proposed GDI magnitude comparator with respect to
adder is shown in the Fig. 6. For the output of F3, the
different temperature at 0.8V, which show that power
condition used is, if F2 and Fl is 0 then F3 is I. GDI
consumed by of proposed GDI magnitude comparator is less
technique magnitude comparator requires (30 transistor) less
(81% approx.) in comparison to CMOS magnitude
no of transistor in compare to conventional CMOS magnitude
comparator.
comparator (66 transistor).
1.00E-07
�
2 �
<=
0 1.00E-OS
R
"
E
;;;
<=
0
U 1.00E-09
...
v
:::
0
0..
1.00E-l0
0.7 O.S 0.9 1
Input Voltage(V)
Fig. 5. Logic diagram 2-Bit magnitude comparator using full adder Fig. 7. Power consumption at varying Input Voltage
1.00E-07
�
J�2��
l �
<=
0 1.00E-OS
B1
"R
E
;;;
<=
D'"
0
U
1.00E-09
...
v
:::
0
0..
1.00E-l0
-10 o 10 20 30 40 50
Temperature (DC)
--+-Conventional CMOS Comparator
Fig. 6. Schematic of 2 Bit Magnitude Comparator using GDI Technique Fig. 8. Power comparison over the range of temperature
Authorized licensed use limited to: Indian Institute of Technology - BHUBANESWAR. Downloaded on February 16,2025 at 17:48:46 UTC from IEEE Xplore. Restrictions apply.
IEEE International Conference on Recent Advances and Innovations in Engineering (ICRAIE-2014), May 09-11, 2014, Jaipur, India
REFERENCES
1.00E-07
[I] M.M.Mano, "Digital design". Englewood Cliffs: Prentice Hall,
2003.
[2] N. West and K. Eshraghian, " Principle of CMOS VLSI Design
§ 1.00E-08 ..__.......__.. __ ..---� Reading," MA: Addison-Wesley,1993
.�
;:l
[3] J.Park, H.C.Ngo, J.A. Silberman, and S.H.Dong, "470 ps 64-b
parallel binary adder [for CPU chip]," Symp. VLSI Circuits Dig.
<3 Tech. Papers, 2000, pp.192-193.
8 1.00E-09 [4] S.Naflziger, "A sub-nanosecond O.S-um 64-b adder design," IEEE
�
iO-.
[S]
Int. Solid-State Circuit Con! Dig. Tech. Papers, 1996, pp.362-363.
R. Woo, S.-lLee, and H.-l Yoo, "A 670-ps 64-b adder design,"
1.00E-I0 IEEE Int. Symp. Circuit and Systems, vo1.1, May200, pp.28-31.
[6] R.X. Gu and M.I.Elmarsy, "All-N-Logic high-speed true-single -
100 200 300 400 500 phase dynamic CMOS logic," IEEE J. Solid-State Circuits, vol. 31,
pp.221-229, Feb. 1996.
Frequency (MHz)
[7] c.-c. Wang, C.-F. Wu and K.-C. Tsai, "1-GHz 64-b high-speed
comparator using ANT dynamic logic with two-phase clocking,"
�Conventional CMOS Comparator
Proc. Inst.Elect. Eng. Com put. Digital Techn. vol. 14S, no.6,
_Proposed GDI Comparator pp.433-436, Nov.1998.
[8] S. Fuber, ARM "System Architecture, " Reading, MA: Addison
Fig. 9. Power consumption at various operating frequencies Wesley, 1997.
[9] l-S. Wang and C.-S. Huang, "High-speed and low-power CMOS
priority encoder," IEEE J. Solid-State Circuits, vol.3S, pp.ISII
The proposed GDI comparator shows the constant
ISI4, Oct.2000.
performance at different range of temperature, which shows [10] H.-M. Lam and C.-Y. Tsui, "High-performance single clock cycle
the sustainability of the circuit design. The performance CMOS comparator," Electron. Lett. , vo1.42, no.2, pp.7S-77, Jan.
analysis at higher frequency at 0.8V is shown in Fig. 9, which 2006.
[11] H.-. M.Lam and c.-Y. Tsui, "A MUX-based high-performance
unveil that power consumed by proposed circuit is less in
single-cycle CMOS comparator," IEEE Trans. Circuits Syst. II,
comparison to CMOS comparator. In the simulated output Exp. Briefs, vol.S4, no.7, pp.S91-S9S, Ju1.2007.
waveform of proposed GDI magnitude comparator, there is [12] Douglas APucknell and Karam Ershranghian, "Basic VLSI
some Vth (threshold voltage) loose. The threshold voltage Design," 3'd Edition, 200S Prentice Hall India.
loose is 30% of proposed GDI magnitude comparator in [13] IEEE Transactions on Very Large Scale Intergration (VLS!)
System, Vol.lO, No.S, October, 2002.
comparison to conventional CMOS magnitude comparator.
[14] J. P Uyemura, Circuit Design for CMOS VLSI Norwell, MA:
To, overcome this problem, buffer can be added at the output. Khuver Academic, 1992, pp. 88-129.
In this way threshold voltage loose and noise margin reduction [IS] Vandana Choudhary and Rajesh Mehra, "2- Bit CMOS
are localized. So the proposed GDI magnitude comparator is Comparator by Hybridizing PTL and Pseudo Logic," International
more suitable for low power circuit with smaller area. Journal of Recent Technology and Engineering (IJRTE), ISSN:
2277-3878, Volume-2, Issue-2, May2013, pp. 29-32.
[16] Anjuli and Satyajit Anand , "2- Bit Magnitude Comparator design
using different logic styles," International Journal of Engineering
V. CONCLUSION Science Invention, ISSN(online):2319-6734, ISSN(Print):2319-672,
Volume 2 Issue , January 2013: pp.13-24.
The performance of the proposed GDI magnitude [17] Arkadiy Morgenshtein, Alexander Fish, and Israel A Wagner,
comparator circuit with help of full adder logic has shown "Gate-Diflusion Input (GDI): A Power-Etlicient Method for
good performance in compare to existing conventional CMOS Digital Combinatorial Circuits," IEEE Transactions on Very Large
based design. The comparative performance of conventional Scale Integration (VLSI) systems, Vol. 10, No. 5, October 2002,
pp.566-581.
CMOS and proposed GOI magnitude comparator with respect
[18] Arkadiy Morgenshtein, Idan Shwartz and Alexander Fish, "Gate
to power consumption at different range of input voltage, Diffusion Input (GO!) Logic in Standard CMOS Nanoscale
temperature and frequency has been discussed in above Process," IEEE 26-th Convention of Electrical and Electronics
section. The smaller area of proposed GDI magnitude Engineers in Israel 2010, pp. 776-780.
comparator results into shorter interconnects and thus less [19] Kunal and Nidhi Kedia , "GDI Technique : A Power-Etlicient
Method for Digital Circuit," International Journal of Advanced
crosstalk., enable more efficient placement and routing. Thus,
Electrical and Electronic Engineering (IJAEEE),
it is concluded that proposed magnitude comparator based on ISSN(Print):2278-8948, Volume-I, Issue-3,2012, pp. 87-93.
GDI technique require less power and smaller area in
comparison to CMOS magnitude comparator. Hence, this new
design is good option for low power efficient system design.
Authorized licensed use limited to: Indian Institute of Technology - BHUBANESWAR. Downloaded on February 16,2025 at 17:48:46 UTC from IEEE Xplore. Restrictions apply.