CPE100: Digital Logic Design I

Similar documents
CPE100: Digital Logic Design I

CPE100: Digital Logic Design I

CPE100: Digital Logic Design I

Lecture 2 Review on Digital Logic (Part 1)

Chapter 1 :: From Zero to One

Digital Design 2. Logic Gates and Boolean Algebra

CPE100: Digital Logic Design I

Learning Objectives 10/7/2010. CE 411 Digital System Design. Fundamental of Logic Design. Review the basic concepts of logic circuits. Dr.

Chapter 7 Logic Circuits

L2: Combinational Logic Design (Construction and Boolean Algebra)

CSE140: Components and Design Techniques for Digital Systems. Introduction. Instructor: Mohsen Imani

CPE100: Digital Logic Design I

CPE100: Digital Logic Design I

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

Combinational Logic. Review of Combinational Logic 1

Cs302 Quiz for MID TERM Exam Solved

Logic Design Combinational Circuits. Digital Computer Design

Signals and Systems Digital Logic System

CHAPTER1: Digital Logic Circuits Combination Circuits

CS 226: Digital Logic Design

Floating Point Representation and Digital Logic. Lecture 11 CS301

Digital Logic. Lecture 5 - Chapter 2. Outline. Other Logic Gates and their uses. Other Logic Operations. CS 2420 Husain Gholoom - lecturer Page 1

Chapter 2: Princess Sumaya Univ. Computer Engineering Dept.

LOGIC GATES. Basic Experiment and Design of Electronics. Ho Kyung Kim, Ph.D.

Midterm Examination # 1 Wednesday, February 25, Duration of examination: 75 minutes

E40M. Binary Numbers. M. Horowitz, J. Plummer, R. Howe 1

Chapter 2 Combinational Logic Circuits

L2: Combinational Logic Design (Construction and Boolean Algebra)

Chapter 2: Boolean Algebra and Logic Gates

CHAPTER 7. Exercises 17/ / /2 2 0

10/14/2009. Reading: Hambley Chapters

CprE 281: Digital Logic

EECS Variable Logic Functions

L2: Combinational Logic Design (Construction and Boolean Algebra)

Logic Design. Chapter 2: Introduction to Logic Circuits

This form sometimes used in logic circuit, example:

Number System conversions

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Lecture 5: NAND, NOR and XOR Gates, Simplification of Algebraic Expressions

Chapter 2 Combinational Logic Circuits

Introduction to Computer Engineering ECE 203

Lecture 12 Digital Circuits (II) MOS INVERTER CIRCUITS

UNIT 4 MINTERM AND MAXTERM EXPANSIONS

MOSFET and CMOS Gate. Copy Right by Wentai Liu

Ex: Boolean expression for majority function F = A'BC + AB'C + ABC ' + ABC.

CMSC 313 Lecture 17. Focus Groups. Announcement: in-class lab Thu 10/30 Homework 3 Questions Circuits for Addition Midterm Exam returned

Total Time = 90 Minutes, Total Marks = 50. Total /50 /10 /18

Review for Test 1 : Ch1 5

Circuits & Boolean algebra.

Why digital? Overview. Number Systems. Binary to Decimal conversion

Slide Set 3. for ENEL 353 Fall Steve Norman, PhD, PEng. Electrical & Computer Engineering Schulich School of Engineering University of Calgary

211: Computer Architecture Summer 2016

EXPERIMENT #4: SIMPLIFICATION OF BOOLEAN FUNCTIONS

ECE 546 Lecture 10 MOS Transistors

Name: Answers. Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN. Week 2 Dr. Srinivas Shakkottai Dept. of Electrical and Computer Engineering

2009 Spring CS211 Digital Systems & Lab CHAPTER 2: INTRODUCTION TO LOGIC CIRCUITS

CMPEN 411 VLSI Digital Circuits. Lecture 04: CMOS Inverter (static view)

Administrative Notes. Chapter 2 <9>

Static CMOS Circuits. Example 1

CIRCUITS AND ELECTRONICS. The Digital Abstraction

Vidyalankar S.E. Sem. III [CMPN] Digital Logic Design and Analysis Prelim Question Paper Solution

Chap 2. Combinational Logic Circuits

Chapter 2: Switching Algebra and Logic Circuits

Standard Expression Forms

THE INVERTER. Inverter

ELCT201: DIGITAL LOGIC DESIGN

Lecture A: Logic Design and Gates

Boolean Algebra and Logic Simplification

Digital Logic & Computer Design CS Professor Dan Moldovan Spring Copyright 2007 Elsevier 2-<101>

Review. EECS Components and Design Techniques for Digital Systems. Lec 06 Minimizing Boolean Logic 9/ Review: Canonical Forms

DC and Transient Responses (i.e. delay) (some comments on power too!)

E&CE 223 Digital Circuits & Systems. Lecture Transparencies (Boolean Algebra & Logic Gates) M. Sachdev. Section 2: Boolean Algebra & Logic Gates

EEE130 Digital Electronics I Lecture #4

Karnaugh Maps (K-Maps)

Sample Marking Scheme

II. COMBINATIONAL LOGIC DESIGN. - algebra defined on a set of 2 elements, {0, 1}, with binary operators multiply (AND), add (OR), and invert (NOT):

Intro To Digital Logic

Lecture Outline. ESE 570: Digital Integrated Circuits and VLSI Fundamentals. Review: 1st Order RC Delay Models. Review: Two-Input NOR Gate (NOR2)

Digital Logic & Computer Design CS Professor Dan Moldovan Spring 2010

EE141Microelettronica. CMOS Logic

Combinational logic. Possible logic functions of two variables. Minimal set of functions. Cost of different logic functions.

Boolean Algebra and logic gates

L4: Karnaugh diagrams, two-, and multi-level minimization. Elena Dubrova KTH / ICT / ES

Fundamentals of Digital Design

NAND3_X1. Page 104 of 969

Lecture 6: Gate Level Minimization Syed M. Mahmud, Ph.D ECE Department Wayne State University

Part 1: Digital Logic and Gates. Analog vs. Digital waveforms. The digital advantage. In real life...

School of Computer Science and Electrical Engineering 28/05/01. Digital Circuits. Lecture 14. ENG1030 Electrical Physics and Electronics

ENEL Digital Circuits Final Examination

Integrated Circuits & Systems

MC9211 Computer Organization

Switches: basic element of physical implementations

Combinatorial Logic Design Principles

Review: Additional Boolean operations

Lecture 12 Circuits numériques (II)

Lecture 5: DC & Transient Response

Pass-Transistor Logic

Transcription:

Professor Brendan Morris, SEB 3216, brendan.morris@unlv.edu CPE100: Digital Logic Design I Midterm01 Review http://www.ee.unlv.edu/~b1morris/cpe100/

2 Logistics Thursday Oct. 5 th In normal lecture (13:00-14:15) 1 hour and 15 minutes Chapters 1-2.6 Closed book, closed notes No calculators Must show work and be legible for credit Boolean Axioms and Theorems will

3 Preparation Read the book (2 nd Edition) Then, read it again Do example problems Use both Harris and Roth books Be sure you understand homework solutions Come visit during office hours for questions

4 Chapter 1.2 Managing Complexity Abstraction hiding details that aren t important Digital discipline restricting design choices to digital logic for more simple design Hierarchy dividing a system into modules and further submodules for easier understanding Modularity modules have well-defined functions and interfaces for easy interconnection Regularity uniformity among modules for reuse

5 Chapter 1.3 Digital Abstraction Analog digital computing Information in a discrete variable D = log 2 N bits Introduction to binary variables Example1: Information in 9-state variable D = log 2 9 = 3.1699 bits Note 3 bits can represent 8 values so requires just more than 3 bits

6 Chapter 1.4 Number Systems Number representation N-digit number {a N 1 a N 2 a 1 a 0 } of base R in decimal a N 1 R N 1 + a N 2 R N 2 + + a 1 R 1 + a 0 R 0 = a i R i N 1 i=0 Range of values Base 2, 10, 16, etc. conversion Often from base R 0 to decimal to R 1 Two methods: Repeatedly remove largest power of 2 Repeatedly divide by two

7 Number Examples Convert 10110 2 to decimal Convert 10110 2 to base 5 Convert 10110 2 to hex and octal

8 Chapter 1.4.5 Binary Addition Signed number representation Unsigned, two s complement, sign-magnitude Addition Binary carries Potential for overflow Subtraction Find negative of number and add Zero/Sign extension

9 Example Binary Addition Assume 6-bit 2 s complement and indicate if overflow occurs Add 13 10 +11 10 Add 25 10 + 18 10 Add 21 10 + 11 10 Add 12 + 13

10 Chapter 1.5 Logic Gates NOT, BUF XOR, NAND NOT BUF A Y A Y Y = A A Y 0 1 1 0 Y = A A Y 0 0 1 1 AND, OR NOR, XNOR A B AND Y A B OR Y Y = AB A B Y 0 0 0 0 1 0 1 0 0 1 1 1 Y = A + B A B Y 0 0 0 0 1 1 1 0 1 1 1 1

11 Example Give truth table for logic gate

12 Chapter 1.6 Beneath Digital Abstraction Noise margins Driver Receiver Logic High Output Range V O H Output Characteristics V DD NM H Input Characteristics Logic High Input Range Forbidden Zone V IH V IL Logic Low Output Range V O L NM L GND NM H = V OH V IH NM L = V IL V OL Logic Low Input Range

13 Example 1.18 What is the inverter low and high noise margins V DD = 5, V IL = 1.35, V IH = 3.15, V OL = 0.33, V OH = 3.84

14 Chapter 1.7 Transistors Voltage controlled switch NMOS pass 0 s Connect to GND CMOS logic gates inputs pmos pull-up network output PMOS pass 1 s Connect to VDD nmos pull-down network

15 Example Give the truth table and function

16 Chapter 1.7 Power Consumption Two types of power consumption Dynamic power required to charge gate capacitances (turn on/off transistor switches) P dynamic = 1 2 CV DD 2 f Static power consumed when no gates switching P static = I DD V DD

17 Chapter 2.2 Boolean Equations Terms: variable/complement, literal, product/implicant Order of operations: NOT AND OR Sum-of-product (SOP) form Determined by minterms of truth table Product-of-sums (POS) form Determined by maxterms of truth table

18 Chapter 2.3 Boolean Algebra Boolean algebra is very much like our normal algebra Need to know Boolean Axioms and Theorems Distributivity, covering, De Morgan s Proving equations Perfect induction/proof by exhaustion show truth tables match Simplification use theorems/axioms to show both sides of equation are equal

19 Chapter 2.3.5 Simplifying Equations Practice, practice, practice

20 Chapter 2.4 Logic to Gates Schematic diagram of digital circuit Figure 2.23 Schematic of

21 Chapter 2.5 - Multilevel Combinational Logic Convert gate level schematic into Boolean equation Bubble pushing application of De Morgan s in schematic

22 Chapter 2.6 Real Circuit Issues Don t cares: X Truth table flexibility Contention: X Illegal output value Output could be 1 or 0 in error Floating: Z High impedance, high Z Output between 0, 1 by design A = 1 B = 0 A E E A Y 0 0 Z 0 1 Z 1 0 0 1 1 1 Y Y = X