SlideShare a Scribd company logo
Combinational 7 segment,
comparator and Adder circuit
Digital Logic Design
7-Segment Display
a
b
c
d
e
f
g
Inputs Output
A B C D a
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
Inputs Output
A B C D a
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘a’
Inputs Output
A B C D b
0 0 0 0 1
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 1
Inputs Output
A B C D b
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘b’
Inputs Output
A B C D c
0 0 0 0 1
0 0 0 1 1
0 0 1 0 0
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 1
Inputs Output
A B C D c
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘c’
Inputs Output
A B C D d
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 1
0 1 1 0 1
0 1 1 1 0
Inputs Output
A B C D d
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘d’
Inputs Output
A B C D e
0 0 0 0 1
0 0 0 1 0
0 0 1 0 1
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 0
Inputs Output
A B C D e
1 0 0 0 1
1 0 0 1 0
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘e’
Inputs Output
A B C D f
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 0
Inputs Output
A B C D f
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘f’
Inputs Output
A B C D g
0 0 0 0 0
0 0 0 1 0
0 0 1 0 1
0 0 1 1 1
0 1 0 0 1
0 1 0 1 1
0 1 1 0 1
0 1 1 1 0
Inputs Output
A B C D g
1 0 0 0 1
1 0 0 1 1
1 0 1 0 X
1 0 1 1 X
1 1 0 0 X
1 1 0 1 X
1 1 1 0 X
1 1 1 1 X
Function Table for Segment ‘g’
Karnaugh Map for Segment ‘a’
ABCD 00 01 11 10
00 1 0 1 1
01 0 1 1 1
11 x x x x
10 1 1 x x
DBBDCA 
Karnaugh Map for Segment ‘b’
ABCD 00 01 11 10
00 1 1 1 1
01 1 0 1 0
11 x x x x
10 1 1 x x
CDDCB 
Karnaugh Map for Segment ‘c’
ABCD 00 01 11 10
00 1 1 1 0
01 1 1 1 1
11 x x x x
10 1 1 x x
BDC 
Karnaugh Map for Segment ‘d’
ABCD 00 01 11 10
00 1 0 1 1
01 0 1 0 1
11 x x x x
10 1 1 x x
DCBDCCBDBA 
Karnaugh Map for Segment ‘e’
ABCD 00 01 11 10
00 1 0 0 1
01 0 0 0 1
11 x x x x
10 1 0 x x
DCDB 
Karnaugh Map for Segment ‘f’
ABCD 00 01 11 10
00 1 0 0 0
01 1 1 0 1
11 x x x x
10 1 1 x x
DBCBDCB 
Karnaugh Map for Segment ‘g’
ABCD 00 01 11 10
00 0 0 1 1
01 1 1 0 1
11 x x x x
10 1 1 x x
CBDCCBA 
7-Segment Circuit
a
b
c
d
e
f g
Logic
Circuit
4-bit
BCD
input
7-segment
output
Comparator Circuit
• Inputs two 2-bit binary numbers A and B
• Has three outputs
• A>B
• A=B
• A<B
Inputs Output
A1 A0 B1 B0 A>B
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 1
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
Inputs Output
A1 A0 B1 B0 A>B
1 0 0 0 1
1 0 0 1 1
1 0 1 0 0
1 0 1 1 0
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 0
Function Table for A>B
Inputs Output
A1 A0 B1 B0 A=B
0 0 0 0 1
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 1
0 1 1 0 0
0 1 1 1 0
Inputs Output
A1 A0 B1 B0 A=B
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 0
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 1
Function Table for A=B
Inputs Output
A1 A0 B1 B0 A<B
0 0 0 0 0
0 0 0 1 1
0 0 1 0 1
0 0 1 1 1
0 1 0 0 0
0 1 0 1 0
0 1 1 0 1
0 1 1 1 1
Inputs Output
A1 A0 B1 B0 A<B
1 0 0 0 0
1 0 0 1 0
1 0 1 0 0
1 0 1 1 1
1 1 0 0 0
1 1 0 1 0
1 1 1 0 0
1 1 1 1 0
Function Table for A<B
Karnaugh Map for A>B
A1A0/
B1B0
00 01 11 10
00 0 0 0 0
01 1 0 0 0
11 1 1 0 1
10 1 1 0 0
00101011 BAABBABA 
Karnaugh Map for A=B
A1A0/
B1B0
00 01 11 10
00 1 0 0 0
01 0 1 0 0
11 0 0 1 0
10 0 0 0 1
0101010101010101 BBAABBAABBAABBAA 
Karnaugh Map for A<B
A1A0/
B1B0
00 01 11 10
00 0 1 1 1
01 0 0 1 1
11 0 0 0 0
10 0 0 1 0
01000111 BBABAABA 
Half & Full Adders

A
B

Cout
InputBits
OutputBits
Half-Adder

A
B
Cin

Cout
InputBits
OutputBits
Full-Adder
Half-Adder
• Function Table
• Expression
• Logic Circuit
Half-Adder Function Table
Input Output
A B Sum Carry
Out
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Half-Adder Circuit
A
B

Cout
BABABASum  ABCarryOut 
Full-Adder
• Function Table
• Expression
• Logic Circuit
Full-Adder Function Table
Input Output
A B Carry In
(C)
Sum Carry
Out
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
Sum Expression
ABCCBACBACBASum 
)()( BCCBACBCBASum 
)()( CBACBASum 
CBASum 
Carry Out Expression
ABCCABCBABCACarryOut 
)()( CCABBABACCarryOut 
ABBACCarryOut  )(
Full-Adder Circuit
A
B

Cout
C
CBASum 
ABBACCarryOut  )(
Full-Adder
• Full-Adder = Half-Adder + Half-Adder
Full-Adder based on
Two Half-Adders

A
B

Cout
Half-Adder

A
B

Cout
Half-Adder
Cin
A
B

Cout
Parallel Binary Adder
• Multiple Single bit Full-Adder connected in
Parallel
4-bit Parallel Adder

A
B
Cin

Cout

A
B
Cin

Cout

A
B
Cin

Cout

A
B
Cin

Cout
A0B0A1B1A2B2A3B3
S0S1S2S3Cout
0

More Related Content

PDF
Project Report Distance measurement system
PDF
Arm instruction set
PDF
Programs of VHDL
PPTX
Flip flop’s state tables & diagrams
PDF
Multiplexer & Demultiplexer
PPTX
Multiplexer & de multiplexer
PPTX
Data Communication Basics
PDF
Led display
Project Report Distance measurement system
Arm instruction set
Programs of VHDL
Flip flop’s state tables & diagrams
Multiplexer & Demultiplexer
Multiplexer & de multiplexer
Data Communication Basics
Led display

What's hot (20)

PPTX
Microprocessor Presentation
PPT
Logic families
PDF
Microprocess Microconroller mcq 1000+
PPT
I o ports and timers of 8051
PPT
Quality attributes of Embedded Systems
PPTX
halfadder & halfsubtractor using 4:1 MUX
PPT
Interfacing LCD with 8051 Microcontroller
PPTX
PDF
Logic Synthesis
PDF
Question Bank Microprocessor 8085
PDF
COA Complete Notes.pdf
PPTX
Parity Generator and Parity Checker
PPT
Logic gates presentation
PPTX
11. Parity Generator_Checker.pptx
PPTX
Bipolar junction Transistor
PDF
Memory mapping
PDF
PPTX
Basics of digital electronics
PPTX
Interconnect timing model
PPTX
Bcd to 7 segment display
Microprocessor Presentation
Logic families
Microprocess Microconroller mcq 1000+
I o ports and timers of 8051
Quality attributes of Embedded Systems
halfadder & halfsubtractor using 4:1 MUX
Interfacing LCD with 8051 Microcontroller
Logic Synthesis
Question Bank Microprocessor 8085
COA Complete Notes.pdf
Parity Generator and Parity Checker
Logic gates presentation
11. Parity Generator_Checker.pptx
Bipolar junction Transistor
Memory mapping
Basics of digital electronics
Interconnect timing model
Bcd to 7 segment display
Ad

Viewers also liked (20)

PPT
COMBINATIONAL CIRCUITS & FLIP FLOPS
PPT
Lecture3 combinational blocks
PDF
Lecture 1
PPTX
Combinational circuit
PPT
Bca 2nd sem-u-1.6 digital logic circuits, digital component
PDF
Intro_Programmation_Informatique
PPTX
JASPARD, M. LOGIC un service GeoWeb d’aide à la décision et à la coopération...
PPTX
Algorithmic Forex Trading
PDF
Digital elect total
PDF
Combinators - Lightning Talk
PDF
Bca i sem de lab
PDF
Combinational logic
PDF
exercice_réseau
PDF
58210401202 งาน 1 ss
PPT
Combinational circuit
PPTX
Assurance Qualité logicielle
PPT
Structure de données en PHP
PPT
Chapitre 1 (algorithme)
PDF
combinational_circuits
PPTX
Canaux logiques et codage dans le gsm
COMBINATIONAL CIRCUITS & FLIP FLOPS
Lecture3 combinational blocks
Lecture 1
Combinational circuit
Bca 2nd sem-u-1.6 digital logic circuits, digital component
Intro_Programmation_Informatique
JASPARD, M. LOGIC un service GeoWeb d’aide à la décision et à la coopération...
Algorithmic Forex Trading
Digital elect total
Combinators - Lightning Talk
Bca i sem de lab
Combinational logic
exercice_réseau
58210401202 งาน 1 ss
Combinational circuit
Assurance Qualité logicielle
Structure de données en PHP
Chapitre 1 (algorithme)
combinational_circuits
Canaux logiques et codage dans le gsm
Ad

Similar to Combinational circuit (7-Segment display) (20)

PPTX
Lecture-5a - Half and Full Adxcccder.pptx
PDF
Chapter 2
PPTX
Unit 2.pptx
PPTX
Lecture 18 M - Copy.pptx
PDF
logic.deghjkl;jldddghbmedgygshedgyssfjfheueh
PPTX
Digital-Logic40124sequential circuits logic gatepptx
PPTX
Lecture-5b - BCD Adder and Carry Propagation, Comparator (2).pptx
PDF
boolean algebra exercises
 
PPTX
CH11-Digital Logic.pptx
PPT
Chapter 4 combinational_logic
PPTX
section 4 lkkkkkkkkkkkogic design-1.pptx
PPT
Digital Logic & Design
PPT
Dateof birthdesignproblem 1_
PPT
combinational-circuit (1).ppt
PPTX
Intoduction to Computer Appl 1st_coa.pptx
PPT
Designing Clocked Synchronous State Machine
PPT
combinational-circuit (1).ppt
DOC
Mcsl 17 ALP lab manual
PPTX
UNIT - II.pptx
PPT
5. Arithmaticn combinational Ckt.ppt
Lecture-5a - Half and Full Adxcccder.pptx
Chapter 2
Unit 2.pptx
Lecture 18 M - Copy.pptx
logic.deghjkl;jldddghbmedgygshedgyssfjfheueh
Digital-Logic40124sequential circuits logic gatepptx
Lecture-5b - BCD Adder and Carry Propagation, Comparator (2).pptx
boolean algebra exercises
 
CH11-Digital Logic.pptx
Chapter 4 combinational_logic
section 4 lkkkkkkkkkkkogic design-1.pptx
Digital Logic & Design
Dateof birthdesignproblem 1_
combinational-circuit (1).ppt
Intoduction to Computer Appl 1st_coa.pptx
Designing Clocked Synchronous State Machine
combinational-circuit (1).ppt
Mcsl 17 ALP lab manual
UNIT - II.pptx
5. Arithmaticn combinational Ckt.ppt

Recently uploaded (20)

PPT
pump pump is a mechanism that is used to transfer a liquid from one place to ...
PPTX
Special finishes, classification and types, explanation
PDF
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
PDF
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
DOCX
The story of the first moon landing.docx
PPTX
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
PDF
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
PDF
Phone away, tabs closed: No multitasking
PDF
YOW2022-BNE-MinimalViableArchitecture.pdf
PPTX
An introduction to AI in research and reference management
PPTX
mahatma gandhi bus terminal in india Case Study.pptx
PDF
Urban Design Final Project-Context
PPTX
AD Bungalow Case studies Sem 2.pptxvwewev
PDF
SEVA- Fashion designing-Presentation.pdf
PPTX
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
PPTX
12. Community Pharmacy and How to organize it
PDF
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
PPT
Package Design Design Kit 20100009 PWM IC by Bee Technologies
PPTX
Tenders & Contracts Works _ Services Afzal.pptx
PDF
The Advantages of Working With a Design-Build Studio
pump pump is a mechanism that is used to transfer a liquid from one place to ...
Special finishes, classification and types, explanation
Benefits_of_Cast_Aluminium_Doors_Presentation.pdf
Trusted Executive Protection Services in Ontario — Discreet & Professional.pdf
The story of the first moon landing.docx
AC-Unit1.pptx CRYPTOGRAPHIC NNNNFOR ALL
UNIT 1 Introduction fnfbbfhfhfbdhdbdto Java.pptx.pdf
Phone away, tabs closed: No multitasking
YOW2022-BNE-MinimalViableArchitecture.pdf
An introduction to AI in research and reference management
mahatma gandhi bus terminal in india Case Study.pptx
Urban Design Final Project-Context
AD Bungalow Case studies Sem 2.pptxvwewev
SEVA- Fashion designing-Presentation.pdf
BSCS lesson 3.pptxnbbjbb mnbkjbkbbkbbkjb
12. Community Pharmacy and How to organize it
Integrated-2D-and-3D-Animation-Bridging-Dimensions-for-Impactful-Storytelling...
Package Design Design Kit 20100009 PWM IC by Bee Technologies
Tenders & Contracts Works _ Services Afzal.pptx
The Advantages of Working With a Design-Build Studio

Combinational circuit (7-Segment display)