LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.

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.
Computer Science 210 Computer Organization Introduction to Logic Circuits.
Basic Logic Gate Sayed Mahbub Hasan Amiri Dhaka Residential Model College.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
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
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.
Lecture 17: Digital Design Today’s topic –Intro to Boolean functions Reminders –HW 4 due Wednesday 10/8/2014 (extended) –HW 5 due Wednesday 10/15/2014.
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.
Digital Logic Design Week 3
LOGIC GATES.
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.
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.
1 Ethics of Computing MONT 113G, Spring 2012 Session 1 Digital Circuits, binary Numbers Course webpage:
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,
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.
Basic Logic Gates By : Ashima Wadhwa Assistant Professor (giBS)
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
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 
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.
Logic Functions While 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.
Logic gates.
Boolean Algebra & Logic Gates
Basics of Logic gates - Part 1
Logic Gates and Boolean Algebra
Logic Gates.
Boolean Algebra & De Morgan's Theorems
Lab02 :Logic Gate Fundamentals:
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
Basic Digital Logic.
Chapter 2.3 Binary Logic.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Practice #Digital Logic Mr. Burleson
How Boolean logic is implemented
Computer Science 210 Computer Organization
UNIVERSAL GATES.
Logic Gates.
Boolean Algebra.
Logic Gates.
Boolean Logic Boolean Logic is considered to be the basic of digital electronics. We know that a computer’s most basic operation is based on digital electronics.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Binary Logic.
Department of Electronics
Logic Gates AIM: To know the different types of logic gate
Further binary, Logic diagrams and truth tables
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

LOGIC GATES Digital systems are said to be constructed by using logic gates. These gates are the: 1.AND gate 2.OR gate 3.NOT gate 4.NAND gate 5.NOR gate 6.EXOR gate 7.EXNOR gate

LOGIC GATES - 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

LOGIC GATES - 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.

LOGIC GATES - AND 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) A & B are the Input switches C is the Output Truth Table

LOGIC GATES - 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.

LOGIC GATES - 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.

LOGIC GATES - 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. 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. A & B are the Input switches C is the Output Truth Table

LOGIC GATES - 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.

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.

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.

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.

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.

CLASS ACTIVITY 1 A NAND gate can be used as a NOT gate using either of the following wiring configurations. NAND gateNOT gate (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.