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

Similar documents
Digital Fundamentals

CHAPTER 3 BASIC & COMBINATIONAL LOGIC CIRCUIT

Satish Chandra, Assistant Professor, P P N College, Kanpur 1

DIGITAL ELECTRONICS: LOGIC AND CLOCKS

Analysis procedure. To obtain the output Boolean functions from a logic diagram, proceed as follows:

University of Technology

2 Logic Gates THE INVERTER. A logic gate is an electronic circuit which makes logic decisions. It has one output and one or more inputs.

Chapter 4 Logic Functions and Gates

Lecture 15 Analysis of Combinational Circuits

(a) (b) (c) (d) (e) (a) (b) (c) (d) (e)

Synthesis of Combinational Logic

Function Table of an Odd-Parity Generator Circuit

Function Table of 74LS138, 3-to-8 Decoder +5V 6 G1 4 G2A 5 G2B. 4-to-16 Decoder using two 74LS139, 3-to-8 Decoder

Gates and and Circuits

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Gates and Circuits 1

Course Overview. Course Overview

Odd-Prime Number Detector The table of minterms is represented. Table 13.1

Digital Electronics Course Objectives

Computer Hardware Engineering (IS1200) Computer Organization and Components (IS1500) Fall 2017 Lecture 7: Combinational Logic

In this lecture: Lecture 8: ROM & Programmable Logic Devices

Logic diagram: a graphical representation of a circuit

Digital Electronics. Functions of Combinational Logic

Chapter 4 Combinational Logic Circuits

EMT1250 LABORATORY EXPERIMENT. EXPERIMENT # 4: Combinational Logic Circuits. Name: Date:

I. Computational Logic and the Five Basic Logic Gates 1

Digital Logic. Software. Digital Logic. Boolean value (bit): 0 or 1. Transistors (more in lab) 1/26/16. Program, Application. Programming Language

Chapter 3 Digital Logic Structures

Chapter 4 Combinational Logic Circuits

Computer Organization and Components

De Morgan s second theorem: The complement of a product is equal to the sum of the complements.

Digital Applications (CETT 1415) Credit: 4 semester credit hours (3 hours lecture, 4 hours lab) Prerequisite: CETT 1403 & CETT 1405

Logic Design I (17.341) Fall Lecture Outline

Combinational Logic Design CH002

Digital Electronics 8. Multiplexer & Demultiplexer

Digital Logic Circuits

05/11/2006. Lecture What does a computer do? Logic Manipulation. Data manipulation

Number system: the system used to count discrete units is called number. Decimal system: the number system that contains 10 distinguished

EE40 Lecture 35. Prof. Chang-Hasnain. 12/5/07 Reading: Ch 7, Supplementary Reader

Combinational Logic Circuits. Combinational Logic

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

Name: Class: Date: 1. As more electronic systems have been designed using digital technology, devices have become smaller and less powerful.

Department of Electronics and Communication Engineering

COMPUTER ORGANIZATION & ARCHITECTURE DIGITAL LOGIC CSCD211- DEPARTMENT OF COMPUTER SCIENCE, UNIVERSITY OF GHANA

Combinational Circuits: Multiplexers, Decoders, Programmable Logic Devices

Logic Gates with Boolean Functions

Use the fixed 5 volt supplies for your power in digital circuits, rather than the variable outputs.

SYNTHESIS OF COMBINATIONAL CIRCUITS

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

EE260: Digital Design, Spring n More Logic Gates n NAND and NOR Gates

DIGITAL ELECTRONICS. Methods & diagrams : 1 Graph plotting : - Tables & analysis : - Questions & discussion : 6 Performance : 3

Digital Systems Principles and Applications TWELFTH EDITION. 3-3 OR Operation With OR Gates. 3-4 AND Operations with AND gates

(CSC-3501) Lecture 6 (31 Jan 2008) Seung-Jong Park (Jay) CSC S.J. Park. Announcement

COMBINATIONAL CIRCUIT

Department of Electrical and Electronics Engineering Logic Circuits Laboratory EXPERIMENT-5 COMBINATIONAL LOGIC CIRCUITS

Asst. Prof. Thavatchai Tayjasanant, PhD. Power System Research Lab 12 th Floor, Building 4 Tel: (02)

EECS 150 Homework 4 Solutions Fall 2008

1.) If a 3 input NOR gate has eight input possibilities, how many of those possibilities result in a HIGH output? (a.) 1 (b.) 2 (c.) 3 (d.) 7 (e.

EXPERIMENT NO 1 TRUTH TABLE (1)

Digital Fundamentals 8/29/2016. Summary. Summary. Floyd. Chapter 3 A X. The Inverter

Digital Logic Design ELCT 201

Module 4: Design and Analysis of Combinational Circuits 1. Module-4. Design and Analysis of Combinational Circuits

Subject: Analog and Digital Electronics Code:15CS32

Digital Circuits Introduction

Unit level 4 Credit value 15. Introduction. Learning Outcomes

PREVIEW COPY. Digital Logic Systems. Table of Contents. Digital Logic Fundamentals...3. Logic Building Blocks Medium- and Large-Scale ICs...

EE100Su08 Lecture #16 (August 1 st 2008)

Chapter 1: Digital logic

QUIZ. What do these bits represent?

Encoders. Lecture 23 5

Digital Fundamentals 9/4/2017. Summary. Summary. Floyd. Chapter 3. The Inverter

CS8803: Advanced Digital Design for Embedded Hardware

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Combinational logic. ! Regular logic: multiplexers, decoders, LUTs and FPGAs. ! Switches, basic logic and truth tables, logic functions

Combinational Circuits DC-IV (Part I) Notes

UNIT-2: BOOLEAN EXPRESSIONS AND COMBINATIONAL LOGIC CIRCUITS

EEE 301 Digital Electronics

LOGIC GATES AND LOGIC CIRCUITS A logic gate is an elementary building block of a Digital Circuit. Most logic gates have two inputs and one output.

Chapter 3 Describing Logic Circuits Dr. Xu

Digital Fundamentals

Electronics. Digital Electronics

Lecture 2: Digital Logic Basis

UNIT-IV Combinational Logic

6.1 In this section, you will design (but NOT build) a circuit with 4 inputs,

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. Improved Device Models. complex logic gates pass transistor logic

EE 330 Lecture 5. Basic Logic Circuits Complete Logic Family Other Logic Styles. complex logic gates

Combinational Logic. Combinational Logic Design Process, Three State Buffers, Decoders, Multiplexers, Encoders, Demultiplexers, Other Considerations

Combinational Logic Gates in CMOS

Chapter 3. H/w s/w interface. hardware software Vijaykumar ECE495K Lecture Notes: Chapter 3 1

Chapter # 1: Introduction

Chapter 3 Digital Logic Structures

Digital Electronics. A. I can list five basic safety rules for electronics. B. I can properly display large and small numbers in proper notation,

Exercise 2: OR/NOR Logic Functions

EXPERIMENT #5 COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Lecture 7: Digital Logic

Multiple input gates. The AND gate

EXPERIMENT 5 Basic Digital Logic Circuits

This Figure here illustrates the operation for a 2-input OR gate for all four possible input combinations.

Exercise 1: AND/NAND Logic Functions

BOOLEAN ALGEBRA AND LOGIC FAMILIES

Transcription:

Slide Logic Symbols with Truth Tables UFFER INVERTER ND NND OR NOR XOR XNOR 6.7 Digital Logic 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).

Slide 2 oolean lgebra ND = = = = OR + = + = + = + = XOR = = = = NOT If =, then = If =, then = 6.7 Digital Logic 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.

Slide 3 Logic Gates & oolean Expressions = =+ = = =+ = = =++ = = =++ 6.7 Digital Logic, 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.

Slide 4 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 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.

Slide 5 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 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.

Slide 6 DeMorgan s Theorem 2 second version is or X X = X + = = X 6.7 Digital Logic 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.

Slide 7 Problem: onvince yourself that 6.7 Digital Logic 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.

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

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

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

Slide Logic Gate NOT NND equivalent circuits NND Equivalent = ND = NND OR =+ 6.7 Digital Logic 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.

Slide 2 Logic Gate NND equivalent circuits 2 NND Equivalent NOR =+ + XOR XNOR 6.7 Digital Logic 2

Slide 3 Using an ND as an enable gate: lock lock Enablers f clk =MHz, T clk =µs clock µs 2 3 4 5 6 7 8 out Input enable enable disable input enable Using an OR as an enable gate: lock f clk =MHz, T clk =µs out clock 2 3 4 4µs µs 2 3 4 5 6 7 8 out Input enable input enable out 4 5 3µs 6.7 Digital Logic 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.

Slide 4 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 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).

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

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

Slide 7 74LS57 Data Sheet 2 6.7 Digital Logic 7

Slide 8 74LS57 Data Sheet 3 6.7 Digital Logic 8

Slide 9 74LS57 Data Sheet 4 6.7 Digital Logic 9

Slide 2 Multiplexer S S D 2 3 4 output S S transmitted input D 6.7 Digital Logic 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?

Slide 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 2 Of course the opposite action can also be implemented. signal to one of many lines. demultiplexer sends one

Slide 22 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 22 nother complex chip, in this case designed to control an LED numeric display.

Slide 23 7447 Data Sheet 6.7 Digital Logic 23

Slide 24 7447 Data Sheet 2 6.7 Digital Logic 24

Slide 25 7447 Data Sheet 3 6.7 Digital Logic 25

Slide 26 7447 Data Sheet 4 6.7 Digital Logic 26