Logic Gates.

Slides:



Advertisements
Similar presentations
DAT2343 Basic Logic Gates © Alan T. Pinck / Algonquin College; 2003.
Advertisements

Logic Gates.
CT455: Computer Organization Logic gate
Programmable Logic Controllers.
Computer Systems – Logic Gates Introduce the basic logic gates Introduce truth tables Introduce Boolean algebra (dont panic!) Examples of combining gates.
Logic Gates.
Logic Gates Some Most All Learning Objective
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR, Parity Circuits, Comparators.
Chapter 4 Logic Gates and Boolean Algebra. Introduction Logic gates are the actual physical implementations of the logical operators. These gates form.
In a not gate, if the input is on(1) the output is off (0) and vice versa.
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 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.
Boolean math is the cornerstone of digital communications, whether you are talking computers, PLC, or Cisco Routers on the Internet. ©Emil Decker, 2009.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
Boolean Logic By: Arthur Brooks February 25, 2003 Think, Speak, and Write Computer Science.
Intro to Digital Electronics. Classifications of Electronic Circuits Switching Circuits – by turning electricity on and off. – Figure 1 – Known as the.
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.
Logic gates & Boolean Algebra. Introduction Certain components (called logic elements) of the computer combine electric pulses using a set of rules. Electric.
NOCTI Review Lesson 4 Objectives:
TODAY YOU ARE LEARNING to explain why data is represented in computer systems in binary form 2. to understand and produce simple logic diagrams.
LOGIc gates Lesson Objectives: George Boole, ( )
 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 It’s Only Logical. Logic Gates Are the switches that computers and similar devices use. They hold their state until something changes. Are.
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.
D75P 34R - HNC Computer Architecture Week 6 Boolean Logic © C Nyssen/Aberdeen College 2004 All images © C Nyssen /Aberdeen College unless otherwise stated.
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 “ Logic, like whiskey, loses its beneficial effect when taken in too large quantities “
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=
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,
AND Gate Inputs Output Input A (Switch) Input B (Switch) Output Y (Lamp) 0 (Open) 0 (OFF) A B Lamp.
Department of Preparatory Year, Umm Al Qura University CSCI 240 Digital Logic.
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.
4–1 Gates Let’s examine the processing of the following six types of gates NOT AND OR XOR NAND NOR Typically, logic diagrams are black and white, and the.
Digital Logic. Boolean Algebra to Logic Gates Logic circuits are built from components called logic gates. The logic gates correspond to Boolean operations.
Logic Gates Review. Logic Gates OR gate – 1 if either input is 1 – 0 if they both are 0.
CS 111 – Aug. 27 Section 1.1 –Binary data and operations –Logic gates –Flip-flop –A binary shorthand: hexadecimal Commitment for next day: –Please read.
LOGIC GATES. INTRODUCTION TO LOGIC GATES Boolean functions may be practically implemented by using electronic gates. The following points are important.
Boolean Algebra Learning Objectives Learn that Boolean algebra produces a result that equals TRUE or FALSE Learn how truth tables are used to represent.
Logic gates.
Computer Architecture & Operations I
Basics of Logic gates - Part 1
Lesson Objectives Aims You should be able to:
Department of Preparatory Year, Umm Al Qura University
Logic Gates and Boolean Algebra
Logic Gates.
Logic Gates and Boolean Algebra
LOGIc gates Objectives: George Boole, ( )
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
Agenda – 2/12/18 Questions? Readings: CSI 4, P
Scratch: selection / branching/ if / If…else / compound conditionals / error trapping by Mr. Clausen.
For OCR GCSE Computing Unit 1 - Theory
Logic Gates.
Boolean Algebra.
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.
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.
Logic Gates.
Binary Logic.
Chapter 2 Gates.
Lecture 5 Binary Operation Boolean Logic. Binary Operations Addition Subtraction Multiplication Division.
Truth tables Mrs. Palmer.
Introduction to Logic diagrams and truth tables
Further binary, Logic diagrams and truth tables
Introduction to Logic diagrams and truth tables
DIGITAL ELECTRONICS AND LOGIC GATES. ANALOG SIGNAL:- Analog signal is continuous time varying current or voltage signal.
Presentation transcript:

Logic Gates

What are logic gates? They’re really fun because they’re logic puzzles In the binary lesson, we discussed the switches inside a computer Logic gates are the switches that turn ON or OFF depending on what the user is doing! They are the building blocks for how computers work!!!! Logic gates are to computers as cells are to the human body They’re really fun because they’re logic puzzles

What are logic gates? Logic gates turn ON when a certain condition is true, and OFF when the condition is false In other words, they check whether or not the information they get follows a certain rule They either spit out the answer true (ON) or false (OFF) If the information they are given changes, so does their answer!!

Let’s do an example! ON (they are equal) Logic Gate 5 Let’s say a certain logic gate needs to determine if two numbers are equal If they are equal, it will go into its ON position, indicating true If they are not equal, it will go into its OFF position, indicating false OFF (they are not equal) Logic Gate 5 6

Let’s do an example! 1 1 (ON) 0 (OFF) Logic Gate 1 (ON) BUT we learned before that computers only think of things in terms of ON and OFF, which to them is 1 and 0 So a computer wouldn’t take an input of 5 or 6 – all of the information need to be 0s and 1s Reminder: Input refers to the information you give the logic gate, and output refers to what it spits out! Let’s try this example again, keeping this rule in mind! (OFF) Logic Gate 1 (ON) 0 (OFF)

Types of Logic Gates! We are going to learn about the main types of logic gates! They are NOT, AND, OR, and XOR There are also other ones, such as NAND, NOR, and XNOR that we’re not going to cover . If you want to impress people, tell them you know about Boolean logic – that’s the fancy name for what we’re doing!

NOT NOT gate Input Output NOT is the easiest logic gate! All it does is take in an input that is either ON or OFF It then spits out the opposite! Another name for a NOT gate is inverter NOT gate Input Output

AND AND gate Input 1 Input 2 Output AND is a really important logic gate Unlike NOT, AND needs two inputs It only turns on when both inputs are ON If only one input is on, it spits out OFF If both inputs are off, it spits out OFF AND gate Input 1 Input 2 Output

OR OR gate OR is another really useful logic gate OR is much less picky than AND! OR only needs one input to be ON for it to spit out ON It is also ON when both inputs are ON It is OFF when both inputs are OFF OR gate

XOR XOR gate XOR is the short way to say “Exclusive OR” XOR is a lot like OR, but with one small difference Like OR, XOR also only needs one input to be ON for it to spit out ON BUT unlike OR, when both inputs are ON, XOR spits out OFF It is also OFF when both inputs are OFF XOR gate

Stacking Logic Gates! An output of one logic gate can be an input to another logic gate! This is cool because it creates trees of gates that depend on each other

Let’s Do an Example! NOT NOT 1 1

Example 2! 1 AND NOT 1

Example 3! 1 AND 1 1 XOR 1 1 OR

By the way, logic gates actually look like weird bugs in real life! However, the diagrams we use are easier to understand

Any Questions??