EECS 140/141 Introduction to Digital Logic Design Spring Semester 2017 Exam #1 Date: 27 February 2017

Similar documents
EECS 140/141 Introduction to Digital Logic Design Fall Semester 2016 Exam #1 Date: 3 October 2016

Combinational Logic Circuits Part III -Theoretical Foundations

Final Examination (Open Katz, asynchronous & test notes only, Calculators OK, 3 hours)

Combinational Logic Circuits

Chapter 2 Combinational

LSN 4 Boolean Algebra & Logic Simplification. ECT 224 Digital Computer Fundamentals. Department of Engineering Technology

EEE130 Digital Electronics I Lecture #4_1

CprE 281: Digital Logic

ENEL 353: Digital Circuits Midterm Examination

Chapter 2. Boolean Expressions:

Department of Electrical and Computer Engineering University of Wisconsin - Madison. ECE/CS 352 Digital System Fundamentals.

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

Combinational Circuits Digital Logic (Materials taken primarily from:

Chapter 2 Combinational Logic Circuits

Experiment 3: Logic Simplification

DKT 122/3 DIGITAL SYSTEM 1

Specifying logic functions

ELCT201: DIGITAL LOGIC DESIGN

B.Tech II Year I Semester (R13) Regular Examinations December 2014 DIGITAL LOGIC DESIGN

Objectives: 1- Bolean Algebra. Eng. Ayman Metwali

1. Mark the correct statement(s)

ELCT201: DIGITAL LOGIC DESIGN

ENEL Digital Circuits Midterm Examination

INDIAN INSTITUTE OF TECHNOLOGY KHARAGPUR Stamp / Signature of the Invigilator

CMPE223/CMSE222 Digital Logic

2.6 BOOLEAN FUNCTIONS

Midterm Exam Review. CS 2420 :: Fall 2016 Molly O'Neil

Question Total Possible Test Score Total 100

Boolean Analysis of Logic Circuits

CSCI 220: Computer Architecture I Instructor: Pranava K. Jha. Simplification of Boolean Functions using a Karnaugh Map

Literal Cost F = BD + A B C + A C D F = BD + A B C + A BD + AB C F = (A + B)(A + D)(B + C + D )( B + C + D) L = 10

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

Dr. S. Shirani COE2DI4 Midterm Test #1 Oct. 14, 2010

QUESTION BANK FOR TEST

ECE380 Digital Logic

Simplification of Boolean Functions

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

(Refer Slide Time 6:48)

Announcements. Chapter 2 - Part 1 1

Chapter 2 Combinational Logic Circuits

Student Number: UTORid: Question 0. [1 mark] Read and follow all instructions on this page, and fill in all fields.

Chapter 3. Gate-Level Minimization. Outlines

IT 201 Digital System Design Module II Notes

Philadelphia University Student Name: Student Number:

To write Boolean functions in their standard Min and Max terms format. To simplify Boolean expressions using Karnaugh Map.

BOOLEAN ALGEBRA. Logic circuit: 1. From logic circuit to Boolean expression. Derive the Boolean expression for the following circuits.

Experiment 4 Boolean Functions Implementation

Points Addressed in this Lecture. Standard form of Boolean Expressions. Lecture 4: Logic Simplication & Karnaugh Map

Switching Circuits & Logic Design

Combinational Logic & Circuits

ece5745-pla-notes.txt

/90 TOTAL. 1(a) 8pts. fiv(a,b) is called the function.

A B AB CD Objectives:

Gate-Level Minimization. BME208 Logic Circuits Yalçın İŞLER

Digital Logic Lecture 7 Gate Level Minimization

CHAPTER-2 STRUCTURE OF BOOLEAN FUNCTION USING GATES, K-Map and Quine-McCluskey

Module -7. Karnaugh Maps

Chapter 6. Logic Design Optimization Chapter 6

Bawar Abid Abdalla. Assistant Lecturer Software Engineering Department Koya University

SIR C.R.REDDY COLLEGE OF ENGINEERING, ELURU DEPARTMENT OF INFORMATION TECHNOLOGY LESSON PLAN

Definitions. 03 Logic networks Boolean algebra. Boolean set: B 0,

Outcomes. Unit 9. Logic Function Synthesis KARNAUGH MAPS. Implementing Combinational Functions with Karnaugh Maps

Chapter 2 Boolean algebra and Logic Gates

Combinational Logic Circuits

CS8803: Advanced Digital Design for Embedded Hardware

Boolean Algebra & Digital Logic

Gate-Level Minimization

Unit-IV Boolean Algebra

Assignment (3-6) Boolean Algebra and Logic Simplification - General Questions

Standard Boolean Forms

Review. EECS Components and Design Techniques for Digital Systems. Lec 05 Boolean Logic 9/4-04. Seq. Circuit Behavior. Outline.

Boolean Function Simplification

Summary. Boolean Addition

Software Engineering 2DA4. Slides 2: Introduction to Logic Circuits

CS470: Computer Architecture. AMD Quad Core

Chapter 3. Boolean Algebra and Digital Logic

Gate Level Minimization Map Method

BOOLEAN ALGEBRA. 1. State & Verify Laws by using :

ENGINEERS ACADEMY. 7. Given Boolean theorem. (a) A B A C B C A B A C. (b) AB AC BC AB BC. (c) AB AC BC A B A C B C.

Menu. Algebraic Simplification - Boolean Algebra EEL3701 EEL3701. MSOP, MPOS, Simplification

Chapter 2: Combinational Systems

Lecture 4: Implementation AND, OR, NOT Gates and Complement

Code No: R Set No. 1

Contents. Chapter 3 Combinational Circuits Page 1 of 34

CE161-4-AU UNIVERSITY OF ESSEX. Undergraduate Examinations 2014 DIGITAL SYSTEMS ARCHITECTURE. Time allowed: TWO hours

Last Name Student Number. Last Name Student Number

Synthesis 1. 1 Figures in this chapter taken from S. H. Gerez, Algorithms for VLSI Design Automation, Wiley, Typeset by FoilTEX 1

Digital Logic Design. Midterm #1

LAB #1 BASIC DIGITAL CIRCUIT

CDS130 Mid-term exam: Sample

Designing Computer Systems Boolean Algebra

Graduate Institute of Electronics Engineering, NTU. CH5 Karnaugh Maps. Lecturer: 吳安宇教授 Date:2006/10/20 ACCESS IC LAB

Final Exam Solution Sunday, December 15, 10:05-12:05 PM

1. Fill in the entries in the truth table below to specify the logic function described by the expression, AB AC A B C Z

Code No: R Set No. 1

Introduction to Computer Architecture

UNIT II. Circuit minimization

Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering Assignment 2 Combinational Logic

Chapter 2 Part 5 Combinational Logic Circuits

Section 001. Read this before starting!

Transcription:

EECS 4/4 Introduction to Digital Logic Design Spring Semester 27 Exam # Date: 27 February 27 NAME: KUID: General Instructions. This exam is closed-book. You are allowed a non-communicating calculator and one side of one page (8.5" X ") of notes. 2. A reference sheet of the Boolean Algebra axioms and properties is supplied for your use. 3. Put your KUID on each page, in case the exam pages get separated. 4. There are points possible on this exam. 5. When logic network diagrams are requested, you must draw them using your logic template. Failure to do this will be penalized. 6. Clearly indicate your final answer to each problem by putting a box around it (not necessary for logic network diagrams). 7. Show your work: a. If your answer is incorrect, partial credit may be awarded based on the work shown. Even if your answer is correct, you will not receive full credit unless you have shown some work on the exam pages. b. In particular, if you are asked to prove a relationship using algebraic manipulations from Boolean Algebra, you should justify each step with a property number from the Boolean Algebra reference sheet. c. Show all work on the exam pages. Ihave tried to leave lots of room for you to show (and check) your work. Please do not use any other pages unless absolutely necessary. If you do use other paper, clearly indicate on the problem page that there is additional work elsewhere (and where that additional work is). d. You may use the logic network diagrams and K-maps printed on the exam pages to show some of your work -- you do not need to re-copy them unless you wish to. e. The bottom line is this: the easier it is for me to figure out what you are trying to do, the more likely I will be to award partial credit. 8. Stay calm. If you are having trouble with one problem (or part of a problem), leave it and go on. Even if you are not able to work one part of a problem, you may still be able to work subsequent parts. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -2- KUID:. This problem has to do with the following minterm-form specification for a logic function: F(A, B, C, D) =Σm(, 3, 4, 6, 8,, 4) a. (8 points) Draw the Truth Table for this function in the space below. You must list the 4 variables in the order given (A on the left and D on the right). b. (8 points) Draw the Karnaugh Map (K-Map) for this function in the space below. You must list the values for the AB pair across the top and the values for the CD pair down the side. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -3- KUID: 2. ( points) Prove the following Boolean identity using Boolean Algebra properties. Each step must use one and only one Boolean Algebra property from the provided reference sheet (but you may use the same property more than once in one step). Identify which property that you used for agiven step with the number of the property. You may not use a Truth Table or K-map or Venn diagram to prove the identity. B(A + C) = ABC + ABC + ABC Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -4- KUID: 3. This problem deals with the following K-Map for function F(A,B,C). Each d in the K-Map indicates a do n t care output. C AB d In this problem, you will be working with a Product of Sums (PoS) synthesis for this function, as follows: a. (3 points) Identify all of the PoS Prime Implicants (PIs) for this logic function, writing a logic expression for each one. b. (3 points) Identify all of the PoS Essential Prime Implicants (EPIs) for this logic function, writing a logic expression for each one. c. (3 points) Find the minimum-cost PoS synthesis for this function; write an expression for it. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -5- KUID: d. (3 points) Find the cost (as we have defined it in this course) for your minimum-cost PoS synthesis in part (c). e. (8 points) In the space below, draw (using your logic template) the logic network for your minimum-cost PoS synthesis in part (c), using only NOR gates; you should use only NOR gates even for generating the complement of an input (normally done by a NOT gate). Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -6- KUID: 4. This problem deals with the following K-Map for function G(A,B,C,D). AB CD In this problem, you will be working with several different syntheses for this function, as follows: a. (3 points) If you were to synthesize this function with a Canonical Sum of Products (CSoP) synthesis, what would be its cost? Note that you do not have to actually find such asynthesis. b. (3 points) If you were to synthesize this function with a Canonical Product of Sums (CPoS) synthesis, what would be its cost? Note that you do not have to actually find such asynthesis. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -7- KUID: The remaining parts deal with finding a minimum-cost Sum of Products (SoP) synthesis for this function. c. (4 points) For a Sum of Products (SoP) synthesis, identify all of the Prime Implicants (PIs) for this logic function, writing a logic expression for each one. d. (4 points) Identify all of the Essential Prime Implicants (EPIs) for this logic function, writing a logic expression for each one. e. (6 points) Construct the minimum-cost SoP synthesis for this function. You must explain how you constructed your synthesis; that is, give the order in which you added product terms, and why you chose each product term. When you have constructed the synthesis, write an expression for it. Youshould not draw alogic diagram for your synthesis. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -8- KUID: 5. Two functions P and Q both have the same set of inputs (e, g,h,j). The K-Map of each function is given below. hj eg hj eg Function P Function Q The minimum-cost Sum of Products (SoP) synthesis for each function is given below, along with the cost (as we have defined it in this course) of each individual function: P = e g + e g + (either e h jorg h j) cost = 4 Q = h j + e h cost = 9 For this problem, you will focus on a jointly-minimized SoP synthesis for the 4-input (e, g,h,j), 2-output (P, Q) function. That is, your are trying to minimize the cost of the resulting 4-input, 2-output logic circuit. a. (8 points) Give a logic expression for each output (P and Q) that will result in a jointlyminimized Sum of Products (SoP) synthesis for the 4-input, 2-output function. Provide an explanation of your synthesis if you think it will be helpful. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -9- KUID: b. (5 points) Draw the jointly-minimized, 4-input, 2-output logic circuit with AND/OR/NOT gates (using your logic template). c. (3 points) What is the cost (as we have defined it in this course) of your jointly-minimized, 4-input, 2-output logic circuit? Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -- KUID: 6. ( points) This problem requires you to convert a word description of a situation into a Boolean Algebra logic expression. Students at a certain school are categorized as being either tall or short in height and either fast or slow in speed. To be eligible to be on the basketball team, a student must be either tall or fast. However, a student is ineligible (not eligible) to be on the team if the student has failed a class or if the student has failed a drug test. Let E be a binary variable that has value if astudent at this school is eligible to be on the basketball team and has value if the student is not eligible. Using the rules given above, write a Boolean expression for the function E in terms of FOUR binary inputs. Use Boolean Algebra properties as needed to express E in a Sum of Products (SoP) form. Youdo not need to identify each Boolean Algebra property that you use. Your expression for E need not (indeed, should not) be in Canonical Sum of Products (CSoP) form. You do need to clearly define each of the FOUR "input" variables and what each variable s binary values represent. Notice that I have done this for the binary "output" variable (E) that represents whether or not astudent at this school is eligible to be on the basketball team. There is more space for this problem on the next page. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -- KUID: More space for the problem on the previous page. Prof. Petr Copyright 27 David W. Petr Spring 27

EECS 4/4 Exam # -2- KUID: 7. (8 points) This problem concerns the NMOS logic circuit shown below inv olving three NMOS transistors (A, B, and C). R Hi V F V B V A V C Lo Recalling the operation of NMOS transistors, fill in the value (Hi or Lo) for the output voltage V f for each combination of input voltage values given inthe table below. V A V B V C V F Lo Lo Lo Lo Lo Hi Lo Hi Lo Lo Hi Hi Hi Lo Lo Hi Lo Hi Hi Hi Lo Hi Hi Hi Prof. Petr Copyright 27 David W. Petr Spring 27