P2 (10 points): Given the circuit below, answer the following questions:

Similar documents
Sequential vs. Combinational

Problem Set 9 Solutions

Sequential Logic. Rab Nawaz Khan Jadoon DCS. Lecturer COMSATS Lahore Pakistan. Department of Computer Science

Synchronous Sequential Logic

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

Sequential Logic Circuits

ELEC Digital Logic Circuits Fall 2014 Sequential Circuits (Chapter 6) Finite State Machines (Ch. 7-10)

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

EE141- Spring 2007 Digital Integrated Circuits

Chapter 4. Sequential Logic Circuits

ELCT201: DIGITAL LOGIC DESIGN

Vidyalankar S.E. Sem. III [ETRX] Digital Circuits and Design Prelim Question Paper Solution

Chapter 7 Sequential Logic

Topics. CMOS Design Multi-input delay analysis. John A. Chandy Dept. of Electrical and Computer Engineering University of Connecticut

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) ELECTRICAL & ELECTRONICS ENGINEERING EXAMINATION SEMESTER /2017

S.Y. Diploma : Sem. III [CO/CM/IF/CD/CW] Digital Techniques

Sequential Circuits Sequential circuits combinational circuits state gate delay

Topic 8: Sequential Circuits

Sequential Circuit Analysis

Chapter 13. Clocked Circuits SEQUENTIAL VS. COMBINATIONAL CMOS TG LATCHES, FLIP FLOPS. Baker Ch. 13 Clocked Circuits. Introduction to VLSI

CSE 140 Midterm 2 Tajana Simunic Rosing. Spring 2008

UNIVERSITY OF WISCONSIN MADISON

Gates and Flip-Flops

CMPEN 411. Spring Lecture 18: Static Sequential Circuits

Memory Elements I. CS31 Pascal Van Hentenryck. CS031 Lecture 6 Page 1

Integrated Circuits & Systems

DE58/DC58 LOGIC DESIGN DEC 2014

I. Motivation & Examples

Digital Logic and Design (Course Code: EE222) Lecture 19: Sequential Circuits Contd..

Computers also need devices capable of Storing data and information Performing mathematical operations on such data

Clocked Synchronous State-machine Analysis

EET 310 Flip-Flops 11/17/2011 1

CSE140: Components and Design Techniques for Digital Systems. Midterm Information. Instructor: Mohsen Imani. Sources: TSR, Katz, Boriello & Vahid

Lecture 14: State Tables, Diagrams, Latches, and Flip Flop

S.Y. Diploma : Sem. III [DE/ED/EI/EJ/EN/ET/EV/EX/IC/IE/IS/IU/MU] Principles of Digital Techniques

State and Finite State Machines

Chapter 5 Synchronous Sequential Logic

Digital Integrated Circuits A Design Perspective

Chapter 14 Sequential logic, Latches and Flip-Flops

Hold Time Illustrations

Lecture 9: Sequential Logic Circuits. Reading: CH 7

Digital Integrated Circuits A Design Perspective

NTE74177 Integrated Circuit TTL 35Mhz Presettable Binary Counter/Latch

GMU, ECE 680 Physical VLSI Design

CHAPTER 9: SEQUENTIAL CIRCUITS

Sample Test Paper - I

9/18/2008 GMU, ECE 680 Physical VLSI Design

Overview of Chapter 4

Digital Integrated Circuits A Design Perspective

ALU A functional unit

Time Allowed 3:00 hrs. April, pages

MODULE 5 Chapter 7. Clocked Storage Elements

Week-5. Sequential Circuit Design. Acknowledgement: Most of the following slides are adapted from Prof. Kale's slides at UIUC, USA.

Topic 8: Sequential Circuits. Bistable Devices. S-R Latches. Consider the following element. Readings : Patterson & Hennesy, Appendix B.4 - B.

NTE74176 Integrated Circuit TTL 35Mhz Presettable Decade Counter/Latch

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

Jan M. Rabaey Anantha Chandrakasan Borivoje Nikolic. November Digital Integrated Circuits 2nd Sequential Circuits

Digital Design. Sequential Logic

Sequential Circuits. CS/EE 3700 : Fundamentals of Digital System Design


Menu. Master-Slave Flip-Flop

Philadelphia University Student Name: Student Number:

Digital Logic Design - Chapter 4

Konstruktion av Vippor och Latchar

University of Toronto Faculty of Applied Science and Engineering Edward S. Rogers Sr. Department of Electrical and Computer Engineering

Digital Circuits and Systems

Memory, Latches, & Registers

WORKBOOK. Try Yourself Questions. Electrical Engineering Digital Electronics. Detailed Explanations of

Lecture 10: Sequential Networks: Timing and Retiming

Chapter 7. Sequential Circuits Registers, Counters, RAM

Written exam with solutions IE1204/5 Digital Design Monday 23/

5. Sequential Logic x Computation Structures Part 1 Digital Circuits. Copyright 2015 MIT EECS

CPE100: Digital Logic Design I

Designing Sequential Logic Circuits

EE141Microelettronica. CMOS Logic

I. Motivation & Examples

A Mathematical Solution to. by Utilizing Soft Edge Flip Flops

Lecture 9: Digital Electronics

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Sequential Logic Worksheet

Fundamentals of Digital Design

CSE 140 Midterm 2 - Solutions Prof. Tajana Simunic Rosing Spring 2013

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Computer Science Final Examination Friday December 14 th 2001

ALU, Latches and Flip-Flops

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Digital Electronics Final Examination. Part A

NOTE: The Flatpak version has the same pinouts (Connection Diagram) as the Dual In-Line Package. *MR for LS160A and LS161A *SR for LS162A and LS163A

Synchronous Sequential Circuit

King Fahd University of Petroleum and Minerals College of Computer Science and Engineering Computer Engineering Department

Motivation for CDR: Deserializer (1)

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

CPS 104 Computer Organization and Programming Lecture 11: Gates, Buses, Latches. Robert Wagner

CS/COE1541: Introduction to Computer Architecture. Logic Design Review. Sangyeun Cho. Computer Science Department University of Pittsburgh

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

A B D 1 Y D 2 D 3. Truth table for 4 to 1 MUX: A B Y 0 0 D D D D 3

State & Finite State Machines

Module - 19 Gated Latches

Transcription:

P1 (10 points): Given the function f(a, b, c, d) = m(3,4,5,10,14) + D(6,7): A: Fill in the timing diagram for f. B: Implement f using only 2-1 MUXes. Your circuit should not include more than four 2-1 MUXes. The output f should be produced directly from the output of a 2-1 MUX with d as the select line. C: Implement f using only two 4-1 MUXes as follows: one of the 4-1 MUXes shall use a and d as the select line, while the other 4-1 MUX shall use b and c as the select line. P2 (10 points): Given the circuit below, answer the following questions: A: What type of circuit is this? B: Show that this circuit has five combinations for which the output of the circuit is in a memory state. C: Fill in the following timing diagram. D: What input combination of C, S, and R leads to an undesirable output? 1

P3 (12 points): Answer the following questions based on the timing diagram shown below for an HG-NOR Latch. A: What combination of inputs H and G leads to an undesirable output? B: The inputs H and G are used to drive the inputs to an SR Latch using NOR gates. Fill in the columns of the following table for Q, Q6, S, and R. H G Q Q6 S R 0 0 0 1 1 0 1 1 C: Write the expression for S and R in terms of H and G. D: Draw the circuit for the HG NOR Latch P4 (6 points): Answer the following questions based on the circuit shown below. A: The latch that appears (twice) in the above circuit is a D Latch. Show the characteristic table for a D Latch. B: Fill in the timing diagram for the values shown above. 2

P5 (10 points): Show how a D Flip-Flop (DFF) can be made using a T Flip- Flop (TFF). Your circuit must contain all of the functionality of a DFF (PRESET and CLEAR implementations are not necessary), but must use only one TFF and one 2-1 MUX. P6 (16 points): Answer the following questions about the Negative-Edge- Triggered Master-Slave DFF with PRESET_N and CLEAR_N connections, as shown in Figure 5.12 from the book. Suppose that D=1 and CLK=0. Answer the following questions about Q. A: Ignoring PRESET_N and CLEAR_N (assume that they are not connected), what effect does pulsing the clock have on Q in this circuit? B: What effect does pulsing PRESET_N have on this circuit? C: What effect does pulsing CLEAR_N have on this circuit? D: What will be the value of Q if PRESET_N=0 and CLEAR_N=1? E: What will be the value of Q if PRESET_N=0 and CLEAR_N=0? F: What will be the value of Q if the clock is pulsed while PRESET_N=0? G: What will be the value of Q if the clock is pulsed while CLEAR_N=0? H: What will be the value of Q if the clock is pulsed while CLEAR_N=1 and PRESET_N=1? P7 (10 points): Show how a DFF can be made using a J-K Flip-Flop (JKFF). You may only use one JKFF and one 2-1 MUX. 3

P8 (12 points): Given the circuit below, fill out the following table. Use the filled-in values to determine the unknown values from left to right in chronological order. If a value is unknown for the current time, use its value in the previous time step. For instance, if L requires you to know M, but M has not been determined at time t=1, then use the value of M at time t=0 Time D C K L M N Q P t=0 0 0 1 1 1 t=1 0 1 t=2 0 0 t=3 1 0 1 0 0 0 0 1 A: At the end of this table, the value of Q is 0, but D is 1. Describe what must happen to C after time t=3 in order for Q=1, assuming D remains constant. B: What type of circuit is the above circuit? 4

P9 (14 points): Look at the circuit shown below. In this circuit, the input Z is connected as the clock to both of the flipflops shown. The inputs X and W go into the JKFF as J and K, respectively. The preset and clear connections are both connected to high voltage VCC. The initial value of Q1=0 and the initial value of Q0=1. A: Fill in the following timing diagram. The setup and hold times for both of the flip-flops are equivalent to half the length of a block in the timing diagram. B: Which input(s) cause a violation of setup time to its flip-flop? C: In general, what are the implications of a setup time violation? 5