Digital Logic. December 0s and 1s As we have already considered, a computer operates on 0’s and 1’s Why? Because the power on a line.

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.
Logic Gates.
CT455: Computer Organization Logic gate
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
1 4. Computer Maths and Logic 4.2 Boolean Logic Boolean Operators.
Digital Electronics Dan Simon Cleveland State University ESC 120 Revised December 30, 2010.
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.
Computer Architecture and Hardware Introduction and revision Slides heavily based on Adrian Shaw’s material.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
LOGIC GATES Logic generally has only 2 states, ON or OFF, represented by 1 or 0. Logic gates react to inputs in certain ways. Symbol for AND gate INPUT.
XOR and XNOR Logic Gates. XOR Function Output Y is TRUE if input A OR input B are TRUE Exclusively, else it is FALSE. Logic Symbol  Description  Truth.
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
1 Boolean Algebra & Logic Gates. 2 Objectives Understand the relationship between Boolean logic and digital computer circuits. Learn how to design simple.
 In studying digital integrated circuits, one must start with the simplest group of circuit, the SSIs or Small Scale Integrated Circuits. Since these.
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.
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.
5 - Digital Logic with Boolean Algebra
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Logic Gates. AND gate Produces an output only if both inputs are on Input AInput BOutput (Q) Q=
Department of Preparatory Year, Umm Al Qura University CSCI 240 Digital Logic.
NAND, NOR, and EXOR (more primitive logical gates) CS Computer Architecture David Mayer.
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.
Logic Gates and Boolean Algebra Introduction to Logic II.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
L OGIC G ATES Computer Organization – week 3. W HAT ’ S ALU? 1. ALU stands for: Arithmetic Logic Unit 2. ALU is a digital circuit that performs Arithmetic.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
Week 1: Introduction and Logic gates IT3002 – Computer Architecture
Unit 1 Logical operators.
Digital Logic.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates Benchmark Companies Inc PO Box Aurora CO
EI205 Lecture 5 Dianguang Ma Fall 2008.
Exclusive OR Gate.
Basic Logical Operations (Fascinating)
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Practice #Digital Logic Mr. Burleson
Schematics 201 Lecture Topic: Electrical Symbols
Waveforms & Timing Diagrams
Week 7: Gates and Circuits: PART II
Fundamentals of Computer Systems
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
Today You are Learning simple logic diagrams using the operations AND, OR and NOT truth tables combining Boolean operators using AND, OR and NOT.
Binary Logic.
Chapter 4 Gates and Circuits.
Logic Gates Logic Gates Gateway To Technology
XOR Function Logic Symbol  Description  Truth Table 
Truth tables Mrs. Palmer.
Department of Electronics
Logic Gates AIM: To know the different types of logic gate
Introduction to Logic diagrams and truth tables
Further binary, Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
What are Logic Gates?.
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

Digital Logic

December 0s and 1s As we have already considered, a computer operates on 0’s and 1’s Why? Because the power on a line can be either off (0) or on (1). We do not consider in-between values! How does a computer carry out calculations on these 0’s and 1’s? It uses logic

December Logic By logic, we mean the process of testing the input on one or more input lines, to produce output on one or more output lines We use the terms AND, OR, NOT, NAND, NOR, and XOR

December AND I will go to the beach, if it is sunny AND it is warm I will not go to the beach if it is sunny, but not warm I will not go to the beach if it is warm, but not sunny I will not go to the beach if it is neither sunny or warm

December AND True False True FalseTrueFalse Go to beachWarmSunny

December AND (Digital logic) Go to beachWarmSunny

December The Truth Table We call this a truth table. It is more usually drawn as follows: ABBA Truth table for AND Note signifies AND

December OR I will go to the beach, if it is sunny OR it is warm I will go to the beach if it is sunny, but not warm I will go to the beach if it is warm, but not sunny (even if it’s raining!) I will not go to the beach if it is neither sunny or warm

December OR True FalseTrue False Go to beachWarmSunny

December OR (Digital logic) Go to beachWarmSunny

December The Truth Table The truth table for OR is as follows: A+BBA Note + signifies OR

December Just like in English! Except, beware: I would like a cup of tea, OR a cup of coffee (but I don’t want both!) This is called the Exclusive OR (XOR) English uses the word OR to signify both the logical OR and the logical XOR ABAB BA

December NOT The simplest of all. It just inverts the input AA We signify NOT by a line over the corresponding letter(s)

December NAND This is simply the opposite of AND ABBA BA

December NOR Similarly, this is the opposite of OR A+BBA BA

December Formal logic  (…)(negation) (…) (not)  (disjunction) + (or)  (conjunction) (and) T (true)1 (true) F (false)0 (false) Formal logicDigital logic

December Logic Gates A logic gate is a device (e.g. on a chip) which takes one or more inputs, performs a logical operation on them (such as AND, OR, etc) and produces an output On a circuit diagram, we have special symbols for these

December Logic Gates ANDNANDNOT ORNORXOR

December Multiple Input Logic Gates All the logic gates on the previous slide, except the NOT gate, may have multiple inputs. What do you think the truth table would be for a three-input AND gate?

December Revision Make sure you know what each gate symbol stands for Know the truth tables for each logic gate Learn the digital logic expressions for each gate