SlideShare a Scribd company logo
1 of 4
Download to read offline
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 365
COMPARATOR DESIGN USING FULL ADDER
Chandrahash Patel1
, Veena C.S2
1
Research Scholar, ECE Department, Technocrats Institute of Technology, Bhopal, India
2
Associate Professor, ECE Department, Technocrats Institute of Technology, Bhopal, India
Abstract
In this paper designing of comparator is done with the help of Full adder which is an important part of ALU and basically a basic
functional unit of the DSP & microprocessors. In today’s world of technology it has become very essential to develop such new
design techniques which must reduce the power or area consumption. So here comparator are developed using various styles of
full adder with the help of DSCH and Microwind tool with 120 and 70 nm technology.
Keywords: Arithmetic Logical Unit (ALU), Full Adder (FA), Magnitude Comparator, Speed.
---------------------------------------------------------------------***---------------------------------------------------------------------
1. INTRODUCTION
Comparator is basically one of the basic and useful
arithmetic components of digital systems and there are
various approaches for designing CMOS comparators with
different noise margin, operating speed, power consumption,
and its complexity. In this paper Comparator design
implementation is done by Full Adder which is one of the
basic building blocks of many of the digital VLSI circuits.
Several refinements approaches [1], [2] have been made
regarding its structure since its invention even one can
implement the comparator by flattening the logic function
directly too. The main aim of those refinements is to reduce
the transistors numbers which in term reduce the power
consumption and increase the speed of operation [3]. One of
the basic major advantages in reducing the number of
transistors is to put more devices on a single chip there by
reducing the total area.
In this paper, design techniques are implemented using
Microwind Software which helps in drawing the layout of
the CMOS circuit. And in digital system arithmetic,
Magnitude comparator is used for comparison.
Magnitude comparator is such combinational circuit which
compares two numbers say A and B, and then their relative
magnitude is determined and outcome specified by three
states which indicate whether A>B, A=B and A<B shown in
figure 1.
Fig-1: Block Diagram of n-Bit Magnitude Comparator
As said here we design comparator using Full Adder so here
we design it as of 2-Bit so that analysis can be done. So FA
based comparator (as said of 2-bit comparator) consist of
full adders, inverters at one of the input and AND gate at
the output side with two output shown in figure 2 and its
truth table is shown in Table 1 below
Fig-2: Basic Diagram of Full Adder based Comparator
Table -1: Truth Table of full adder based 2-bit comparator
A1 A0 B1 B0 B>A A=B
0 0 0 0 0 1
0 0 0 1 1 0
0 0 1 0 1 0
0 0 1 1 1 0
0 1 0 0 0 0
0 1 0 1 0 1
0 1 1 0 1 0
0 1 1 1 1 0
1 0 0 0 0 0
1 0 0 1 0 0
1 0 1 0 0 1
1 0 1 1 1 0
1 1 0 0 0 0
1 1 0 1 0 0
1 1 1 0 0 0
1 1 1 1 0 1
2. DESIGN IMPLEMENTATION
Firstly a brief discussion is done about basic Full adder [4],
[5] which consist of three inputs and two outputs as sum and
carry. The logic circuit diagram of this full adder can be
implemented with the help of various gates as XOR, AND
and OR gates. Here the logic for sum requires XOR gate
while the logic for carry requires AND, OR gates. The basic
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 366
diagram for full adder using its Boolean equations with
basic gates can be represented shown diagrammatically in
figure 3.
Fig -3: Basic Full Adder Logic
In designing of Full adder XOR gate plays an important role
as using it performance of the full adder can be improved.
Fig -4: Basic Full Adder Based Comparator
The layout design of the basic full adder based comparator
is shown in figure 5(a) and its analog simulation in figure
5(b).
(a)
(b)
Fig -5(a-b): (a) Layout Diagram (b) Analog Simulation of
Basic Full Adder Based Comparator
Then another design of comparator using hybrid full adder is
shown in figure 7 using figure 6.
Fig -6: Basic Hybrid Full Adder
This comparator consists of XOR gate, MUX, NOT and
AND gate with four input (A1, A0, B1, B0) and two output
(A=B, B>A) as shown below.
Fig -7: Hybrid Full Adder Based Comparator
The layout design of hybrid full adder based Comparator is
shown in figure 8(a) and its analog simulation in 8(b).
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 367
(a)
(b)
Fig -8(a-b): (a) Layout Diagram (b) Analog Simulation of
Hybrid Full Adder
As said earlier one can implement the comparator by
flattening the logic function directly which is shown in
figure 9.
Fig -9: Direct Logic Based Full Adder
So another design of comparator can be in such way shown
in figure 10 which is based on direct logic with four input
(A1, B1, A0, B0) and two output (A=B, B>A).
Fig -10: Direct Logic Based Adder Based Comparator
The layout design of comparator using direct logic of full
adder is shown in fig.11 (a) and is analog simulation in fig.
11(b).
(a)
(b)
Fig -11(a-b): (a) Layout Diagram (b) Analog Simulation of
Direct Logic Full Adder Based Comparator
3. RESULT ANALYSIS
Here analysis and comparison of different logic styles of
comparator using various logic styles of full adder is shown
in table.2 based on simulation obtained from in Microwind
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308
_______________________________________________________________________________________
Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 368
Tool or Software. Simulation is done in various steps. As to
obtain simulations compile the Verilog file in Microwind
and that Verilog file is created from the schematic circuit
diagram, which is designed DSCH part of Microwind
software. Here we design schematic diagram in DSCH at
120nm technology and simulation is at 70 nm technology at
room temperature.
Table -2: Comparison of various Full Adder Based
Comparator based on simulation
Full Adder
Based
Comparator
Design
Area(µm2
) Power(µw)
Routed
wires
Basic Full Adder 264.7 9.463 25
Hybrid 257.1 10.384 36
Direct logic
design
326.2 9.341 30
All these analysis is shown by graphical way in form of
chart below
(a)
(b)
Chart -1(a-b): Comparison Chart of various Full Adder
based Comparator based on (a) Power (b) Area
4. CONCLUSIONS
This paper describes various logic styles of full adder for
designing a comparator and found that each has its own
advantage and its specification as one has less power
consumption or less area or routing wires numbers than
other as shown in Table 2. So it depends on the designer and
its requirement which logic style is to be used and can be
helpful in implementation of higher design of comparator
and performance.
REFERENCES
[1]. S. Rahul, F. L. Richard and M. Carver, “A Low Power
Wide Dynamic-Range Analog VLSI Cochlea,” Analog
Integral Circuits Signal Process, vol. 16, pp. 245– 274,
1998.
[2]. Niels van Bakel, Jo van den Brand, “Design of a
comparator in a 0.25μm CMOS technology”.
[3]. S. Kang and Y. Leblebici “CMOS Digital Integrated
Circuit, Analysis and Design” (Tata McGraw-Hill, 3rd
Edition, 2003).
[4]. M.Morris Mano “Digital Design” (Pearson Education
Asia. 3rd Edition, 2002).
[5]. A. Bellaouar and Mohamed I. Elmasry “Low Power
Digital VLSI Design: Circuits and Systems” (Kluwer
Academic Publishers, 2nd Edition, 1995).
[6]. Anantha P. Chandrakasan and Robert W. Brodersen
“MinimizingPower Consumption in CMOS circuits”.
Department of EECS, University of California at
Barkeleyhttp://bwrc.eecs.berkeley.edu/php/pubs/pubs.php/4
18/paper.fm.pdf pp.1-64
[7]. Sung-Mo Kang and Yusuf Leblebici, “CMOS Digital
Integrated Circuits Analysis and Design”, TMH 3rd edition.
0
2
4
6
8
10
12
14
Basic
Comparator
Hybrid Direct logic
design
Power(µw)
0
100
200
300
400
Basic
Comparator
Hybrid Direct logic
design
Area(µm2)

More Related Content

Viewers also liked

Resourceful fast dht algorithm for vlsi implementation by split radix algorithm
Resourceful fast dht algorithm for vlsi implementation by split radix algorithmResourceful fast dht algorithm for vlsi implementation by split radix algorithm
Resourceful fast dht algorithm for vlsi implementation by split radix algorithmeSAT Publishing House
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmenteSAT Publishing House
 
Design of v slotted microstrip patch antenna for yielding improved gain bandw...
Design of v slotted microstrip patch antenna for yielding improved gain bandw...Design of v slotted microstrip patch antenna for yielding improved gain bandw...
Design of v slotted microstrip patch antenna for yielding improved gain bandw...eSAT Publishing House
 
Credit risk value based detection of multiple selfish node attacks in cogniti...
Credit risk value based detection of multiple selfish node attacks in cogniti...Credit risk value based detection of multiple selfish node attacks in cogniti...
Credit risk value based detection of multiple selfish node attacks in cogniti...eSAT Publishing House
 
Analytical study of abutment and pile behaviour of iab with soil interaction
Analytical study of abutment and pile behaviour of iab with soil interactionAnalytical study of abutment and pile behaviour of iab with soil interaction
Analytical study of abutment and pile behaviour of iab with soil interactioneSAT Publishing House
 
Design and testing of automobile exhaust system
Design and testing of automobile exhaust systemDesign and testing of automobile exhaust system
Design and testing of automobile exhaust systemeSAT Publishing House
 
Performance analysis of ml and mmse decoding using
Performance analysis of ml and mmse decoding usingPerformance analysis of ml and mmse decoding using
Performance analysis of ml and mmse decoding usingeSAT Publishing House
 
Statistical optimization of process parameters for
Statistical optimization of process parameters forStatistical optimization of process parameters for
Statistical optimization of process parameters foreSAT Publishing House
 
Study of shear walls in multistoried buildings with different thickness and r...
Study of shear walls in multistoried buildings with different thickness and r...Study of shear walls in multistoried buildings with different thickness and r...
Study of shear walls in multistoried buildings with different thickness and r...eSAT Publishing House
 
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloy
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloyEffects of aging time on mechanical properties of sand cast al 4.5 cu alloy
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloyeSAT Publishing House
 
Smart missile navigation in defence system using rc4 algorithm to detect target
Smart missile navigation in defence system using rc4 algorithm to detect targetSmart missile navigation in defence system using rc4 algorithm to detect target
Smart missile navigation in defence system using rc4 algorithm to detect targeteSAT Publishing House
 
Analysis of factors for enhancing energy conservation in indian railway works...
Analysis of factors for enhancing energy conservation in indian railway works...Analysis of factors for enhancing energy conservation in indian railway works...
Analysis of factors for enhancing energy conservation in indian railway works...eSAT Publishing House
 
Implementation of lru algorithm for location update in wireless m2 m communic...
Implementation of lru algorithm for location update in wireless m2 m communic...Implementation of lru algorithm for location update in wireless m2 m communic...
Implementation of lru algorithm for location update in wireless m2 m communic...eSAT Publishing House
 
Correcting garment set deformalities on virtual human model using transparanc...
Correcting garment set deformalities on virtual human model using transparanc...Correcting garment set deformalities on virtual human model using transparanc...
Correcting garment set deformalities on virtual human model using transparanc...eSAT Publishing House
 
Numerical study of natural convection in an enclosed
Numerical study of natural convection in an enclosedNumerical study of natural convection in an enclosed
Numerical study of natural convection in an enclosedeSAT Publishing House
 
A new design method for low speed torus type afpm
A new design method for low speed torus type afpmA new design method for low speed torus type afpm
A new design method for low speed torus type afpmeSAT Publishing House
 
An enhanced mppt technique for small scale
An enhanced mppt technique for small scaleAn enhanced mppt technique for small scale
An enhanced mppt technique for small scaleeSAT Publishing House
 
Modeling & analysis of standalone photovoltaic
Modeling & analysis of standalone photovoltaicModeling & analysis of standalone photovoltaic
Modeling & analysis of standalone photovoltaiceSAT Publishing House
 

Viewers also liked (18)

Resourceful fast dht algorithm for vlsi implementation by split radix algorithm
Resourceful fast dht algorithm for vlsi implementation by split radix algorithmResourceful fast dht algorithm for vlsi implementation by split radix algorithm
Resourceful fast dht algorithm for vlsi implementation by split radix algorithm
 
Enhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environmentEnhancing minimal virtual machine migration in cloud environment
Enhancing minimal virtual machine migration in cloud environment
 
Design of v slotted microstrip patch antenna for yielding improved gain bandw...
Design of v slotted microstrip patch antenna for yielding improved gain bandw...Design of v slotted microstrip patch antenna for yielding improved gain bandw...
Design of v slotted microstrip patch antenna for yielding improved gain bandw...
 
Credit risk value based detection of multiple selfish node attacks in cogniti...
Credit risk value based detection of multiple selfish node attacks in cogniti...Credit risk value based detection of multiple selfish node attacks in cogniti...
Credit risk value based detection of multiple selfish node attacks in cogniti...
 
Analytical study of abutment and pile behaviour of iab with soil interaction
Analytical study of abutment and pile behaviour of iab with soil interactionAnalytical study of abutment and pile behaviour of iab with soil interaction
Analytical study of abutment and pile behaviour of iab with soil interaction
 
Design and testing of automobile exhaust system
Design and testing of automobile exhaust systemDesign and testing of automobile exhaust system
Design and testing of automobile exhaust system
 
Performance analysis of ml and mmse decoding using
Performance analysis of ml and mmse decoding usingPerformance analysis of ml and mmse decoding using
Performance analysis of ml and mmse decoding using
 
Statistical optimization of process parameters for
Statistical optimization of process parameters forStatistical optimization of process parameters for
Statistical optimization of process parameters for
 
Study of shear walls in multistoried buildings with different thickness and r...
Study of shear walls in multistoried buildings with different thickness and r...Study of shear walls in multistoried buildings with different thickness and r...
Study of shear walls in multistoried buildings with different thickness and r...
 
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloy
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloyEffects of aging time on mechanical properties of sand cast al 4.5 cu alloy
Effects of aging time on mechanical properties of sand cast al 4.5 cu alloy
 
Smart missile navigation in defence system using rc4 algorithm to detect target
Smart missile navigation in defence system using rc4 algorithm to detect targetSmart missile navigation in defence system using rc4 algorithm to detect target
Smart missile navigation in defence system using rc4 algorithm to detect target
 
Analysis of factors for enhancing energy conservation in indian railway works...
Analysis of factors for enhancing energy conservation in indian railway works...Analysis of factors for enhancing energy conservation in indian railway works...
Analysis of factors for enhancing energy conservation in indian railway works...
 
Implementation of lru algorithm for location update in wireless m2 m communic...
Implementation of lru algorithm for location update in wireless m2 m communic...Implementation of lru algorithm for location update in wireless m2 m communic...
Implementation of lru algorithm for location update in wireless m2 m communic...
 
Correcting garment set deformalities on virtual human model using transparanc...
Correcting garment set deformalities on virtual human model using transparanc...Correcting garment set deformalities on virtual human model using transparanc...
Correcting garment set deformalities on virtual human model using transparanc...
 
Numerical study of natural convection in an enclosed
Numerical study of natural convection in an enclosedNumerical study of natural convection in an enclosed
Numerical study of natural convection in an enclosed
 
A new design method for low speed torus type afpm
A new design method for low speed torus type afpmA new design method for low speed torus type afpm
A new design method for low speed torus type afpm
 
An enhanced mppt technique for small scale
An enhanced mppt technique for small scaleAn enhanced mppt technique for small scale
An enhanced mppt technique for small scale
 
Modeling & analysis of standalone photovoltaic
Modeling & analysis of standalone photovoltaicModeling & analysis of standalone photovoltaic
Modeling & analysis of standalone photovoltaic
 

More from eSAT Publishing House

Likely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnamLikely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnameSAT Publishing House
 
Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...eSAT Publishing House
 
Hudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnamHudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnameSAT Publishing House
 
Groundwater investigation using geophysical methods a case study of pydibhim...
Groundwater investigation using geophysical methods  a case study of pydibhim...Groundwater investigation using geophysical methods  a case study of pydibhim...
Groundwater investigation using geophysical methods a case study of pydibhim...eSAT Publishing House
 
Flood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaFlood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaeSAT Publishing House
 
Enhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingEnhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingeSAT Publishing House
 
Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...eSAT Publishing House
 
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...eSAT Publishing House
 
Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...eSAT Publishing House
 
Shear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a reviewShear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a revieweSAT Publishing House
 
Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...eSAT Publishing House
 
Risk analysis and environmental hazard management
Risk analysis and environmental hazard managementRisk analysis and environmental hazard management
Risk analysis and environmental hazard managementeSAT Publishing House
 
Review study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallsReview study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallseSAT Publishing House
 
Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...eSAT Publishing House
 
Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...eSAT Publishing House
 
Coastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaCoastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaeSAT Publishing House
 
Can fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structuresCan fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structureseSAT Publishing House
 
Assessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingsAssessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingseSAT Publishing House
 
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...eSAT Publishing House
 
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...eSAT Publishing House
 

More from eSAT Publishing House (20)

Likely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnamLikely impacts of hudhud on the environment of visakhapatnam
Likely impacts of hudhud on the environment of visakhapatnam
 
Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...Impact of flood disaster in a drought prone area – case study of alampur vill...
Impact of flood disaster in a drought prone area – case study of alampur vill...
 
Hudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnamHudhud cyclone – a severe disaster in visakhapatnam
Hudhud cyclone – a severe disaster in visakhapatnam
 
Groundwater investigation using geophysical methods a case study of pydibhim...
Groundwater investigation using geophysical methods  a case study of pydibhim...Groundwater investigation using geophysical methods  a case study of pydibhim...
Groundwater investigation using geophysical methods a case study of pydibhim...
 
Flood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, indiaFlood related disasters concerned to urban flooding in bangalore, india
Flood related disasters concerned to urban flooding in bangalore, india
 
Enhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity buildingEnhancing post disaster recovery by optimal infrastructure capacity building
Enhancing post disaster recovery by optimal infrastructure capacity building
 
Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...Effect of lintel and lintel band on the global performance of reinforced conc...
Effect of lintel and lintel band on the global performance of reinforced conc...
 
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
 
Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...Wind damage to buildings, infrastrucuture and landscape elements along the be...
Wind damage to buildings, infrastrucuture and landscape elements along the be...
 
Shear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a reviewShear strength of rc deep beam panels – a review
Shear strength of rc deep beam panels – a review
 
Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...Role of voluntary teams of professional engineers in dissater management – ex...
Role of voluntary teams of professional engineers in dissater management – ex...
 
Risk analysis and environmental hazard management
Risk analysis and environmental hazard managementRisk analysis and environmental hazard management
Risk analysis and environmental hazard management
 
Review study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear wallsReview study on performance of seismically tested repaired shear walls
Review study on performance of seismically tested repaired shear walls
 
Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...Monitoring and assessment of air quality with reference to dust particles (pm...
Monitoring and assessment of air quality with reference to dust particles (pm...
 
Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...Low cost wireless sensor networks and smartphone applications for disaster ma...
Low cost wireless sensor networks and smartphone applications for disaster ma...
 
Coastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of indiaCoastal zones – seismic vulnerability an analysis from east coast of india
Coastal zones – seismic vulnerability an analysis from east coast of india
 
Can fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structuresCan fracture mechanics predict damage due disaster of structures
Can fracture mechanics predict damage due disaster of structures
 
Assessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildingsAssessment of seismic susceptibility of rc buildings
Assessment of seismic susceptibility of rc buildings
 
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
 
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
 

Recently uploaded

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girlsssuser7cb4ff
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacingjaychoudhary37
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx959SahilShah
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 

Recently uploaded (20)

Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call GirlsCall Girls Narol 7397865700 Independent Call Girls
Call Girls Narol 7397865700 Independent Call Girls
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
microprocessor 8085 and its interfacing
microprocessor 8085  and its interfacingmicroprocessor 8085  and its interfacing
microprocessor 8085 and its interfacing
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Application of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptxApplication of Residue Theorem to evaluate real integrations.pptx
Application of Residue Theorem to evaluate real integrations.pptx
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 

Comparator design using full adder

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 365 COMPARATOR DESIGN USING FULL ADDER Chandrahash Patel1 , Veena C.S2 1 Research Scholar, ECE Department, Technocrats Institute of Technology, Bhopal, India 2 Associate Professor, ECE Department, Technocrats Institute of Technology, Bhopal, India Abstract In this paper designing of comparator is done with the help of Full adder which is an important part of ALU and basically a basic functional unit of the DSP & microprocessors. In today’s world of technology it has become very essential to develop such new design techniques which must reduce the power or area consumption. So here comparator are developed using various styles of full adder with the help of DSCH and Microwind tool with 120 and 70 nm technology. Keywords: Arithmetic Logical Unit (ALU), Full Adder (FA), Magnitude Comparator, Speed. ---------------------------------------------------------------------***--------------------------------------------------------------------- 1. INTRODUCTION Comparator is basically one of the basic and useful arithmetic components of digital systems and there are various approaches for designing CMOS comparators with different noise margin, operating speed, power consumption, and its complexity. In this paper Comparator design implementation is done by Full Adder which is one of the basic building blocks of many of the digital VLSI circuits. Several refinements approaches [1], [2] have been made regarding its structure since its invention even one can implement the comparator by flattening the logic function directly too. The main aim of those refinements is to reduce the transistors numbers which in term reduce the power consumption and increase the speed of operation [3]. One of the basic major advantages in reducing the number of transistors is to put more devices on a single chip there by reducing the total area. In this paper, design techniques are implemented using Microwind Software which helps in drawing the layout of the CMOS circuit. And in digital system arithmetic, Magnitude comparator is used for comparison. Magnitude comparator is such combinational circuit which compares two numbers say A and B, and then their relative magnitude is determined and outcome specified by three states which indicate whether A>B, A=B and A<B shown in figure 1. Fig-1: Block Diagram of n-Bit Magnitude Comparator As said here we design comparator using Full Adder so here we design it as of 2-Bit so that analysis can be done. So FA based comparator (as said of 2-bit comparator) consist of full adders, inverters at one of the input and AND gate at the output side with two output shown in figure 2 and its truth table is shown in Table 1 below Fig-2: Basic Diagram of Full Adder based Comparator Table -1: Truth Table of full adder based 2-bit comparator A1 A0 B1 B0 B>A A=B 0 0 0 0 0 1 0 0 0 1 1 0 0 0 1 0 1 0 0 0 1 1 1 0 0 1 0 0 0 0 0 1 0 1 0 1 0 1 1 0 1 0 0 1 1 1 1 0 1 0 0 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 1 0 1 1 0 0 0 0 1 1 0 1 0 0 1 1 1 0 0 0 1 1 1 1 0 1 2. DESIGN IMPLEMENTATION Firstly a brief discussion is done about basic Full adder [4], [5] which consist of three inputs and two outputs as sum and carry. The logic circuit diagram of this full adder can be implemented with the help of various gates as XOR, AND and OR gates. Here the logic for sum requires XOR gate while the logic for carry requires AND, OR gates. The basic
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 366 diagram for full adder using its Boolean equations with basic gates can be represented shown diagrammatically in figure 3. Fig -3: Basic Full Adder Logic In designing of Full adder XOR gate plays an important role as using it performance of the full adder can be improved. Fig -4: Basic Full Adder Based Comparator The layout design of the basic full adder based comparator is shown in figure 5(a) and its analog simulation in figure 5(b). (a) (b) Fig -5(a-b): (a) Layout Diagram (b) Analog Simulation of Basic Full Adder Based Comparator Then another design of comparator using hybrid full adder is shown in figure 7 using figure 6. Fig -6: Basic Hybrid Full Adder This comparator consists of XOR gate, MUX, NOT and AND gate with four input (A1, A0, B1, B0) and two output (A=B, B>A) as shown below. Fig -7: Hybrid Full Adder Based Comparator The layout design of hybrid full adder based Comparator is shown in figure 8(a) and its analog simulation in 8(b).
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 367 (a) (b) Fig -8(a-b): (a) Layout Diagram (b) Analog Simulation of Hybrid Full Adder As said earlier one can implement the comparator by flattening the logic function directly which is shown in figure 9. Fig -9: Direct Logic Based Full Adder So another design of comparator can be in such way shown in figure 10 which is based on direct logic with four input (A1, B1, A0, B0) and two output (A=B, B>A). Fig -10: Direct Logic Based Adder Based Comparator The layout design of comparator using direct logic of full adder is shown in fig.11 (a) and is analog simulation in fig. 11(b). (a) (b) Fig -11(a-b): (a) Layout Diagram (b) Analog Simulation of Direct Logic Full Adder Based Comparator 3. RESULT ANALYSIS Here analysis and comparison of different logic styles of comparator using various logic styles of full adder is shown in table.2 based on simulation obtained from in Microwind
  • 4. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 07 | Jul-2014, Available @ http://www.ijret.org 368 Tool or Software. Simulation is done in various steps. As to obtain simulations compile the Verilog file in Microwind and that Verilog file is created from the schematic circuit diagram, which is designed DSCH part of Microwind software. Here we design schematic diagram in DSCH at 120nm technology and simulation is at 70 nm technology at room temperature. Table -2: Comparison of various Full Adder Based Comparator based on simulation Full Adder Based Comparator Design Area(µm2 ) Power(µw) Routed wires Basic Full Adder 264.7 9.463 25 Hybrid 257.1 10.384 36 Direct logic design 326.2 9.341 30 All these analysis is shown by graphical way in form of chart below (a) (b) Chart -1(a-b): Comparison Chart of various Full Adder based Comparator based on (a) Power (b) Area 4. CONCLUSIONS This paper describes various logic styles of full adder for designing a comparator and found that each has its own advantage and its specification as one has less power consumption or less area or routing wires numbers than other as shown in Table 2. So it depends on the designer and its requirement which logic style is to be used and can be helpful in implementation of higher design of comparator and performance. REFERENCES [1]. S. Rahul, F. L. Richard and M. Carver, “A Low Power Wide Dynamic-Range Analog VLSI Cochlea,” Analog Integral Circuits Signal Process, vol. 16, pp. 245– 274, 1998. [2]. Niels van Bakel, Jo van den Brand, “Design of a comparator in a 0.25μm CMOS technology”. [3]. S. Kang and Y. Leblebici “CMOS Digital Integrated Circuit, Analysis and Design” (Tata McGraw-Hill, 3rd Edition, 2003). [4]. M.Morris Mano “Digital Design” (Pearson Education Asia. 3rd Edition, 2002). [5]. A. Bellaouar and Mohamed I. Elmasry “Low Power Digital VLSI Design: Circuits and Systems” (Kluwer Academic Publishers, 2nd Edition, 1995). [6]. Anantha P. Chandrakasan and Robert W. Brodersen “MinimizingPower Consumption in CMOS circuits”. Department of EECS, University of California at Barkeleyhttp://bwrc.eecs.berkeley.edu/php/pubs/pubs.php/4 18/paper.fm.pdf pp.1-64 [7]. Sung-Mo Kang and Yusuf Leblebici, “CMOS Digital Integrated Circuits Analysis and Design”, TMH 3rd edition. 0 2 4 6 8 10 12 14 Basic Comparator Hybrid Direct logic design Power(µw) 0 100 200 300 400 Basic Comparator Hybrid Direct logic design Area(µm2)