SlideShare a Scribd company logo
Basics of Digital Electronics
Course: B.Sc.(CS)
Sem.:1st
 LOGIC CIRCUITS:
1) Combinational
2) Sequential
 Combinational logic circuits (circuits without a
memory):
Combinational switching networks whose outputs
depend only on the current inputs.
 Sequential logic circuits (circuits with memory):
In this kind of network, the outputs depend on the
current inputs and the previous inputs. These
networks employ storage elements and logic gates.
COMBINATIONAL CIRCUITS
 Most important standard combinational circuits are:
• Adders
• Subtractors
• Comparators
• Decoders
• Encoders
• Multiplexers
Available in IC’s as MSI and used as
standard cells in complex VLSI (ASIC)
ANALYSIS OF COMBINATIONAL
LOGIC
ANALYSIS OF COMBINATIONAL
LOGIC
ANALYSIS OF COMBINATIONAL
LOGIC
DESIGN OF COMBINATIONAL
LOGIC
1. From the specifications of the circuit, determine the
number of inputs and outputs
2. Derive the truth table that defines the relationship
between the input and the output.
3. Obtain the simplified Boolean function using x-
variable K-Map.
4. Draw the logic diagram and verify the correctness of
the design.
DESIGN OF COMBINATIONAL
LOGIC
 Example: Design a combinational circuit with three
inputs and one output. The output is a 1 when the
binary value is less than three.
 The output is 0 otherwise.
BINARY ADDER – Half Adder
Implementation of Half Adder
BINARY ADDER - Full Adder
Full Adder in SOP
Implementation Full Adder with
two half Adders
4-BIT FULL ADDER
4 bit Adder
Magnitude Comparator
 A magnitude comparator is a combinational circuit that
compares two numbers, A and B, and then determines their
relative magnitudes.
 A > B
 A = B
 A < B
 Algorithm Consider two numbers, A and B, with four digits
each:
 A=A3 A2 A1 A0
 B=B3 B2 B1 B0
 xi=1 if A=B=0 or A=B=1
 xi=AiBi+ Ai’Bi’ for i=0,1,2,3 XNOR
 For equality to exist, all xi variables must be equal to 1:
 (A=B)=X3 X2 X1 X0
AND Operation
Magnitude Comparator
 To determine if A is greater than or less than B, we
inspect the relative magnitudes of significant digits.
 If the two digits are equal, we compare the next lower
significant pair of digits. The comparison continues
until a pair of unequal digits is reached.
 The sequential comparison can be expressed by:
DECODERS
 A decoder is a combinational circuit that converts binary
information
 from n input lines to an 2nunique output lines.
 Some Applications:
a) Microprocessor memory system: selecting different
banks of memory.
b) Microprocessor I/O: Selecting different devices.
c) Memory: Decoding memory addresses (e.g. in ROM).
d) Decoding the binary input to activate the LED segments
so that the decimal number can be displayed.
3-to-8-line DECODER
 If the input corresponds to minterm mi then the
decoder ouput i will be the single asserted output.
3-to-8-line DECODER
2-to-4-line DECODER with Enable
 The decoder is enabled when E = 0. The output whose
value = 0 represents the minterm is selected by inputs
A and B.
 The decoder is inactive when E=1 D0………D3 =1
 A Decoder with enable input is called a
decoder/demultiplexer. Demultiplexer receives
information from a single line and directs it to the
output lines.
A 4 x 16 DECODER
 When w = 0, the top decoder is enabled and the bottom is
disabled.
 Top decoder generates 8 minterms 0000 to 0111, while the
bottom decoder outputs are 0’s.
 When w = 1, the top decoder is disabled and the bottom is
enabled.
 Bottom decoder generates 8 minterms 1000 to 1111, while
the top decoder outputs are 0’s.
Full-Adder using Decoder
MULTIPLEXERS/DATA SELECTORS
 A multiplexer is a combinational circuit that selects
one of many input lines (2n ) and steers it to its single
output line. There are (2n ) and n selection lines whose
bit combinations determine which input is selected.
4-to-1LINE MULTIPLEXER DESIGN
 In general, a 2n –to–1- line multiplexer is constructed
from an n–to 2n decoder by adding to 2n it lines, one to
each AND gate.
References
 Digital Logic and Computer Design – M. Morris Mano
– Pearson
 Fundamentals of Digital Circuits – A. Anand Kumar -
PHI
 Digital Electronics - Gothmen - PHI
 Digital Electronics Principles - Malvino & Leech -
MGH
 Digital Electronics -Tokneinh - MGH
Web References
 www.engrcs.com/courses/engr250/engr250lecture.pdf
 www.eng.auburn.edu/~strouce/class/elec4200/design
 en.wikipedia.org/wiki/Combinational_logic
 www.allaboutcircuits.com › ... › Combinational Logic
Functions
 www.cs.umd.edu/class/sum2003/cmsc311/Notes/Comb
/gates.htm

More Related Content

PPTX
Encoder and decoder
PDF
Comparators in DLD.
PDF
Flip Flop and Its Types
PPTX
Turbo codes.ppt
PDF
Magnitude Comparator and types of MC
PDF
Combinational circuits
PDF
Design-for-Test (Testing of VLSI Design)
PPT
digital logic design number system
Encoder and decoder
Comparators in DLD.
Flip Flop and Its Types
Turbo codes.ppt
Magnitude Comparator and types of MC
Combinational circuits
Design-for-Test (Testing of VLSI Design)
digital logic design number system

What's hot (20)

PPTX
CRC Error coding technique
PPT
Encoder, decoder, multiplexers and demultiplexers
PPT
Introduction state machine
PDF
Programmable Logic Array(PLA), digital circuits
PPT
Digital Logic & Design
PPTX
Programmable asic i/o cells
PPTX
3.4_OOK systems – ASK, FSK, PSK, BPSK, QPSK, applications of Data communicati...
PPTX
Latches and flip flops
PPT
Error Detection And Correction
PPTX
Digital logic
PPTX
Encoders and decoders
PPT
The IEEE 1149.1 Boundary-scan test standard
PPTX
Serial communication in LPC2148
PPTX
Digital electronics- BCD & Decoder
PPT
Verilog Tasks and functions
PPTX
Synchronous counters
PPTX
CS304PC:Computer Organization and Architecture Session 17 Complements and fix...
PPTX
Unit 4 - Transport Layer
PPTX
presentation on (Boolean rules & laws)
PPTX
SOP POS, Minterm and Maxterm
CRC Error coding technique
Encoder, decoder, multiplexers and demultiplexers
Introduction state machine
Programmable Logic Array(PLA), digital circuits
Digital Logic & Design
Programmable asic i/o cells
3.4_OOK systems – ASK, FSK, PSK, BPSK, QPSK, applications of Data communicati...
Latches and flip flops
Error Detection And Correction
Digital logic
Encoders and decoders
The IEEE 1149.1 Boundary-scan test standard
Serial communication in LPC2148
Digital electronics- BCD & Decoder
Verilog Tasks and functions
Synchronous counters
CS304PC:Computer Organization and Architecture Session 17 Complements and fix...
Unit 4 - Transport Layer
presentation on (Boolean rules & laws)
SOP POS, Minterm and Maxterm
Ad

Viewers also liked (20)

PPT
Semiconductor
PPTX
History of computers
PPTX
Introduction to Arduino
PPTX
2.3 sequantial logic circuit
PPT
PPTX
Analog and Digital I/O
PPTX
Group 7 combinational logic
PPTX
CPU and Software
PPT
Field Effect Transistor
PPTX
CPU Architecture - Advanced
PPTX
Serial Communication
PPTX
Role of CPU
PPT
Introduction to Electronic Circuit
PPT
Operational Amplifier
PPTX
B sc cs i bo-de u-iii counters & registers
PPT
Shift Register
PPT
Bipolar Junction Transistor
PPTX
Android - Message
PPT
Digital 9 16
Semiconductor
History of computers
Introduction to Arduino
2.3 sequantial logic circuit
Analog and Digital I/O
Group 7 combinational logic
CPU and Software
Field Effect Transistor
CPU Architecture - Advanced
Serial Communication
Role of CPU
Introduction to Electronic Circuit
Operational Amplifier
B sc cs i bo-de u-iii counters & registers
Shift Register
Bipolar Junction Transistor
Android - Message
Digital 9 16
Ad

Similar to B sc cs i bo-de u-iii combitional logic circuit (20)

PPTX
digital logic circuits, digital component
PPTX
B.sc cs-ii-u-1.4 digital logic circuits, digital component
PPTX
Bca 2nd sem-u-1.4 digital logic circuits, digital component
PPT
Digital Logic Design
PPTX
AddersIn digital logic design, an adder is a combinational circuit that perfo...
PDF
Unit-I11111111111111111111111111111I.pdf
PPTX
Combinational circuit
PPTX
B sc3 unit 4 combi..lckt
PPTX
DCF-Combinational circuit
PPT
STLD-Combinational logic design
PPTX
ATT SMK.pptx
PDF
Digital Principles and computer Organisation important 2 mark Questions
PPTX
Digital logic circuit I Lab to computer engginner
PDF
Chapter-04.pdf
PPT
Decoder encoder
PPT
SESSION 2.ppt
PDF
Unit-IV(jhfddfghjtdfghhjhgfgCLC) (2).pdf
PDF
Digital Electronics-Unit II.pdf
PPTX
I semester Unit 4 combinational circuits.pptx
PPTX
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital component
Digital Logic Design
AddersIn digital logic design, an adder is a combinational circuit that perfo...
Unit-I11111111111111111111111111111I.pdf
Combinational circuit
B sc3 unit 4 combi..lckt
DCF-Combinational circuit
STLD-Combinational logic design
ATT SMK.pptx
Digital Principles and computer Organisation important 2 mark Questions
Digital logic circuit I Lab to computer engginner
Chapter-04.pdf
Decoder encoder
SESSION 2.ppt
Unit-IV(jhfddfghjtdfghhjhgfgCLC) (2).pdf
Digital Electronics-Unit II.pdf
I semester Unit 4 combinational circuits.pptx
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx

More from Rai University (20)

PDF
Brochure Rai University
PPT
Mm unit 4point2
PPT
Mm unit 4point1
PPT
Mm unit 4point3
PPT
Mm unit 3point2
PPTX
Mm unit 3point1
PPTX
Mm unit 2point2
PPT
Mm unit 2 point 1
PPT
Mm unit 1point3
PPT
Mm unit 1point2
PPTX
Mm unit 1point1
DOCX
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
PPTX
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
PPTX
Bsc agri 2 pae u-4.3 public expenditure
PPTX
Bsc agri 2 pae u-4.2 public finance
PPS
Bsc agri 2 pae u-4.1 introduction
PPT
Bsc agri 2 pae u-3.3 inflation
PPTX
Bsc agri 2 pae u-3.2 introduction to macro economics
PPTX
Bsc agri 2 pae u-3.1 marketstructure
PPTX
Bsc agri 2 pae u-3 perfect-competition
Brochure Rai University
Mm unit 4point2
Mm unit 4point1
Mm unit 4point3
Mm unit 3point2
Mm unit 3point1
Mm unit 2point2
Mm unit 2 point 1
Mm unit 1point3
Mm unit 1point2
Mm unit 1point1
Bdft ii, tmt, unit-iii, dyeing & types of dyeing,
Bsc agri 2 pae u-4.4 publicrevenue-presentation-130208082149-phpapp02
Bsc agri 2 pae u-4.3 public expenditure
Bsc agri 2 pae u-4.2 public finance
Bsc agri 2 pae u-4.1 introduction
Bsc agri 2 pae u-3.3 inflation
Bsc agri 2 pae u-3.2 introduction to macro economics
Bsc agri 2 pae u-3.1 marketstructure
Bsc agri 2 pae u-3 perfect-competition

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
573137875-Attendance-Management-System-original
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPT
Project quality management in manufacturing
PPTX
Construction Project Organization Group 2.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Foundation to blockchain - A guide to Blockchain Tech
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
573137875-Attendance-Management-System-original
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Project quality management in manufacturing
Construction Project Organization Group 2.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
CH1 Production IntroductoryConcepts.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
OOP with Java - Java Introduction (Basics)
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Lecture Notes Electrical Wiring System Components
Foundation to blockchain - A guide to Blockchain Tech

B sc cs i bo-de u-iii combitional logic circuit

  • 1. Basics of Digital Electronics Course: B.Sc.(CS) Sem.:1st
  • 2.  LOGIC CIRCUITS: 1) Combinational 2) Sequential  Combinational logic circuits (circuits without a memory): Combinational switching networks whose outputs depend only on the current inputs.  Sequential logic circuits (circuits with memory): In this kind of network, the outputs depend on the current inputs and the previous inputs. These networks employ storage elements and logic gates.
  • 3. COMBINATIONAL CIRCUITS  Most important standard combinational circuits are: • Adders • Subtractors • Comparators • Decoders • Encoders • Multiplexers Available in IC’s as MSI and used as standard cells in complex VLSI (ASIC)
  • 7. DESIGN OF COMBINATIONAL LOGIC 1. From the specifications of the circuit, determine the number of inputs and outputs 2. Derive the truth table that defines the relationship between the input and the output. 3. Obtain the simplified Boolean function using x- variable K-Map. 4. Draw the logic diagram and verify the correctness of the design.
  • 8. DESIGN OF COMBINATIONAL LOGIC  Example: Design a combinational circuit with three inputs and one output. The output is a 1 when the binary value is less than three.  The output is 0 otherwise.
  • 9. BINARY ADDER – Half Adder Implementation of Half Adder
  • 10. BINARY ADDER - Full Adder
  • 12. Implementation Full Adder with two half Adders
  • 13. 4-BIT FULL ADDER 4 bit Adder
  • 14. Magnitude Comparator  A magnitude comparator is a combinational circuit that compares two numbers, A and B, and then determines their relative magnitudes.  A > B  A = B  A < B  Algorithm Consider two numbers, A and B, with four digits each:  A=A3 A2 A1 A0  B=B3 B2 B1 B0  xi=1 if A=B=0 or A=B=1  xi=AiBi+ Ai’Bi’ for i=0,1,2,3 XNOR  For equality to exist, all xi variables must be equal to 1:  (A=B)=X3 X2 X1 X0 AND Operation
  • 15. Magnitude Comparator  To determine if A is greater than or less than B, we inspect the relative magnitudes of significant digits.  If the two digits are equal, we compare the next lower significant pair of digits. The comparison continues until a pair of unequal digits is reached.  The sequential comparison can be expressed by:
  • 16. DECODERS  A decoder is a combinational circuit that converts binary information  from n input lines to an 2nunique output lines.  Some Applications: a) Microprocessor memory system: selecting different banks of memory. b) Microprocessor I/O: Selecting different devices. c) Memory: Decoding memory addresses (e.g. in ROM). d) Decoding the binary input to activate the LED segments so that the decimal number can be displayed.
  • 17. 3-to-8-line DECODER  If the input corresponds to minterm mi then the decoder ouput i will be the single asserted output.
  • 19. 2-to-4-line DECODER with Enable  The decoder is enabled when E = 0. The output whose value = 0 represents the minterm is selected by inputs A and B.  The decoder is inactive when E=1 D0………D3 =1  A Decoder with enable input is called a decoder/demultiplexer. Demultiplexer receives information from a single line and directs it to the output lines.
  • 20. A 4 x 16 DECODER  When w = 0, the top decoder is enabled and the bottom is disabled.  Top decoder generates 8 minterms 0000 to 0111, while the bottom decoder outputs are 0’s.  When w = 1, the top decoder is disabled and the bottom is enabled.  Bottom decoder generates 8 minterms 1000 to 1111, while the top decoder outputs are 0’s.
  • 22. MULTIPLEXERS/DATA SELECTORS  A multiplexer is a combinational circuit that selects one of many input lines (2n ) and steers it to its single output line. There are (2n ) and n selection lines whose bit combinations determine which input is selected.
  • 23. 4-to-1LINE MULTIPLEXER DESIGN  In general, a 2n –to–1- line multiplexer is constructed from an n–to 2n decoder by adding to 2n it lines, one to each AND gate.
  • 24. References  Digital Logic and Computer Design – M. Morris Mano – Pearson  Fundamentals of Digital Circuits – A. Anand Kumar - PHI  Digital Electronics - Gothmen - PHI  Digital Electronics Principles - Malvino & Leech - MGH  Digital Electronics -Tokneinh - MGH
  • 25. Web References  www.engrcs.com/courses/engr250/engr250lecture.pdf  www.eng.auburn.edu/~strouce/class/elec4200/design  en.wikipedia.org/wiki/Combinational_logic  www.allaboutcircuits.com › ... › Combinational Logic Functions  www.cs.umd.edu/class/sum2003/cmsc311/Notes/Comb /gates.htm