COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Digital logic gates.
CT455: Computer Organization Logic gate
Programmable Logic Controllers.
topics Logic gates Gates types Universal gates
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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.
CSCI 1412 Logic Gates Parminder Kang Home: Phones OFF Please.
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.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
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:
NOCTI Review Lesson 4 Objectives:
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.
Week 6: Gates and Circuits: PART I READING: Chapter 4.
Chapter 33 Basic Logic Gates. 2 Objectives –After completing this chapter, the student should be able to: Identify and explain the function of the basic.
Sneha.  Gates Gates  Characteristics of gates Characteristics of gates  Basic Gates Basic Gates  AND Gate AND Gate  OR gate OR gate  NOT gate NOT.
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 logic gates  AND gate:The truth table is given by A.BBA
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
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,
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
CHAPTER 5 Combinational Logic Analysis
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
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.
MECH 1500 Chapter 4. MECH 1500 The Binary Concept 4.1.
Combinational Logic Analysis. Basic Combinational Logic Circuits AND-OR logic AND-OR logic AND-OR logic produces an SOP expression. AND-OR logic produces.
Chapter 33 Basic Logic Gates. Objectives After completing this chapter, you will be able to: –Identify and explain the function of the basic logic gates.
Digital electronics 4–1 Gates and Circuits SANJAYBHAI RAJGURU COLLEGE OF ENGG.
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.
Boolean Algebra & Logic Gates
Digital Fundamentals Floyd Chapter 3 Tenth Edition
Eng. Mai Z. Alyazji October, 2016
Engr. Micaela Renee Bernardo
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
EI205 Lecture 5 Dianguang Ma Fall 2008.
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Digital Fundamentals Floyd Chapter 3 Tenth Edition
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.
Logic Gates.
KS4 Electricity – Electronic systems
GCSE Computer Science – Logic Gates & Boolean Expressions
Logic Gates.
Truth tables Mrs. Palmer.
Department of Electronics
What are Logic Gates?.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Course Title : Digital Electronics -1 Course No.: 6841 Course Teacher:Engr: Suvadra Chowdhury Chief Instructor Chittagong Mohila –Polytechnic Institute.
Presentation transcript:

COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES

TRUTH TABLES & LOGIC GATES What is a truth table? What is a gate? Concept of AND gate Concept of OR gate Exclusive OR Concept of NOT gate Concept of NAND gate Concept of NOR gate Exclusive NOR

What is a truth table? A truth table is a mathematical table used in logic – specifically in connection with Boolean algebra, Boolean functions etc. Truth tables are used to tell whether a propositional expression is true for all legitimate inputs.

Truth table image Truth tables are used to show the function of a logic gate i.e. inputs and corresponding outputs.

What is a gate? A gate is used to describe a circuit that performs a basic logic operation. The commonest use of logic elements is to act as switches, although they have no moving parts. They open to pass on a pulse of electricity or close to shut it off

Types of gates These are the types of gates they are AND gate OR gate Exclusive OR NOT gate NAND gate NOR gate Exclusive NOR

Symbol of the AND gate Composed of two or more inputs and a single output usually indicated by the respective symbol below.

Concept of the AND gate 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

AND gate TRUTH TABLE

Symbol of the OR gate This has two or more inputs and one output as indicated below;

Concept of the OR gate 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.

OR gate TRUTH TABLE

Symbol of the NOT gate A NOT gate can only have one input. A NOT gate is also called an inverter.

Concept of the NOT gate The NOT gate is an electronic circuit that produces an inverted version of the input at its output.

NOT gate TRUTH TABLE

Concept of the NAND gate The NAND gate is a popular logic element, because it can be used as a universal gate; that is NAND gates can be used in combination to perform the AND, OR, and inverter operations.

Symbol of the NAND gate 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.

NAND gate TRUTH TABLE

Concept of the NOR gate The NOR gate, like the NAND gate, is a useful logic element because it can also be used as a universal gate This means that the NOR gates can be used in combination to perform the AND, OR, and the inverter operations.

Concept of the NOR gate The NOR is a contraction of NOT-OR and implies an OR function with an inverted (complemented) output. The NOR gate produces a LOW output when any of its inputs is HIGH. Only when ALL the inputs are LOW is the output HIGH.

Symbol of NOR gate

NOR gate TRUTH TABLE

Concept of the Exclusive-OR gate The exclusive-OR gate are formed by a combination of other gates. The exclusive-OR is treated as basic logic elements with their own symbols. The exclusive-OR gate has only TWO inputs

Symbol of the Exclusive-OR gate

Concept of the Exclusive-OR gate The output of an exclusive –OR gate is HIGH only when the TWO inputs are at opposite logical levels. This means that when both inputs differ a 1 is given Exclusive-OR gates connected to form an adder circuit allow a computer to perform addition, subtraction, multiplication, and division in the ALU. The Exclusive-OR gate is implemented with the basic logic circuits of AND, OR, AND NOT.

Exclusive-OR gate TRUTH TABLE

Concept of the Exclusive-NOR gate The exclusive-NOR has only TWO inputs. The output is opposite that of the XOR gate. When the TWO inputs logical level are opposite, the output of the XNOR gate is low

Symbol of the Exclusive-NOR gate

Exclusive-NOR gate TRUTH TABLE

TRUTH TABLES AND LOGIC GATES Thank you for watching