LOGIC GATES.

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

Logic Gates.
Digital logic gates.
CT455: Computer Organization Logic gate
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Programmable Logic Controllers.
Basic Logic Gate Sayed Mahbub Hasan Amiri Dhaka Residential Model College.
Programmable Logic Controllers
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
Boolean Algebra and Truth Table The mathematics associated with binary number system (or logic) is call Boolean: –“0” and “1”, or “False” and “True” –Calculation.
DIGITAL CIRCUITS Dr. L M Head Sophomore Clinic Fall 2004.
In this module you will learn: What the various logic gates do. How to represent logic gates on a circuit diagram. The truth tables for the logic gates.
Logic Gates Circuits to manipulate 0’s and 1’s. 0’s and 1’s used for numbers Also to make decisions within the computer. In that context, 1 corresponds.
Logic Circuits In today’s lesson we will look at: the symbols for NOT, AND, OR and EOR using truth tables to represent logic circuits two new operators.
Mastering Logic Gates and Truth Tables
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
UNIT-8 LOGIC GATES.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
MR. KERINS Logic Gates- Electrical Engineering. LOGIC GATES Logic gates are primarily implemented using diodes or transistors acting as electronic switches,
Module 3.  Binary logic consists of :  logic variables  designated by alphabet letters, e.g. A, B, C… x, y, z, etc.  have ONLY 2 possible values:
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
Digital Electronics. Introduction to Number Systems & Codes Digital & Analog systems, Numerical representation, Digital number systems, Binary to Decimal.
Introduction Each logical element or condition must always have a logic value of either "0" or "1", we also need to have ways to combine different logical.
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
Computer Science 210 Computer Organization Introduction to Boolean Algebra.
Digital Logic Design Week 3
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.
4. Electrons and electronics 4.5 Digital electronics.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
Exclusive OR Gate. Logically, the exclusive OR (XOR) operation can be seen as either of the following operations:exclusive OR (XOR) 1. A AND NOT B OR.
LOGIC GATES AND CIRCUITS Digital systems are said to be constructed by using logic gates. These gates are the AND, OR, NOT, NAND, NOR, EXOR and EXNOR gates.
Basic Gates 3.1 Basic Digital Logic: NAND and NOR Gates ©Paul Godin Created September 2007 Last Update Sept 2009.
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Basic Digital Logic: NAND and NOR Gates Technician Series ©Paul Godin Last Update Dec 2014.
1 EENG 2710 Chapter 2 Algebraic Methods For The Analysis and Synthesis of Logic circuits.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
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,
Module 7.  In Module 3 we have learned about NAND gate – it is a combination of AND operation followed by NOT operation  Symbol A. B = Y  Logic Gate.
BOOLEAN ALGEBRA LOGIC GATES. Introduction British mathematician George Boole( ) was successful in finding the link between logic and mathematics.
The inverter performs the Boolean NOT operation. When the input is LOW, the output is HIGH; when the input is HIGH, the output is LOW. The Inverter AX.
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
1’S COMPLEMENT REPRESENTATION 1’s complement of a number (binary) is obtained by changing all 1’s to 0 and all 0’s to 1. If one of these numbers is positive.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Digital Logic Design Ch1-1. Digital Logic Design Ch1-2 Introduction to digital logic (logic gates, flip-flops, circuits) Definition of Digital Logic 
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
DATA REPRESENTATION IN COMPUTER MEMORY.  Describe the coding system:  Sign and magnitude  1’s Complement and 2’s Complement  Binary Coded Decimal.
11/20/2016SKD1 Logic gates. 11/20/2016SKD2 Logic gates Prepared By: Rashidul Islam Instructor (Civil Construction) Deptt. Of S S C Vocational Alamdanga.
Hoda Roodaki Boolean Algebra Hoda Roodaki
Logic gates.
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Logic Gates and Boolean Algebra
Chapter 3 Notes – Part II Review Questions
Logic Gates.
Computer Science 210 Computer Organization
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Computer Science 210 Computer Organization
Computer Science 210 Computer Organization
Logic Gates.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Binary Logic.
Department of Electronics
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
ATS’s COLLEGE OF ENGINEERING, MIRAJ Subject:- Basic Electronics Lecturer:- Amit Totade.
Course Title : Digital Electronics -1 Course No.: 6841 Course Teacher:Engr: Suvadra Chowdhury Chief Instructor Chittagong Mohila –Polytechnic Institute.
Presentation transcript:

LOGIC GATES

INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important to understand. Electronic gates require a power supply. Gate INPUTS and OUTPUTS are driven by voltages having two nominal values, e.g. 0V and 5V representing logic 0 and logic 1 respectively. There is always a time delay between an input being applied and the output responding.

COMPUTER ARCHITECTURE Truth tables are used to help show the function of a logic gate. Truth tables help understand the behaviour of logic gates. They show how the input(s) of a logic gate relate to its output(s). The gate input(s) are shown in the left column(s) of the table with all the different possible input combinations. This is normally done by making the inputs count up in binary. The gate output(s) are shown in the right hand side column.

COMPUTER ARCHITECTURE Truth Table Diagram                                                                       

Create a truth tables for the following circuits, that have: Creating TRUTH TABLES Questions: Create a truth tables for the following circuits, that have: 2 inputs 3 inputs 4 inputs

Digital systems are said to be constructed by using logic gates. These gates are the: AND gate OR gate NOT gate NAND gate NOR gate EXOR gate EXNOR gate Basic Logic Gates

BASIC LOGIC GATE - AND The AND gate is an electronic circuit that gives a high output (1) only if all its inputs are high.   A dot (.) is used to show the AND operation i.e. A.B.  Bear in mind that this dot is sometimes omitted i.e. AB

BASIC LOGIC GATE - AND In this animated AND Logic example of Doors Opening and Closing, you can see that in order for the "Light" to get through the house, the front door AND the back door must be Open. 

BASIC LOGIC GATE - AND Truth Table A & B are the Input switches C is the Output                                    In order for the Output of an AND Logical Function to be TRUE: input (1) AND input (2) must both be TRUE.  This is Positive Logic. Using the Same Function --It is also correct to say: If either input (1) OR input (2) (or both) is NOT TRUE the Output Will be FALSE. This is Negative Logic. Hint: TRUE is when the switch is closed,  applying power to the LED.  FALSE is when the switch is open,  NOT applying power to the LED)

BASIC LOGIC GATE - OR The OR gate is an electronic circuit that gives a high output (1) if one or more of its inputs are high.  A plus (+) is used to show the OR operation.                                   

BASIC LOGIC GATE - OR In this animated OR Logic example, you can see that in order to get light through the house: the left front door OR the right front door (or both) must be Open.                                     Same example: in order to block the light through the house: the left front door AND the right front door must be Closed.

BASIC LOGIC GATE - OR In order for the Output of an OR Logical Function to be TRUE: either  input (1) OR input (2) (or both) must be TRUE.  This is Positive Logic.   Truth Table A & B are the Input switches C is the Output Using the Same Function --It is also correct to say: In order for the Output to be FALSE: input (1) AND input (2) must both be FALSE. This is Negative Logic.

BASIC LOGIC GATE - NOT The NOT gate is an electronic circuit that produces an inverted version of the input at its output.  It is also known as an inverter.  If the input variable is A, the inverted output is known as NOT A.  This is also shown as A', or A with a bar over the top, as shown at the outputs.

Activity Draw the circuit and truth tables for the following logical expressions that output to ‘O’: (CD)’ A + (A + B) AB + BC C’ + BC (A+D)(AD)’ A’B’(A + B)(B + B) (A + C)(A’D + AD) + AC + C’ A(A + B) + (B + (AA)’)(A + B)

LOGIC GATES - NAND This is a NOT-AND gate which is equal to an AND gate followed by a NOT gate.  The outputs of all NAND gates are high if any of the inputs are low. The symbol is an AND gate with a small circle on the output. The small circle represents inversion. Activity: Draw a circuit that shows how the NAND gate would be drawn using ONLY the basic logic gates.

LOGIC GATES - NOR This is a NOT-OR gate which is equal to an OR gate followed by a NOT gate.  The outputs of all NOR gates are low if any of the inputs are high. The symbol is an OR gate with a small circle on the output. The small circle represents inversion. Activity: Draw a circuit that shows how the NOR gate would be drawn using ONLY the basic logic gates.

LOGIC GATES - EXOR The 'Exclusive-OR' gate is a circuit which will give a high output if either, but not both, of its two inputs are high.  An encircled plus sign ( ) is used to show the EOR operation. Activity: Draw a circuit that shows how the EXOR gate would be drawn using ONLY the basic logic gates.

LOGIC GATES - EXNOR The 'Exclusive-NOR' gate circuit does the opposite to the EOR gate. It will give a low output if either, but not both, of its two inputs are high. The symbol is an EXOR gate with a small circle on the output. The small circle represents inversion. Activity: Draw a circuit that shows how the EXNOR gate would be drawn using ONLY the basic logic gates.

CLASS ACTIVITY 1 A NAND gate can be used as a NOT gate using either of the following wiring configurations.                                                                             (Check this out using a truth table.)

CLASS ACTIVITY 2 Draw the circuit diagrams to show how a NOR gate can be made into a NOT gate.

CLASS ACTIVITY 2 Draw the circuit diagrams to show how a NOR gate can be made into a NOT gate.

COMPUTER ARCHITECTURE Drawing Truth Tables for Combined Gates Truth tables can also help understand the behaviour of combinations of logic gates linked together. They are drawn in the same way as before but this time adding more columns in between the input and output columns. Each of the new columns show the outputs of stages in the logic circuit. The following example shows the steps for drawing up a truth table for a combined gate.