Elementary Logic Gates



Similar documents
Karnaugh Maps (K-map) Alternate representation of a truth table

BOOLEAN ALGEBRA & LOGIC GATES

NAND and NOR Implementation

Combinational Logic Design Process

Gates & Boolean Algebra. Boolean Operators. Combinational Logic. Introduction

ELEC EXPERIMENT 1 Basic Digital Logic Circuits

United States Naval Academy Electrical and Computer Engineering Department. EC262 Exam 1

Chapter 2: Boolean Algebra and Logic Gates. Boolean Algebra

Basic Logic Gates Richard E. Haskell

1. True or False? A voltage level in the range 0 to 2 volts is interpreted as a binary 1.

Boolean Algebra Part 1

Digital Logic Elements, Clock, and Memory Elements

Understanding Logic Design

Gates, Circuits, and Boolean Algebra

Digital circuits make up all computers and computer systems. The operation of digital circuits is based on

ENGI 241 Experiment 5 Basic Logic Gates

Boolean Algebra (cont d) UNIT 3 BOOLEAN ALGEBRA (CONT D) Guidelines for Multiplying Out and Factoring. Objectives. Iris Hui-Ru Jiang Spring 2010

Two-level logic using NAND gates

exclusive-or and Binary Adder R eouven Elbaz reouven@uwaterloo.ca Office room: DC3576

Logic gates. Chapter. 9.1 Logic gates. MIL symbols. Learning Summary. In this chapter you will learn about: Logic gates

ASYNCHRONOUS COUNTERS

[ 4 ] Logic Symbols and Truth Table

Mixed Logic A B A B. 1. Ignore all bubbles on logic gates and inverters. This means

Binary full adder. 2-bit ripple-carry adder. CSE 370 Spring 2006 Introduction to Digital Design Lecture 12: Adders

Chapter 4 Register Transfer and Microoperations. Section 4.1 Register Transfer Language

Chapter 3 Digital Basics

6. BOOLEAN LOGIC DESIGN

CDA 3200 Digital Systems. Instructor: Dr. Janusz Zalewski Developed by: Dr. Dahai Guo Spring 2012

SEQUENTIAL CIRCUITS. Block diagram. Flip Flop. S-R Flip Flop. Block Diagram. Circuit Diagram

Sum-of-Products and Product-of-Sums expressions

Memory Elements. Combinational logic cannot remember

CSE140: Components and Design Techniques for Digital Systems

NEW adder cells are useful for designing larger circuits despite increase in transistor count by four per cell.

Ladder and Functional Block Programming

Lesson 12 Sequential Circuits: Flip-Flops

2.0 Chapter Overview. 2.1 Boolean Algebra

CSEE 3827: Fundamentals of Computer Systems. Standard Forms and Simplification with Karnaugh Maps

Digital Logic Design. Basics Combinational Circuits Sequential Circuits. Pu-Jen Cheng

Unit 3 Boolean Algebra (Continued)

Figure 8-1 Four Possible Results of Adding Two Bits

DM74LS05 Hex Inverters with Open-Collector Outputs

Adder.PPT(10/1/2009) 5.1. Lecture 13. Adder Circuits

Karnaugh Maps & Combinational Logic Design. ECE 152A Winter 2012

Latches, the D Flip-Flop & Counter Design. ECE 152A Winter 2012

Chapter 1. Computation theory

CH3 Boolean Algebra (cont d)

Counters and Decoders

Logic in Computer Science: Logic Gates

Optimization and Comparison of 4-Stage Inverter, 2-i/p NAND Gate, 2-i/p NOR Gate Driving Standard Load By Using Logical Effort

earlier in the semester: The Full adder above adds two bits and the output is at the end. So if we do this eight times, we would have an 8-bit adder.

Karnaugh Maps. Circuit-wise, this leads to a minimal two-level implementation

So far we have investigated combinational logic for which the output of the logic devices/circuits depends only on the present state of the inputs.

Digital Electronics Detailed Outline

Lecture 10 Sequential Circuit Design Zhuo Feng. Z. Feng MTU EE4800 CMOS Digital IC Design & Analysis 2010

Set-Reset (SR) Latch

Binary Adders: Half Adders and Full Adders

CSE140: Midterm 1 Solution and Rubric

Sistemas Digitais I LESI - 2º ano

Gate Delay Model. Estimating Delays. Effort Delay. Gate Delay. Computing Logical Effort. Logical Effort

Chapter 2 Logic Gates and Introduction to Computer Architecture

DM74LS157 DM74LS158 Quad 2-Line to 1-Line Data Selectors/Multiplexers

Counters are sequential circuits which "count" through a specific state sequence.

ANALOG & DIGITAL ELECTRONICS

Two's Complement Adder/Subtractor Lab L03

Lecture 5: Gate Logic Logic Optimization

WEEK 8.1 Registers and Counters. ECE124 Digital Circuits and Systems Page 1

COMBINATIONAL CIRCUITS

Philadelphia University Faculty of Information Technology Department of Computer Science Semester, 2007/2008.

Lecture 8: Synchronous Digital Systems

HCF4010B HEX BUFFER/CONVERTER (NON INVERTING)

A Course Material on DIGITAL PRINCIPLES AND SYSTEM DESIGN

Lecture 12: More on Registers, Multiplexers, Decoders, Comparators and Wot- Nots

CHAPTER 3 Boolean Algebra and Digital Logic

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

e.g. τ = 12 ps in 180nm, 40 ps in 0.6 µm Delay has two components where, f = Effort Delay (stage effort)= gh p =Parasitic Delay

A New Paradigm for Synchronous State Machine Design in Verilog

Having read this workbook you should be able to: recognise the arrangement of NAND gates used to form an S-R flip-flop.

EE 209 Lab 1 Sound the Alarm

MM74HC14 Hex Inverting Schmitt Trigger

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Module 4 : Propagation Delays in MOS Lecture 22 : Logical Effort Calculation of few Basic Logic Circuits

EGR 278 Digital Logic Lab File: N278L3A Lab # 3 Open-Collector and Driver Gates

CONTENTS PREFACE 1 INTRODUCTION 1 2 NUMBER SYSTEMS AND CODES 25. vii

Course: Bachelor of Science (B. Sc.) 1 st year. Subject: Electronic Equipment Maintenance. Scheme of Examination for Semester 1 & 2

EE360: Digital Design I Course Syllabus

3.Basic Gate Combinations

COMBINATIONAL and SEQUENTIAL LOGIC CIRCUITS Hardware implementation and software design

Sequential Logic Design Principles.Latches and Flip-Flops

INTEGRATED CIRCUITS. For a complete data sheet, please also download:

South East of Process Main Building / 1F. North East of Process Main Building / 1F. At 14:05 April 16, Sample not collected

DM74LS00 Quad 2-Input NAND Gate

FORDHAM UNIVERSITY CISC Dept. of Computer and Info. Science Spring, Lab 2. The Full-Adder

LFSR BASED COUNTERS AVINASH AJANE, B.E. A technical report submitted to the Graduate School. in partial fulfillment of the requirements

MM74HC4538 Dual Retriggerable Monostable Multivibrator

. HIGH SPEED .LOW POWER DISSIPATION .COMPATIBLE WITH TTL OUTPUTS M54HCT27 M74HCT27 TRIPLE 3-INPUT NOR GATE. tpd = 9 ns (TYP.

Operating Manual Ver.1.1

DM74LS151 1-of-8 Line Data Selector/Multiplexer

Take-Home Exercise. z y x. Erik Jonsson School of Engineering and Computer Science. The University of Texas at Dallas

7. Latches and Flip-Flops

High Speed Gate Level Synchronous Full Adder Designs

Transcription:

Elementary Logic Gates Name Symbol Inverter (NOT Gate) ND Gate OR Gate Truth Table Logic Equation = = = = = + C. E. Stroud Combinational Logic Design (/6)

Other Elementary Logic Gates NND Gate NOR Gate (NOT ND) (NOT OR) Name Symbol = ( ) = Truth Table Logic Equation = ( + ) = + C. E. Stroud Combinational Logic Design (/6) 2

Using Truth Tables to Prove Theorems DeMorgan s Theorems T8a: (+) = T8b: ( ) = + a NOR gate is equivalent to an ND gate with inverted inputs NOR NOR a NND gate is equivalent to an OR gate with inverted inputs NND alternate logic symbols C. E. Stroud Combinational Logic Design (/6) 3 NND

Other Logic Gates Name Symbol uffer Exclusive-OR Gate aka OR Gate Exclusive-NOR Gate aka NOR or NOR Gate Truth Table Logic Equation = = = + = = + also denoted = C. E. Stroud Combinational Logic Design (/6) 4

Interesting Properties of Exclusive-OR Controlled inverter = = OR with one input inverted = NOR = =( ) NOR with one input inverted = OR ( ) =( ) = Constant output = = C. E. Stroud Combinational Logic Design (/6) 5

Exclusive-OR Implementations = + OR & NOR not considered elementary logic gates by many designers 4 gates () (() ) (() ) =((() ) (() ) ) = = + = (+) + (+) = + + + = + C. E. Stroud Combinational Logic Design (/6) 6 5 gates 3 gates (+) =((+) +) = ++ = (+) = (+)(+) = + + + = + + + = +

Functionally Complete Set of Gates If any digital circuit can be built from a set of gates, that set is said to be functionally complete Functionally complete sets of gates: ND, OR, & NOT NND NOR Multiplexers To show a set of gates is functionally complete, we must show that you can construct ND, OR and NOT functions C. E. Stroud Combinational Logic Design (/6) 7

Functionally Complete Set of Gates = = The NND gate is functionally complete We can build any digital logic circuit out of all NND gates Same holds true for the NOR gate and the multiplexer The OR & NOR are not functionally complete =+ using DeMorgan s Theorem C. E. Stroud Combinational Logic Design (/6) 8

Gate-level Representations SOP expressions ND-OR With inverters for complemented literals = C+ C+C +C aka 2-level ND-OR logic representation POS expressions OR-ND With inverters for complemented literals =(++C) (+ +C) ( ++C) ( ++C ) aka 2-level OR-ND logic representation C C 8 gates C. E. Stroud Combinational Logic Design (/6) 9

Gate Level Representation from oolean equation = ((( ) C) +D ) = (( ) C)+D ( ) C D (( ) C) D C. E. Stroud Combinational Logic Design (/6)

Circuit nalysis Going from gate-level to truth table pply s & s to inputs to get outputs oolean equation Move equations to output =(+ )C+ C =C+ C+ C C C + (+ )C C C C. E. Stroud Combinational Logic Design (/6)

Circuit nalysis We can implement different circuits for same logic function that are functionally equivalent (produce the correct output response for all input values) Which implementation is the best? Depends on design goals and criteria rea analysis Number of gates, G (most commonly used) Number of gate inputs and outputs, G IO (more accurate) igger gates take up more area Performance analysis (worst case path from inputs to outputs) Number of gates in worst case path from input to output, G del More accurate delay measurement per gate Propagation delay = intrinsic (internal) delay + extrinsic (external) delay Relative prop delay, P del = # inputs to gate (intrinsic) + # loads (extrinsic) C. E. Stroud Combinational Logic Design (/6) 2

Circuit nalysis Example From previous example: =(+ )C+ C # gates: G = 7 # gate I/O: G IO = 9 Gate delay: G del = 4 worst case path: Prop delay: P del = 2 worst case path: 2 2 C 2 + + C + 2+ + (+ )C 2+ 2+ C 3+ C. E. Stroud Combinational Logic Design (/6) 3

Circuit Optimization Obviously we want smallest, fastest circuit Some asic Goals: Minimizing # product terms minimizes # of ND gates and # inputs to OR gate in a 2-level SOP (ND-OR) representation Minimizing # literals in each product term minimizes # inputs to its ND gate We can use postulates & theorems, but It would be nice to find a more reliable procedure C. E. Stroud Combinational Logic Design (/6) 4