Basic Logic Gates and De Morgan's Theorem Discussion D5.1 Appendix D.

Slides:



Advertisements
Similar presentations
Basic Logic Gates Discussion D5.1 Section Sections 13-3, 13-4.
Advertisements

Logic Gates.
Morgan Kaufmann Publishers
Logic Design Fundamentals - 1 Lecture L1.1. Logic Design Fundamentals - 1 Basic Gates Basic Combinational Circuits Basic Sequential Circuits.
CS 151 Digital Systems Design Lecture 11 NAND and XOR Implementations.
CS 151 Digital Systems Design Lecture 7 More Logic Functions: NAND, NOR, XOR.
Basic Digital Design Discussion D2.3. Basic Digital Design Sum of Products Design –Minterms Product of Sums Design –Maxterms.
Basic Gates Discussion D2.1. Basic Gates NOT Gate AND Gate OR Gate XOR Gate NAND Gate NOR Gate XNOR Gate.
Multiplexer as a Universal Function Generator
Logic Design Review – 1 Basic Gates Lecture L14.1 Verilog.
Introduction to Computer Engineering by Richard E. Haskell Basic Logic Gates Module M1.1 Section 3.1.
Basic Gates Verilog Discussion D5.2. Basic Gates NOT Gate AND Gate OR Gate XOR Gate NAND Gate NOR Gate XNOR Gate.
Digital Logic Review Discussion D8.7.
Generalized De Morgan’s Theorem Lecture L5.4 Section 5.1.
Logical Circuit Design Week 5: Combinational Logic Circuits Mentor Hamiti, MSc Office ,
NOCTI Review Lesson 4 Objectives:
LOGIC GATES & TRUTH TABLE – Digital Circuit 1 Choopan Rattanapoka.
Digital Logic Design Week 3
COMPSCI 210 Semester Tutorial 2: Logic Gates.
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.
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
Boolean Logic and Circuits ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
CS203 Discrete Mathematical Structures Logic (2).
COE 202: Digital Logic Design Combinational Logic Part 4
Logic Gates. The Inverter The inverter (NOT circuit) performs the operation called inversion or complementation. Standard logic symbols: 1 1 input output.
Ahmad Almulhem, KFUPM 2010 COE 202: Digital Logic Design Combinational Logic Part 4 Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:
Floyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd Chapter 5 © 2008 Pearson Education.
COMPUTER ARCHITECTURE TRUTH TABLES AND LOGIC GATES.
Chapter-3: BOOLEAN ALGEBRA & LOGIC GATES Analysis and logical design.
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,
CS151 Introduction to Digital Design Chapter 2: Combinational Logic Circuits 2-9 Exclusive-OR Operator and Gates 1Created by: Ms.Amany AlSaleh.
Basic Logic Gates By : Ashima Wadhwa Assistant Professor (giBS)
Logic Gates Chapter 5 Subject: Digital System Year: 2009.
Chapter 5 Boolean Algebra and Reduction Techniques 1.
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.
CSE 461. Binary Logic Binary logic consists of binary variables and logical operations. Variables are designated by letters such as A, B, C, x, y, z etc.
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 Circuits, Digital Component and Data Representation Course: BCA-2 nd Sem Subject: Computer Organization And Architecture Unit-1 1.
11/20/2016SKD1 Logic gates. 11/20/2016SKD2 Logic gates Prepared By: Rashidul Islam Instructor (Civil Construction) Deptt. Of S S C Vocational Alamdanga.
Dr. Ameria Eldosoky Discrete mathematics
Eng. Mai Z. Alyazji October, 2016
Logic Gates and Boolean Algebra
Discussion D5.1 Section Sections 13-3, 13-4
Lecture 2-1 Boolean Algebra
KS4 Electricity – Electronic systems
KS4 Electricity – Electronic systems
Digital Signals Digital Signals have two basic states:
Basic Digital Logic Basic Gates
CS203 Discrete Mathematical Structures
Boolean Algebra & Logic Circuits
Logic Gates.
Boolean Algebra.
KS4 Electricity – Electronic systems
13 Digital Logic Circuits.
Gates Type AND denoted by X.Y OR denoted by X + Y NOR denoted by X + Y
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 4) Hasib Hasan
Discussion D5.1 Section Sections 13-3, 13-4
Logic Gates.
Discussion D5.1 Section Sections 13-3, 13-4
Basic Logic Gates.
Chapter 2 Gates.
Basic Logic Gates.
Basic Logic Operations
Eng. Ahmed M Bader El-Din October, 2018
Course Title : Digital Electronics -1 Course No.: 6841 Course Teacher:Engr: Suvadra Chowdhury Chief Instructor Chittagong Mohila –Polytechnic Institute.
Presentation transcript:

Basic Logic Gates and De Morgan's Theorem Discussion D5.1 Appendix D

Basic Logic Gates and Basic Digital Design NOT, AND, and OR Gates NAND and NOR Gates XOR and XNOR Gates DeMorgan’s Theorem

NOT Gate -- Inverter X Y Behavior: The output of a NOT gate is the inverse (one’s complement) of the input

Y = ~X (Verilog) Y = !X (ABEL) Y = not X (VHDL) Y = X’ Y = X Y = X (textook) not(Y,X) (Verilog) NOT

X~X~~X = X X ~X ~~X

AND Gate AND X Y Z Z = X & Y X Y Z

X & Y (Verilog and ABEL) X and Y (VHDL) X Y X * Y XY(textbook) and(Z,X,Y)(Verilog) AND U V

OR Gate OR X Y Z Z = X | Y X Y Z

OR X | Y(Verilog) X # Y(ABEL) X or Y(VHDL) X + Y(textbook) X V Y X U Y or(Z,X,Y) (Verilog)

Y = ~X not(Y,X) Summary of Basic Gates NOT X Y X Y Z XY X Y Z AND OR X Y Z X Y Z Z = X & Y and(Z,X,Y) Z = X | Y or(Z,X,Y) Any logic circuit can be created using only these three gates

Basic Logic Gates and Basic Digital Design NOT, AND, and OR Gates NAND and NOR Gates XOR and XNOR Gates DeMorgan’s Theorem

NAND Gate NAND X Y Z X Y Z Z = ~(X & Y) nand(Z,X,Y)

NAND Gate NOT-AND X Y Z W = X & Y Z = ~W = ~(X & Y) X Y W Z W

2-Input NAND Gate NAND X Y Z Z = ~(X & Y) nand(Z,X,Y) X Y Z

NOR Gate NOR X Y Z X Y Z Z = ~(X | Y) nor(Z,X,Y)

NOR Gate NOT-OR X Y W = X | Y Z = ~W = ~(X | Y) X Y W Z Z W

2 Input NOR Gate NOR X Y Z Z = ~(X | Y) nor(Z,X,Y) X Y Z

Basic Logic Gates and Basic Digital Design NOT, AND, and OR Gates NAND and NOR Gates XOR and XNOR Gates DeMorgan’s Theorem

Exclusive-OR Gate X Y Z XOR X Y Z Z = X ^ Y xor(Z,X,Y)

XOR X ^ Y(Verilog) X $ Y(ABEL) Y xor(Z,X,Y) (Verilog)

2-Input XOR Gate XOR X Y Z Z = X ^ Y xor(Z,X,Y) X Y Z Note: if Y = 0, Z = X if Y = 1, Z = ~X Therefore, an XOR gate can be used as a controlled inverter

Exclusive-NOR Gate X Y Z XNOR X Y Z Z = ~(X ^ Y) Z = X ~^ Y xnor(Z,X,Y)

XNOR X ~^ Y(Verilog) !(X $ Y)(ABEL) Y xnor(Z,X,Y) (Verilog)

2-Input XNOR Gate XNOR X Y Z Z = ~(X ^ Y) Z = X ~^ Y xnor(Z,X,Y) Note: Z = 1 if X = Y Therefore, an XNOR gate can be used as an equality detector X Y Z

Basic Logic Gates and Basic Digital Design NOT, AND, and OR Gates NAND and NOR Gates XOR and XNOR Gates DeMorgan’s Theorem

NAND Gate X Y X Y Z Z Z = ~(X & Y)Z = ~X | ~Y = X Y W Z X Y ~X ~Y Z

De Morgan’s Theorem-1 ~(X & Y) = ~X | ~Y NOT all variables Change & to | and | to & NOT the result

NOR Gate X Y Z Z = ~(X | Y) X Y Z X Y Z Z = ~X & ~Y X Y ~X ~Y Z

De Morgan’s Theorem-2 ~(X | Y) = ~X & ~Y NOT all variables Change & to | and | to & NOT the result

De Morgan’s Theorem NOT all variables Change & to | and | to & NOT the result ~X | ~Y = ~(~~X & ~~Y) = ~(X & Y) ~(X & Y) = ~~(~X | ~Y) = ~X | ~Y ~X & ~Y = ~(~~X | ~~Y) = ~(X | Y) ~(X | Y) = ~~(~X & ~Y) = ~X & ~Y