Logic Symbols with Truth Tables

Similar documents
Logic Symbols with Truth Tables INVERTER A B NAND A B C NOR C A B A B C XNOR A B C A B Digital Logic 1

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Logic. Andrew Mark Allen March 4, 2012

AN INTRODUCTION TO DIGITAL COMPUTER LOGIC

Logic Circuits. A gate is a circuit element that operates on a binary signal.

Chapter 4: Table of Contents. Decoders

The basic logic gates are the inverter (or NOT gate), the AND gate, the OR gate and the exclusive-or gate (XOR). If you put an inverter in front of

Chapter Contents. Appendix A: Digital Logic. Some Definitions

Principles of Computer Architecture. Appendix A: Digital Logic

Computer Architecture and Organization

NORTHWESTERN UNIVERSITY TECHNOLOGICAL INSTITUTE

EE292: Fundamentals of ECE

CS302 Digital Logic Design Solved Objective Midterm Papers For Preparation of Midterm Exam

Minnesota State College Southeast

DIGITAL CIRCUIT COMBINATORIAL LOGIC

Palestine Technical College. Engineering Professions Department. EEE Digital Logic Fundamentals. Experiment 2.

Computer Systems Architecture

COMP12111: Fundamentals of Computer Engineering

PHYS 3322 Modern Laboratory Methods I Digital Devices

PHYSICS 5620 LAB 9 Basic Digital Circuits and Flip-Flops

DIGITAL CIRCUIT LOGIC UNIT 9: MULTIPLEXERS, DECODERS, AND PROGRAMMABLE LOGIC DEVICES

VU Mobile Powered by S NO Group

EXPERIMENT #6 DIGITAL BASICS

Chapter 9 MSI Logic Circuits

TYPICAL QUESTIONS & ANSWERS

Encoders and Decoders: Details and Design Issues

Microcontrollers and Interfacing week 7 exercises

QUICK GUIDE COMPUTER LOGICAL ORGANIZATION - OVERVIEW

CS 61C: Great Ideas in Computer Architecture

Digital Electronics. HIGH (H), or 1 LOW (L), or. +5V 0V HIGH (logic 1) discrete voltage levels

EXPERIMENT 8 Medium Scale Integration (MSI) Logic Circuits

Chapter 3. Boolean Algebra and Digital Logic

Digital Circuits I and II Nov. 17, 1999

REPEAT EXAMINATIONS 2004 SOLUTIONS

North Shore Community College

Contents Circuits... 1

MODU LE DAY. Class-A, B, AB and C amplifiers - basic concepts, power, efficiency Basic concepts of Feedback and Oscillation. Day 1

Chapter 2. Digital Circuits

Semester 6 DIGITAL ELECTRONICS- core subject -10 Credit-4

R13 SET - 1 '' ''' '' ' '''' Code No: RT21053

For Teacher's Use Only Q Total No. Marks. Q No Q No Q No

UNIT 1: DIGITAL LOGICAL CIRCUITS What is Digital Computer? OR Explain the block diagram of digital computers.

Logic Design IS1200, spring 2015 Review Slides

Page No.1. CS302 Digital Logic & Design_ Muhammad Ishfaq

MODULE 3. Combinational & Sequential logic

EXPERIMENT: 1. Graphic Symbol: OR: The output of OR gate is true when one of the inputs A and B or both the inputs are true.

R13. II B. Tech I Semester Regular Examinations, Jan DIGITAL LOGIC DESIGN (Com. to CSE, IT) PART-A

gate symbols will appear in schematic Dierent of a circuit. Standard gate symbols have been diagram Figures 5-3 and 5-4 show standard shapes introduce

Synchronous Digital Logic Systems. Review of Digital Logic. Philosophy. Combinational Logic. A Full Adder. Combinational Logic

Analogue Versus Digital [5 M]

University of Pennsylvania Department of Electrical and Systems Engineering. Digital Design Laboratory. Lab8 Calculator

(Refer Slide Time: 1:45)

Department of Electrical and Computer Engineering Mid-Term Examination Winter 2012

2 The Essentials of Binary Arithmetic

MODULAR DIGITAL ELECTRONICS TRAINING SYSTEM

The word digital implies information in computers is represented by variables that take a limited number of discrete values.

Notes on Digital Circuits

Solution to Digital Logic )What is the magnitude comparator? Design a logic circuit for 4 bit magnitude comparator and explain it,

FUNCTIONS OF COMBINATIONAL LOGIC

Course Plan. Course Articulation Matrix: Mapping of Course Outcomes (COs) with Program Outcomes (POs) PSO-1 PSO-2

REPEAT EXAMINATIONS 2002

UNIVERSITI TEKNOLOGI MALAYSIA

Combinational Logic Design

In this chapter, you will...

EC6302-DIGITAL ELECTRONICS II YEAR /III SEMESTER ECE ACADEMIC YEAR

211: Computer Architecture Summer 2016

Notes on Digital Circuits

LogicBlocks Experiment Guide a learn.sparkfun.com

TIME SCHEDULE. MODULE TOPICS PERIODS 1 Number system & Boolean algebra 17 Test I 1 2 Logic families &Combinational logic

Half-Adders. Ch.5 Summary. Chapter 5. Thomas L. Floyd

ME 515 Mechatronics. Introduction to Digital Electronics

Physics 323. Experiment # 10 - Digital Circuits

I B.SC (INFORMATION TECHNOLOGY) [ ] Semester II CORE : DIGITAL COMPUTER FUNDAMENTALS - 212B Multiple Choice Questions.

Introduction Actel Logic Modules Xilinx LCA Altera FLEX, Altera MAX Power Dissipation

nmos transistor Basics of VLSI Design and Test Solution: CMOS pmos transistor CMOS Inverter First-Order DC Analysis CMOS Inverter: Transient Response

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Science SOLUTIONS

DIGITAL TECHNICS. Dr. Bálint Pődör. Óbuda University, Microelectronics and Technology Institute

EFM8LB1 Configurable Logic Unit (CLU) 1 8 N O V

Laboratory Objectives and outcomes for Digital Design Lab

D U I S B U R G E S S E N

ECE Lab 5. MSI Circuits - Four-Bit Adder/Subtractor with Decimal Output

Logic Gates, Timers, Flip-Flops & Counters. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

March 13, :36 vra80334_appe Sheet number 1 Page number 893 black. appendix. Commercial Devices

Chapter 8 Functions of Combinational Logic

DIGITAL SYSTEM DESIGN UNIT I (2 MARKS)

Find the equivalent decimal value for the given value Other number system to decimal ( Sample)

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 151) Pass Marks: 24

CHAPTER 1 LATCHES & FLIP-FLOPS

Copyright 2011 by Enoch Hwang, Ph.D. and Global Specialties. All rights reserved. Printed in Taiwan.

COMP2611: Computer Organization. Introduction to Digital Logic

Examples of FPLD Families: Actel ACT, Xilinx LCA, Altera MAX 5000 & 7000

Light Emitting Diodes and Digital Circuits I

Final Project [Tic-Tac-Toe]

Digital Logic. ECE 206, Fall 2001: Lab 1. Learning Objectives. The Logic Simulator

EECS 270 Final Exam Spring 2012

Explosive growth over years - now dominates applications, still growing

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

Light Emitting Diodes and Digital Circuits I

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 2018 EXAMINATION MODEL ANSWER

Introduction to Digital Logic Missouri S&T University CPE 2210 Exam 3 Logistics

Transcription:

Logic Symbols with Truth Tables UFFER INVERTER ND NND OR NOR XOR 6.7 Digital Logic, Spring 22 XNOR Digital logic can be described in terms of standard logic symbols and their corresponding truth tables. The electronics companies have made transistor based chips that carry out the function of each of these. The horizontal lines represent inputs or outputs (in the examples above read from left to right). The small circles at the outputs on the right correspond to an inverter (performs a logical NOT operation to the output).

oolean lgebra ND = = = = OR + = + = + = + = XOR = = = = NOT If =, then = If =, then = 6.7 Digital Logic, Spring 22 2 The action of logic circuits can be understood in terms of oolean logic. We will typically use three elements of this. First you should recall that in our short hand notation is FLSE and is TRUE. The ND operation is indicated by a dot (which is often left out), and the logical table above looks familiar. The OR operation is indicated by a + sign, and the set of outcomes is mostly familiar, but notice that TRUE or TRUE is TRUE. The NOT operation is simply and inversion and is indicated by a bar over the state. We will also have occasional need for the EXLUSIVE OR gate which is similar to the OR but is indicated by a + with a circle around it and TRUE EXLUSIVE OR TRUE is FLSE. 2

Logic Gates & oolean Expressions = =+ = = =+ = = =++ = = =++ 6.7 Digital Logic, Spring 22 3 We can rewrite the logic gate in terms of oolean algebra. Notice that the ND and OR gates can be extended to beyond two inputs, in fact they can have any number. 3

Table of Logic Identities ) + = + 2) = 3) +(+) = (+)+ 4) () = () 5) (+) = + 6) (+)(+D) = +D++D 7) = 8) = 9) = ) = ) + = 2) + = 3) + = 4) = 5) = 6) + = 7) = 8) + = 9) = + 2) + = + 2) + = + 22) =+=(+) 23) = + 6.7 Digital Logic, Spring 22 4 oolean algebra is simple once you are used to it but takes some getting to know. The above sets of identities are straightforward to show. The first column you probably know (if you say them out in terms of TRUE and FLSE) and second column entries can be figured out and do not need to be memorized. 4

DeMorgan s Theorem (X+) = X Not of the quantity, X OR is equal to NOT X ND NOT X = X X X+ X+ X X X ompress to = 6.7 Digital Logic, Spring 22 5 DeMorgan s theorem is probably the most important of the identities that are not immediately known. Here we show that it is true. Notice that DeMorgan s theorem make concrete the concept that there are many ways of achieving the same truth table. In fact we will demonstrate latter that all logic can be created with NND gates alone (though this is usually not the most convenient method). lso note that the bubble inverting the input or output of a device can take the place of an inverter. 5

DeMorgan s Theorem 2 second version is or X X = X + = = X 6.7 Digital Logic, Spring 22 6 nother versions of DeMorgan s theorem, this time taking a ND type circuit to an OR. Since all logic could be created with NNDs and NNDs can be mapped into NORs then all logic could also be constructed solely out of NORs. 6

Problem: onvince yourself that 6.7 Digital Logic, Spring 22 7 Write out the truth table of this and convince yourself that you can not simply invert all inputs and outputs and have the same action. 7

DeMorgan s Theorm says ubble Pushing or fi fi Note: as we quoted DeMorgan s Theorm, it said = + fi Now we add a NOT to each output: or fi fi 6.7 Digital Logic, Spring 22 8 Now we look at a much more general statement of De Morgan s theorem. 8

ubble Pushing 2.) change ND to OR or OR to ND. 2.) invert all inputs and outputs. fi fi fi 6.7 Digital Logic, Spring 22 9 This does not sound as elegant or mathematical as DeMorgan s theorem, but it covers a much broader set of examples. 9

Generalized DeMorgan s Theorem = + + + + = 6.7 Digital Logic, Spring 22 The entire thing can be generalized to any number of inputs and always keeps the same structure.

Logic Gate NOT NND equivalent circuits NND Equivalent = ND = NND OR =+ 6.7 Digital Logic, Spring 22 s we said, all logic can be written in terms of NNDs and here are some examples. Notice that in some cases the two inputs of the NND are tied together to make an inverter.

Logic Gate NND equivalent circuits 2 NND Equivalent NOR =+ + XOR XNOR 6.7 Digital Logic, Spring 22 2 2

Using an ND as an enable gate: lock input enable Using an OR as an enable gate: lock lock Enablers f clk =MHz, T clk =ms out f clk =MHz, T clk =ms clock Input enable out clock ms 2 3 4 5 6 7 8 enable disable 2 3 4 4ms ms 2 3 4 5 6 7 8 out Input enable input enable out 4 5 3ms 6.7 Digital Logic, Spring 22 3 One of the many uses of digital logic is to enable a signal to be transmitted. In this case the clock is the signal and the ND or OR acts to control if it is transmitted. Notice the different actions and the output states when the device is disabled. 3

ND-OR-INVERT Gates Logic circuit for POS expression: D X = (+)(+D) X Logic circuit for SOP expression: D D X = +D++D X 6.7 Digital Logic, Spring 22 4 ou can directly build digital circuits from oolean logic. Two two circuits are the same, the left written as a product of sums and the right as a sum of products. There are also approaches to simplifying a network (including software packages). 4

Switch or { select 6.7 Digital Logic, Spring 22 5 This shows the simple action of a multiplexer, it takes two inputs and switches the output between them. 5

74LS57 Data Sheet 6.7 Digital Logic, Spring 22 6 There are higher level devices that are designed for specific applications. Here is a already implemented multiplexer. 6

74LS57 Data Sheet 2 6.7 Digital Logic, Spring 22 7 7

74LS57 Data Sheet 3 6.7 Digital Logic, Spring 22 8 8

74LS57 Data Sheet 4 6.7 Digital Logic, Spring 22 9 9

Multiplexer S S D 2 3 4 output S S transmitted input D 6.7 Digital Logic, Spring 22 2 The multiplexer can be expanded to many more lines. Notice that in this case each ND gate has been expanded to three inputs so that the full coding can appear at each. We would need to add one more input to each ND for every power of two increase in the number of inputs. How do you build the same circuit using the NDs only as enables? 2

Demultiplexer S S data select D E input data S S input routed to: D Disabled output are held on HIGH 6.7 Digital Logic, Spring 22 2 Of course the opposite action can also be implemented. sends one signal to one of many lines. demultiplexer 2

D to 7-Segment Decoder (LED) RI RO LT 2 3 +5V +V 7447 a b c d e f g ommon-anode LED display a b c d e f g dp dp +5V 6.7 Digital Logic, Spring 22 22 nother complex chip, in this case designed to control an LED numeric display. 22

7447 Data Sheet 6.7 Digital Logic, Spring 22 23 23

7447 Data Sheet 2 6.7 Digital Logic, Spring 22 24 24

7447 Data Sheet 3 6.7 Digital Logic, Spring 22 25 25

7447 Data Sheet 4 6.7 Digital Logic, Spring 22 26 26