ICS 241 Discrete Mathematics II

Slides:



Advertisements
Similar presentations
Logic Gates.
Advertisements

Other Gate Types COE 202 Digital Logic Design Dr. Aiman El-Maleh
Charles Kime & Thomas Kaminski © 2008 Pearson Education, Inc. (Hyperlinks are active in View Show mode) Chapter 2 – Combinational Logic Circuits Part 3.
topics Logic gates Gates types Universal gates
Combinational Circuits
Morgan Kaufmann Publishers
Chapter 4 Gates and Circuits.
Section 10.3 Logic Gates.
9/19/06 Hofstra University – Overview of Computer Science, CSC005 1 Chapter 4 Gates and Circuits.
TDC 311 Digital Logic. Truth Tables  AND  OR  NOT  NAND  NOR  XOR  XNOR.
Lecture 3. Boolean Algebra, Logic Gates
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.
Module #23 – Boolean Algebra 1 Chapter 11 Boolean Algebra Rosen 6 th ed., ch. 11.
GK-12 Student designed project (AP physics) Digital logic and Boolean algebra exercise. IC logic gates brought from Stevens were used in making simple.
Additional Gates BIL- 223 Logic Circuit Design Ege University Department of Computer Engineering.
Lecture 3. Boolean Algebra, Logic Gates Prof. Sin-Min Lee Department of Computer Science 2x.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
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.
CPS120: Introduction to Computer Science
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
Quiz What are the results of the following 4-bit bitwise logical operations? NOT OR NOR AND
EE2420 – Digital Logic Summer II 2013 Hassan Salamy Ingram School of Engineering Texas State University Set 4: Other Gates.
Dr. Eng. Farag Elnagahy Office Phone: King ABDUL AZIZ University Faculty Of Computing and Information Technology CPCS 222.
Logic Gates. Outline  Logic Gates  The Inverter  The AND Gate  The OR Gate  The NAND Gate  The NOR Gate  The XOR Gate  The XNOR Gate  Drawing.
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.
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.
4. Computer Maths and Logic 4.2 Boolean Logic Logic Circuits.
Logic Design CS 270: Mathematical Foundations of Computer Science Jeremy Johnson.
Linear Algebra. Circuits The circuits in computers and other input devices have inputs, each of which is either a 0 or 1, the output is also 0s and 1s.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 9 Boolean Algebras and Combinatorial Circuits.
Gates & Logic Computer Organization I 1 August 2009 © McQuain, Feng & Ribbens Logic Design Goal:to become literate in most common concepts.
How does a Computer Add ? Logic Gates within chips: AND Gate A B Output OR Gate A B Output A B A B
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices XOR and parity check Circuits.
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.
4–1. BSCS 5 th Semester Introduction Logic diagram: a graphical representation of a circuit –Each type of gate is represented by a specific graphical.
LOGIC CIRCUITLOGIC CIRCUIT. Goal To understand how digital a computer can work, at the lowest level. To understand what is possible and the limitations.
Logic Gates Learning Objectives Learn that there is a one-to-one relationship between logic gates and Boolean expressions Learn how logic gates are combined.
Digital Logic.
Dr.Ahmed Bayoumi Dr.Shady Elmashad
Logic Gates and Logic Circuits
Eng. Mai Z. Alyazji October, 2016
Chapter 11 (Part 1): Boolean Algebra
Combinational Logic Logic gates. and, or, not Derived gates.
Lecture 4 Nand, Nor Gates, CS147 Circuit Minimization and
Overview Part 1 – Logic Circuits and Boolean Functions
Overview Part 1 – Gate Circuits and Boolean Equations
Exclusive OR Gate.
Combinational Circuits
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
DIGITAL LOGIC CIRCUITS
Dr. Clincy Professor of CS
EEL 3705 / 3705L Digital Logic Design
EEL 3705 / 3705L Digital Logic Design
King Fahd University of Petroleum and Minerals
Boolean Algebra.
Discrete Mathematics CS 2610
Lecture 20: Combinatorial Circuits I
Logic Gates.
GCSE Computer Science – Logic Gates & Boolean Expressions
DIGITAL ELECTRONICS B.SC FY
Chapter 10.3 and 10.4: Combinatorial Circuits
Logic Circuits I Lecture 3.
Department of Electronics
Chapter 11 (Part 2): Boolean Algebra
Introduction to Logic diagrams and truth tables
Agenda Lecture Content: Combinatorial Circuits Boolean Algebras
Presentation transcript:

ICS 241 Discrete Mathematics II William Albritton, Information and Computer Sciences Department at University of Hawai’i at Manoa For use with Kenneth H. Rosen’s Discrete Mathematics & Its Applications (5th Edition) Based on slides originally created by Dr. Michael P. Frank, Department of Computer & Information Science & Engineering at University of Florida 11/18/2018

Section 10.3 – Logic Gates Inverter, Or, And gate symbols. Multi-input gates. Logic circuits and examples. 11/18/2018

Logic Gate Symbols x x·y x+y x⊕y Inverter (logical NOT, Boolean complement). AND gate (Boolean product). OR gate (Boolean sum). XOR gate (exclusive-OR, sum mod 2). x x x·y y x x+y y x x⊕y y 11/18/2018

Multi-input AND, OR, XOR x1x2x3 x1 ⋮ x1…x5 x5 Can extend these gates to arbitrarily many inputs. Two commonly seen drawing styles: Note that the second style keeps the gate icon relatively small. x1 x1x2x3 x2 x3 x1 ⋮ x5 x1…x5 11/18/2018

Class Exercise Exercise 3. (p. 718) Each pair of students should use only one sheet of paper while solving the class exercises 11/18/2018

NAND, NOR, XNOR Just like the earlier icons, but with a small circle on the gate’s output. Denotes that output is complemented. The circles can also be placed on inputs. Means, input is complemented before being used. x y x y x y 11/18/2018

Buffer x x What about an inverter symbol without a circle? This is called a buffer. It is the identity function. It serves no logical purpose, but it represents an explicit delay in the circuit. This is sometimes useful for timing purposes. All gates, when physically implemented, incur a non-zero delay between when their inputs are seen and when their outputs are ready. 11/18/2018

Combinational Logic Circuits Note: The correct word to use here is “combinational,” NOT “combinatorial!” Many sloppy authors get this wrong. These are circuits composed of Boolean gates whose outputs depend only on their most recent inputs, not on earlier inputs. Thus these circuits have no useful memory. Their state persists while the inputs are constant, but is irreversibly lost when the input signals change. 11/18/2018

Combinational Circuit Examples Light controlled by two switches Half adder using OR/AND/NOT Full adder from half-adders 11/18/2018

Class Exercise Exercise 19. (p. 718) Each pair of students should use only one sheet of paper while solving the class exercises 11/18/2018