WORKING PRINCIPLE OF DIGITAL LOGIC

Slides:



Advertisements
Similar presentations
Logic Gates A logic gate is an elementary building block of a digital circuit Most logic gates have two inputs and one output At any given moment, every.
Advertisements

CT455: Computer Organization Logic gate
التصميم المنطقي Second Course
LOGIC GATES ADDERS FLIP-FLOPS REGISTERS Digital Electronics Mark Neil - Microprocessor Course 1.
Chapter 4 Gates and Circuits.
Section 10.3 Logic Gates.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Lecture 3. Boolean Algebra, Logic Gates
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Logic Gates Combinational Circuits
CS 105 Digital Logic Design
XOR, XNOR, and Binary Adders
22C:19 Discrete Math Boolean Algebra & Digital Logic Fall 2010 Sukumar Ghosh.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Binary Numbers.
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
P. 4.1 Digital Technology and Computer Fundamentals Chapter 4 Digital Components.
1 The Chinese University of Hong Kong Faculty of Education Diploma in Education (Part-Time) Winter 1997 Educational Communications and Technology Assignment.
Computer Organization 1 Logic Gates and Adders. Propositions –Venn Diagrams.
The Digital Logic Level
Digital Computer Concept and Practice Copyright ©2012 by Jaejin Lee Logic Circuits I.
1 DIGITAL ELECTRONICS. 2 OVERVIEW –electronic circuits capable of carrying out logical (boolean) and arithmetic operations on information stored as binary.
Module 9.  Digital logic circuits can be categorized based on the nature of their inputs either: Combinational logic circuit It consists of logic gates.
Logic Gates Logic gates are electronic digital circuit perform logic functions. Commonly expected logic functions are already having the corresponding.
Logic Gates Shashidhara H S Dept. of ISE MSRIT. Basic Logic Design and Boolean Algebra GATES = basic digital building blocks which correspond to and perform.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
WELCOME. LOGIC GATE WHAT WE ARE GOING TO LEARN? The Logic Gate. Analogue and Digital signal. Bit and Byte. Boolean Theorem. Description and Circuit analyses.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Digital Logic. 2 Abstractions in CS (gates) Basic Gate: Inverter IO IO GNDI O Vcc Resister (limits conductivity) Truth Table.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Universal college of engineering & technology. .By Harsh Patel)
1 Ethics of Computing MONT 113G, Spring 2012 Session 5 Binary Addition.
Lecture 4 Introduction to Boolean Algebra. Binary Operators In the following descriptions, we will let A and B be Boolean variables and define a set of.
Logic Gates. A logic gate is an elementary building block of a digital circuit. Most logic gates have two inputs and one output. At any given moment,
Combinational Circuits
Digital Computers Logic Gates & Applications. Digital Computers Types of Material (Electric Conductivity) – Insulator Rubber / wood – Conductor Copper.
COMPUTER ARCHITECTURE & OPERATIONS I Instructor: Yaohang Li.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
Boolean Algebra and Computer Logic Mathematical Structures for Computer Science Chapter 7 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Boolean Logic.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
1 Review of Boolean algebra Not is a horizontal bar above the number –0 = 1 –1 = 0 Or is a plus –0+0 = 0 –0+1 = 1 –1+0 = 1 –1+1 = 1 And is multiplication.
Appendix C Basics of Logic Design. Appendix C — Logic Basic — 2 Logic Design Basics §4.2 Logic Design Conventions Objective: To understand how to build.
Boolean Algebra & Logic Gates
DIGITAL LOGIC CIRCUITS
Computer Architecture CST 250
DIGITAL LOGIC CIRCUITS
Fundamentals & Ethics of Information Systems IS 201
Reading: Hambley Chapters
Chapter 4 Gates and Circuits.
Fundamentals of Computer Science Part i2
Digital Electronics & Logic Design
Schematics 201 Lecture Topic: Electrical Symbols
Boolean Algebra.
Week 7: Gates and Circuits: PART II
Digital Logic.
Logic Gates.
13 Digital Logic Circuits.
GCSE Computer Science – Logic Gates & Boolean Expressions
Digital Logic.
DIGITAL ELECTRONICS B.SC FY
Combinational Circuits
Logic Circuits I Lecture 3.
Binary Logic.
XOR, XNOR, and Binary Adders
XOR Function Logic Symbol  Description  Truth Table 
ECE 352 Digital System Fundamentals
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

WORKING PRINCIPLE OF DIGITAL LOGIC CHAPTER - 4 WORKING PRINCIPLE OF DIGITAL LOGIC A logic gate is an elementary building block of a digital circuit. It is a circuit with one output and one or more inputs. At any given moment, logic gate takes one of the two binary conditions low (0) or high (1), represented by different voltage levels. A voltage level will represent each of the two logic values. For example +5V might represent a logic 1 and 0V might represent a logic 0

FUNDAMENTAL LOGIC GATES CHAPTER - 4 FUNDAMENTAL LOGIC GATES AND OR NOT UNIVERSAL LOGIC GATES NAND NOR OTHER GATES XOR XNOR

LOGIC GATES

BUBBLED AND GATE

Bubbled AND Gate truth table A B C 0 0 1 0 1 0 1 0 0 1 1 0 You can see that, a bubbled AND gate produces the same output as a NOR gate. So, you can replace each NOR gate by a bubbled AND gate. In other words the circuits are interchangeable. Therefore ( A + B ) = A . B which establishes the De Morgan’s first theorem.

Bubbled OR gate

Conversion of Boolean Expression Truth table lists all the values of the boolean function for each set of values of the variables. Now we will obtain a truth table for the following boolean function D = (A · B) + C Clearly, D is a function of three input variables A, B, and C. Hence the truth table will have 2 to the power 3 = 8 entries, from 000 to 111. Before determining the output D in the table, we will compute the various intermediate terms like A · B and C as shown in the table below. For instance, if A = 0, B = 0 and C = 0 then D = ( A . B ) + C = ( 0 . 0 ) + 0 = 0 + 0 = 0 + 1 = 1 Here we use the hierarchy of operations of the boolean operators NOT, AND and OR over the parenthesis. The truth table for the boolean function is

Converting a Boolean Equation to a Logic Circuit The boolean function is realized as a logic circuit by suitably arranging the logic gates to give the desired output for a given set of input. Any boolean function may be realized using the three logical operations NOT, AND and OR. Using gates we can realize boolean function. Now we will draw the logic circuit for the boolean function. E = A + ( B · C ) + D This boolean function has four inputs A, B, C, D and an output E. The output E is obtained by ORing the individual terms given in the right side of the boolean function. That is, by ORing the terms A, ( B · C ) and D.

Converting a Logic Circuit to a Boolean Function As a reversal operation, the realization of the logic circuit can be expressed as a boolean function. Let us formulate an expression for the output in terms of the inputs for the given the logic circuit

Result

ADDERS The circuit that performs addition within the Arithmetic and Logic Unit of the CPU are called adders.

HALF ADDER & FULL ADDER A unit that adds two binary digits is called a half adder and the one that adds together three binary digits is called a full adder.

The Flip-Flop A flip flop is a circuit which is capable of remembering the value which is given as input. Hence it can be used as a basic memory element in a memory device. These circuits are capable of storing one bit of information. Basic flip-flops A flip-flop circuit can be constructed using either two NOR gates or two NAND gates. By cross-coupling two NOR or NAND gates, the basic operation of a flip-flop could be demonstrated. In this circuit the outputs are fed back again to inputs.

CROSS COUPLING

PRACTICAL CONTINUES END