EECS 270 Midterm Exam Spring 2011

Similar documents
EECS 270 Group Homework 4 Due Friday. June half credit if turned in by June

EECS 270 Midterm 1 Exam Closed book portion Winter 2017

EECS 270 Midterm 2 Exam Closed book portion Fall 2014

EECS 270 Final Exam Spring 2012

1. Convert the decimal number to binary, octal, and hexadecimal.

MODEL QUESTIONS WITH ANSWERS THIRD SEMESTER B.TECH DEGREE EXAMINATION DECEMBER CS 203: Switching Theory and Logic Design. Time: 3 Hrs Marks: 100

1. True/False Questions (10 x 1p each = 10p) (a) I forgot to write down my name and student ID number.

EE 121 June 4, 2002 Digital Design Laboratory Handout #34 CLK

CprE 281: Digital Logic

Final Exam review: chapter 4 and 5. Supplement 3 and 4

YEDITEPE UNIVERSITY DEPARTMENT OF COMPUTER ENGINEERING. EXPERIMENT VIII: FLIP-FLOPS, COUNTERS 2014 Fall

1. a) For the circuit shown in figure 1.1, draw a truth table showing the output Q for all combinations of inputs A, B and C. [4] Figure 1.

REPEAT EXAMINATIONS 2002

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.

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

CprE 281: Digital Logic

Lecture 8: Sequential Logic

CprE 281: Digital Logic

CSE Latches and Flip-flops Dr. Izadi. NOR gate property: A B Z Cross coupled NOR gates: S M S R Q M

Registers & Counters. Logic and Digital System Design - CS 303 Erkay Savaş Sabanci University

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

problem maximum score 1 28pts 2 10pts 3 10pts 4 15pts 5 14pts 6 12pts 7 11pts total 100pts

Section 6.8 Synthesis of Sequential Logic Page 1 of 8

CprE 281: Digital Logic

Review of digital electronics. Storage units Sequential circuits Counters Shifters

Introduction to Sequential Circuits

SEMESTER ONE EXAMINATIONS 2002

Other Flip-Flops. Lecture 27 1

EECS 270 Homework the Last Winter 2017

Clocks. Sequential Logic. A clock is a free-running signal with a cycle time.

Software Engineering 2DA4. Slides 3: Optimized Implementation of Logic Functions

St. MARTIN S ENGINEERING COLLEGE

EE292: Fundamentals of ECE

EE 109 Homework 6 State Machine Design Name: Score:

ASYNCHRONOUS SEQUENTIAL CIRCUIT CONCEPTS

Department of Computer Science and Engineering Question Bank- Even Semester:

CS 151 Final. Instructions: Student ID. (Last Name) (First Name) Signature

Digital Logic Design Sequential Circuits. Dr. Basem ElHalawany

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

Asynchronous (Ripple) Counters

Course Administration

Sequential Logic. E&CE 223 Digital Circuits and Systems (A. Kennings) Page 1

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

Flip-Flops and Sequential Circuit Design

Chapter. Synchronous Sequential Circuits

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

Dr. Shahram Shirani COE2DI4 Midterm Test #2 Nov 19, 2008

Section 001. Read this before starting!

Introduction to Microprocessor & Digital Logic

RS flip-flop using NOR gate

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

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

Midterm Exam 15 points total. March 28, 2011

A clock is a free-running signal with a cycle time. A clock may be either high or low, and alternates between the two states.

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

Combinational / Sequential Logic

Quiz #4 Thursday, April 25, 2002, 5:30-6:45 PM

Vignana Bharathi Institute of Technology UNIT 4 DLD

Sequential Logic Circuits

Decade Counters Mod-5 counter: Decade Counter:

Experiment 8 Introduction to Latches and Flip-Flops and registers

ME 515 Mechatronics. Introduction to Digital Electronics

Introduction. NAND Gate Latch. Digital Logic Design 1 FLIP-FLOP. Digital Logic Design 1

Unit 11. Latches and Flip-Flops

CHAPTER 4 RESULTS & DISCUSSION

Final Examination (Open Katz, Calculators OK, 3 hours)

REPEAT EXAMINATIONS 2004 SOLUTIONS

ELCT201: DIGITAL LOGIC DESIGN

SEQUENTIAL LOGIC. Satish Chandra Assistant Professor Department of Physics P P N College, Kanpur


INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad ELECTRICAL AND ELECTRONICS ENGINEERING

Counters

Last time, we saw how latches can be used as memory in a circuit

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

Spring 2017 EE 3613: Computer Organization Chapter 5: The Processor: Datapath & Control - 1

DIGITAL ELECTRONICS MCQs

ELCT201: DIGITAL LOGIC DESIGN

UNIT III. Combinational Circuit- Block Diagram. Sequential Circuit- Block Diagram

CS6201 UNIT I PART-A. Develop or build the following Boolean function with NAND gate F(x,y,z)=(1,2,3,5,7).

WINTER 15 EXAMINATION Model Answer

Page 1) 7 points Page 2) 16 points Page 3) 22 points Page 4) 21 points Page 5) 22 points Page 6) 12 points. TOTAL out of 100

Midterm Examination II

IT T35 Digital system desigm y - ii /s - iii

EXPERIMENT 13 ITERATIVE CIRCUITS

A.R. ENGINEERING COLLEGE, VILLUPURAM ECE DEPARTMENT

cascading flip-flops for proper operation clock skew Hardware description languages and sequential logic

Analogue Versus Digital [5 M]

Computer Architecture and Organization

Where Are We Now? e.g., ADD $S0 $S1 $S2?? Computed by digital circuit. CSCI 402: Computer Architectures. Some basics of Logic Design (Appendix B)

MODULE 3. Combinational & Sequential logic

Sequential Design Basics

Supplement 3 Asynchronous Sequential Circuit Concepts

EMT 125 Digital Electronic Principles I CHAPTER 6 : FLIP-FLOP

Chapter 6 Digital Circuit 6-5 Department of Mechanical Engineering

ECE 301 Digital Electronics

Outline. CPE/EE 422/522 Advanced Logic Design L03. Review: Clocked D Flip-Flop with Rising-edge Trigger. Sequential Networks

Name: Date: Suggested Reading Chapter 7, Digital Systems, Principals and Applications; Tocci

AIM: To study and verify the truth table of logic gates

Chapter 5: Synchronous Sequential Logic

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

Transcription:

EES 270 Midterm Exam Spring 2011 Name: unique name: Sign the honor code: I have neither given nor received aid on this exam nor observed anyone else doing so. Scores: Page # Points 2 /15 3 /10 4 /6 5 /12 6 /10 7 /15 8 /12 9 /8 10 /12 Total /100 NOTES: 1. Open book and Open notes 2. There are 10 pages total. ount them to be sure you have them all. 3. alculators are allowed, but no PAs, Portables, ell phones, etc. 4. This exam is fairly long: don t spend too much time on any one problem. 5. You have about 120 minutes for the exam. 6. Some questions may be more difficult than others. You may want to skip around. 7. Be sure to show work and explain what you ve done when asked to do so. Even if work isn t requested it is a good idea to provide your work as it will help with partial credit. 1/10

Short Answer/Fill in the blank 1. Fill in each blank or circle the best answer. [15 points, -2 per wrong or blank answer, min 0] a. If you were going to build a 1-bit equals comparator with a single gate, you d use a gate. b. A clock period of 10ns corresponds to a frequency of MHz. c. The canonical product-of-sums representation of (A+B )*(A+ ) is d. is the largest value that can be represented by a 4-bit 2 s complement number. Provide your answer in decimal. e. The 6-bit 2 s complement number representation of -11 is. f. 10001, when treated as a 5-bit signed-magnitude number, has a decimal representation of. g. 4.375 would be represented in binary as: h. RAM is typically faster / slower than SRAM. i. The statement F=a b+b c consists of 3 variables and unique literals. If it were rewritten to be in canonical sum-of-products form it would have minterms. 2/10

2. Using a 4-bit up/down counter with enable and reset (shown below) and as few standard gates as possible, design a circuit that outputs a 1 every 9 th clock period. Be sure all your inputs are driven by something (you may freely use ground and Vcc). Partial credit given for working but inefficient designs. [5 points] lock Up own ounter 3 Enable 2 1 lock 0 Reset 3. Using the rules of logic, convert (A*B) *(A *) into a minimal sum-of-products form. Provide the name of the rule used for each step. [5 points] 3/10

4. omplete the following timing diagram for an SR-latch with enable. [6 points] If the value is unknown (or oscillating) at some point, clearly indicate that with hashes (like this) Value unknown S R 4/10

Longer answer 1) Say you have the following values associated with the process you are using: FF: Min Max lock to 1ns 2ns Set-up time 4ns Hold time 5ns OR/AN (2 or 3 2ns 4ns input) NOT 1ns 2ns XOR 3ns 6ns NAN 1ns 3ns The input ( X ) can change as early as 2ns after the rising edge of the clock and as late as 4ns after the rising edge of the clock. 0 X B Bob B 1 lock a. Add inverter pairs (as needed) to insure the hold time requirements will be met. You should add them in a way that has the least impact on the worst-case delay (as a first priority) and which keeps the number of inverter pairs needed to a minimum (as a second priority). [5 points] b. After you ve made your changes in part a, compute the maximum frequency at which this device can be safely clocked. learly show how you got your answer. [7 points] 5/10

2) raw the state-transition diagram that describes the following state-machine. Show your work. You may assume that the minimum clock to delay is greater than the hold time. Assume the initial state is when all the flip-flops have a value of 0. Your state transition diagram should only include those states that can ever be reached when you start at the initial state. [10 points] lock R B R B R B X Y 6/10

3) esign a state-transition diagram for a state machine with two inputs, X and Y, and one output Z. The output should be a 1 if either X and Y were both the same for the last two cycles or if the last two values of Y were 11. To receive points, your answer must have no more than 12 states. [15 points; 12 points for a correct answer; 3 extra for a correct and minimal-state answer] 7/10

4) For this problem, assign state bits S[1:0] as 00 for state R, 01 for state S, and 10 for state T. Using K-maps, find the minimal sum-of-products for next state (NS[1:0]) and the outputs (Y and Z). You are to assume that you will never reach the state S[1:0]=11, so you don t care what happens in that case. You must show your work to get any credit! [12 points] Inputs are A & B. Output is Y. Y is a 1 in State S and is a 0 in states R and T. R A&B!B S B!A+!B T A!A NS1= NS0= Y= 8/10

5) Build a JK flip-flop out of a that has no enable or reset as well as standard gates. [8 points] The combination J = 1, K = 0 is a command to set the flip-flop; The combination J = 0, K = 1 is a command to reset the flip-flop; The combination J = K = 1 is a command to toggle the flip-flop, i.e., change its output to the logical complement of its current value. The combination J = K = 0 is a command to hold the current value. K JK flip-flop J B B 9/10

6) onsider the function F= Σ wxyz (0,1,3,8,12,13,14) + d(15). a) List all the prime implicants (each implicant should be in the form of a product term) [3 points] b) List all the distinguished ones (each distinguished one should be in the form of a product term) [2 points] c) List all of the essential prime implicants (again each implicant should be in the form of a product term) [3 points] d) Write a minimal sum-of-products equation for this function. [4 points] 10/10