SlideShare a Scribd company logo
23CS901-DIGITAL PRINCIPLES AND
COMPUTER ORGANIZATION
UNIT-1
COMBINATIONAL LOGIC
Presented by
Dr.D.AMARNATH
Assistant Professor/ECE
NPRCET, Dindigul
INTRODUCTION
The digital system consists of two types of circuits, namely
 Combinational circuits
 Sequential circuits
Sequential Logic Circuit
 Sequential logic circuit comprises both logic gates and the state of storage elements such
as flip-flops.
 As a consequence, the output of a sequential circuit depends not only on present value of
inputs but also on the past state of inputs
Combinational Circuit
 Combinational circuit consists of logic gates whose output at any time is determined from
the present combination of inputs.
 The logic gate is the most basic building block of combinational logic.
 The logical function performed by a combinational circuit is fully defined by a set of
Boolean expressions.
DESIGN PROCEDURE
Any combinational circuit can be designed by the following steps of design procedure.
 1. The problem is stated.
 2. Identify the input and output variables.
 3. The input and output variables are assigned letter symbols.
 4. Construction of a truth table to meet input -output requirements.
 5. Writing Boolean expressions for various output variables in terms of input variables.
 6. The simplified Boolean expression is obtained by any method of minimization—
algebraic method, Karnaugh map method, or tabulation method.
 7. A logic diagram is realized from the simplified Boolean expression using logic gates.
PROBLEMS
1. Design a combinational circuit with three inputs and one output. The output is
1 when the binary value of the inputs is less than 3. The output is 0 otherwise.
Solution:
Truth Table:
x y z F
0 0 0 1
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 0
1 1 0 0
1 1 1 0
K-map Simplification:
Logic Diagram:
The combinational circuit can be drawn as,
2. Design a combinational circuit with three inputs, x, y and z, and the three outputs, A, B, and
C. when the binary input is 0, 1, 2, or 3, the binary output is one greater than the input. When
the binary input is 4, 5, 6, or 7, the binary output is one less than the input.
Solution:
Truth Table:
x y z A B C
0 0 0 0 0 1
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 0 1 1
1 0 1 1 0 0
1 1 0 1 0 1
1 1 1 1 1 0
K-map for output A:
The simplified expression from the map is: A= xz+ xy+ yz
LOGIC DIAGRAM
23CS901Digital principles and computer organization
K-map for output B:
The simplified expression from the map is: B= x’y’z+ x’yz’+ xy’z’+ xyz
LOGIC DIAGRAM
K-map for output C:
The simplified expression from the map is: C=z’
LOGIC DIAGRAM
ARITHMETIC CIRCUITS
 combinational logic building blocks that can be used to perform addition and subtraction
operations on binary numbers.
 The basic building blocks that form the basis of all hardware used to perform the
arithmetic operations on binary numbers are half-adder, full adder, half-subtractor, full-
subtractor.
Half-Adder:
 A half-adder is a combinational circuit that can be used to add two binary bits.
 It has two inputs that represent the two bits to be added and two outputs, with one
producing the SUM output and the other producing the CARRY.
TRUTH TABLE:
K-map simplification:
Inputs Outputs
A B Sum (S) Carry
(C)
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
LOGIC DIAGRAM
FULL-ADDER
 A full adder is a combinational circuit that forms the arithmetic sum of three input bits.
 It consists of three inputs and two outputs.
 Two of the input variables, represent the significant bits to be added.
 The third input represents the carry from previous lower significant position.
TRUTH TABLE
K-Map Simplification
Inputs Outputs
A B Cin Sum (S) Carry (Cout)
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
 The Boolean expressions for the SUM and CARRY outputs are given by the eqns.
Carry, Cout= AB+ ACin + BCin .
Logic Diagram

More Related Content

PPTX
Combinational circuit.pptx
PPTX
Combinational circuit.pptx
PPTX
UNIT - II.pptx
PPTX
Chapter 4: Combinational Logic
PPTX
DIGITAL ELECTRONICS :UNIT-II-COMBINATIONAL CIRCUIT DESIGN
PPTX
Digital electronics-COMBINATIONAL CIRCUIT DESIGN
PPT
Binary parallel adder, decimal adder
PDF
Combinational and sequential logic
Combinational circuit.pptx
Combinational circuit.pptx
UNIT - II.pptx
Chapter 4: Combinational Logic
DIGITAL ELECTRONICS :UNIT-II-COMBINATIONAL CIRCUIT DESIGN
Digital electronics-COMBINATIONAL CIRCUIT DESIGN
Binary parallel adder, decimal adder
Combinational and sequential logic

Similar to 23CS901Digital principles and computer organization (20)

DOCX
cs 3351 dpco
PDF
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
PPTX
Combinational circuit
PPT
Lecturer mid.ppt
PDF
Chapter-04.pdf
PDF
C–Analysis and Design Procedures–Binary Adder-Subtractor
PPT
combinational-circuit (1).ppt
PPT
Digital Logic Design
PDF
Computer Organization And Architecture lab manual
PPTX
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
PPTX
Chapter_One.pptx of computer organization and
PPTX
combinational logic circuits and its application.
PDF
Unit-I11111111111111111111111111111I.pdf
PDF
Unit-IV(jhfddfghjtdfghhjhgfgCLC) (2).pdf
PPTX
Essentials of Combinational Circuits. PPTX
DOC
Digital electronics lab
PPT
Adder and subtrctor DLD
PDF
Arithmetic and logic unit
PPTX
Introduction of Combinational logic circuits & half adder
PPTX
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
cs 3351 dpco
Digital Electronics (EC8392) UNIT-II -PPT-S.SESHA VIDHYA/ ASP/ECE
Combinational circuit
Lecturer mid.ppt
Chapter-04.pdf
C–Analysis and Design Procedures–Binary Adder-Subtractor
combinational-circuit (1).ppt
Digital Logic Design
Computer Organization And Architecture lab manual
DLD Lecture No 18 Analysis and Design of Combinational Circuit.pptx
Chapter_One.pptx of computer organization and
combinational logic circuits and its application.
Unit-I11111111111111111111111111111I.pdf
Unit-IV(jhfddfghjtdfghhjhgfgCLC) (2).pdf
Essentials of Combinational Circuits. PPTX
Digital electronics lab
Adder and subtrctor DLD
Arithmetic and logic unit
Introduction of Combinational logic circuits & half adder
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
Ad

Recently uploaded (20)

PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Sustainable Sites - Green Building Construction
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
introduction to datamining and warehousing
PDF
PPT on Performance Review to get promotions
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
OOP with Java - Java Introduction (Basics)
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPTX
additive manufacturing of ss316l using mig welding
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
bas. eng. economics group 4 presentation 1.pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Sustainable Sites - Green Building Construction
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Current and future trends in Computer Vision.pptx
Lecture Notes Electrical Wiring System Components
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
introduction to datamining and warehousing
PPT on Performance Review to get promotions
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Operating System & Kernel Study Guide-1 - converted.pdf
OOP with Java - Java Introduction (Basics)
R24 SURVEYING LAB MANUAL for civil enggi
CYBER-CRIMES AND SECURITY A guide to understanding
additive manufacturing of ss316l using mig welding
Ad

23CS901Digital principles and computer organization

  • 1. 23CS901-DIGITAL PRINCIPLES AND COMPUTER ORGANIZATION UNIT-1 COMBINATIONAL LOGIC Presented by Dr.D.AMARNATH Assistant Professor/ECE NPRCET, Dindigul
  • 2. INTRODUCTION The digital system consists of two types of circuits, namely  Combinational circuits  Sequential circuits Sequential Logic Circuit  Sequential logic circuit comprises both logic gates and the state of storage elements such as flip-flops.  As a consequence, the output of a sequential circuit depends not only on present value of inputs but also on the past state of inputs
  • 3. Combinational Circuit  Combinational circuit consists of logic gates whose output at any time is determined from the present combination of inputs.  The logic gate is the most basic building block of combinational logic.  The logical function performed by a combinational circuit is fully defined by a set of Boolean expressions.
  • 4. DESIGN PROCEDURE Any combinational circuit can be designed by the following steps of design procedure.  1. The problem is stated.  2. Identify the input and output variables.  3. The input and output variables are assigned letter symbols.  4. Construction of a truth table to meet input -output requirements.  5. Writing Boolean expressions for various output variables in terms of input variables.  6. The simplified Boolean expression is obtained by any method of minimization— algebraic method, Karnaugh map method, or tabulation method.  7. A logic diagram is realized from the simplified Boolean expression using logic gates.
  • 5. PROBLEMS 1. Design a combinational circuit with three inputs and one output. The output is 1 when the binary value of the inputs is less than 3. The output is 0 otherwise. Solution: Truth Table: x y z F 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 0
  • 6. K-map Simplification: Logic Diagram: The combinational circuit can be drawn as,
  • 7. 2. Design a combinational circuit with three inputs, x, y and z, and the three outputs, A, B, and C. when the binary input is 0, 1, 2, or 3, the binary output is one greater than the input. When the binary input is 4, 5, 6, or 7, the binary output is one less than the input. Solution: Truth Table: x y z A B C 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 1 0 0 0 1 1 1 0 1 1 0 0 1 1 0 1 0 1 1 1 1 1 1 0
  • 8. K-map for output A: The simplified expression from the map is: A= xz+ xy+ yz LOGIC DIAGRAM
  • 10. K-map for output B: The simplified expression from the map is: B= x’y’z+ x’yz’+ xy’z’+ xyz LOGIC DIAGRAM
  • 11. K-map for output C: The simplified expression from the map is: C=z’ LOGIC DIAGRAM
  • 12. ARITHMETIC CIRCUITS  combinational logic building blocks that can be used to perform addition and subtraction operations on binary numbers.  The basic building blocks that form the basis of all hardware used to perform the arithmetic operations on binary numbers are half-adder, full adder, half-subtractor, full- subtractor. Half-Adder:  A half-adder is a combinational circuit that can be used to add two binary bits.  It has two inputs that represent the two bits to be added and two outputs, with one producing the SUM output and the other producing the CARRY.
  • 13. TRUTH TABLE: K-map simplification: Inputs Outputs A B Sum (S) Carry (C) 0 0 0 0 0 1 1 0 1 0 1 0 1 1 0 1
  • 14. LOGIC DIAGRAM FULL-ADDER  A full adder is a combinational circuit that forms the arithmetic sum of three input bits.  It consists of three inputs and two outputs.  Two of the input variables, represent the significant bits to be added.  The third input represents the carry from previous lower significant position.
  • 15. TRUTH TABLE K-Map Simplification Inputs Outputs A B Cin Sum (S) Carry (Cout) 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
  • 16.  The Boolean expressions for the SUM and CARRY outputs are given by the eqns. Carry, Cout= AB+ ACin + BCin . Logic Diagram