Digital Logic Design - Chapter 4

Similar documents
6 Synchronous State Machine Design

Digital Logic Design - Chapter 5

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

Chapter 4. Sequential Logic Circuits

Sequential Logic Circuits

Fundamentals of Computer Systems

Chapter 7 Sequential Logic

Synchronous Sequential Circuit

I. Motivation & Examples

Problem Set 9 Solutions

Chapter 5 Synchronous Sequential Logic

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

Clocked Synchronous State-machine Analysis

Chapter #6: Sequential Logic Design

Digital Fundamentals

Menu. Master-Slave Flip-Flop

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Synchronous Sequential Circuit Design. Digital Computer Design

Roger L. Tokheim. Chapter 8 Counters Glencoe/McGraw-Hill

CHW 261: Logic Design

Vidyalankar S.E. Sem. III [EXTC] Digital Electronics Prelim Question Paper Solution ABCD ABCD ABCD ABCD ABCD ABCD ABCD ABCD = B

Synchronous Sequential Logic

COE 202: Digital Logic Design Sequential Circuits Part 3. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Finite State Machine. By : Ali Mustafa

Digital Circuits and Systems

ECE 341. Lecture # 3

Sequential Circuits Sequential circuits combinational circuits state gate delay

3. Complete the following table of equivalent values. Use binary numbers with a sign bit and 7 bits for the value

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

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

Lecture 10: Synchronous Sequential Circuits Design

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

Sample Test Paper - I

Digital Circuits ECS 371

PGT104 Digital Electronics. PGT104 Digital Electronics

Time Allowed 3:00 hrs. April, pages

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

Counters. We ll look at different kinds of counters and discuss how to build them

Lecture 7: Logic design. Combinational logic circuits

Chapter 7. Sequential Circuits Registers, Counters, RAM

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Sequential vs. Combinational

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

Sequential Logic Worksheet

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

Reg. No. Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Second Semester. Computer Science and Engineering

Digital Fundamentals

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

Introduction EE 224: INTRODUCTION TO DIGITAL CIRCUITS & COMPUTER DESIGN. Lecture 6: Sequential Logic 3 Registers & Counters 5/9/2010

Digital Electronics Final Examination. Part A

LOGIC CIRCUITS. Basic Experiment and Design of Electronics

Chapter 14 Sequential logic, Latches and Flip-Flops

CS221: Digital Design. Dr. A. Sahu. Indian Institute of Technology Guwahati

Homework #4. CSE 140 Summer Session Instructor: Mohsen Imani. Only a subset of questions will be graded

Dr. Nicola Nicolici COE/EE2DI4 Midterm Test #2 Nov 22, 2006

ELCT201: DIGITAL LOGIC DESIGN

10/12/2016. An FSM with No Inputs Moves from State to State. ECE 120: Introduction to Computing. Eventually, the States Form a Loop

COE 202: Digital Logic Design Sequential Circuits Part 4. Dr. Ahmad Almulhem ahmadsm AT kfupm Phone: Office:

Topic 8: Sequential Circuits

ELCT201: DIGITAL LOGIC DESIGN

Synchronous 4 Bit Counters; Binary, Direct Reset

Q: Examine the relationship between X and the Next state. How would you describe this circuit? A: An inverter which is synched with a clock signal.

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

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

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

Simplify the following Boolean expressions and minimize the number of literals:

EECS150 - Digital Design Lecture 17 - Sequential Circuits 3 (Counters)

University of Minnesota Department of Electrical and Computer Engineering

Design at the Register Transfer Level

EE 209 Logic Cumulative Exam Name:

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

The Design Procedure. Output Equation Determination - Derive output equations from the state table

Digital Electronics. Part A

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Fundamentals of Digital Design

ECE/Comp Sci 352 Digital Systems Fundamentals. Charles R. Kime Section 2 Fall Logic and Computer Design Fundamentals

Lecture 8: Sequential Networks and Finite State Machines

I. Motivation & Examples

Written exam with solutions IE Digital Design Friday 21/

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

EECS150 - Digital Design Lecture 18 - Counters

EECS150 - Digital Design Lecture 18 - Counters

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

EE 209 Spiral 1 Exam Solutions Name:

Different encodings generate different circuits

Lecture 9: Sequential Logic Circuits. Reading: CH 7

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

Lecture 17: Designing Sequential Systems Using Flip Flops

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


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

MOSIS REPORT. Spring MOSIS Report 1. MOSIS Report 2. MOSIS Report 3

Show that the dual of the exclusive-or is equal to its compliment. 7

Appendix B. Review of Digital Logic. Baback Izadi Division of Engineering Programs

EEE2135 Digital Logic Design

Lecture 10: Sequential Networks: Timing and Retiming

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Overview of Chapter 4

Sequential Circuits. Circuits with state. Silvina Hanono Wachman Computer Science & Artificial Intelligence Lab M.I.T. L06-1

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

Transcription:

Digital Logic Design - Chapter 4 1. Analyze the latch circuit shown below by obtaining timing diagram for the circuit; include propagation delays. Y This circuit has two external input and one feedback input, therefore has total of 8 possible input conditions: Input Output Current Y Next Y 0 0 0 0 0 0 1 1 0 1 0 0 0 1 1 0 1 0 0 1 1 0 1 1 1 1 0 0 1 1 1 0 Corresponding Timing Diagram: Y 1U. Analyze the latch circuit shown below by obtaining timing diagram for the circuit; include propagation delays. Y 2. Analyze the Flip-Flop circuit using K-map to determine if the input conditions =11 transition to =00 with initial state =0 can result in a critical race. Digital Design Logic www.engrc.com page 31

= 110 are changed simultaneously to 00 may change first = 010 + = 0 table state next changes, = 0 0 0 + = 0 table state 00 01 11 0 1 0 1 0 0 0 0 10 1 1 may change first = 100 + = 1 (unstable state). Next changes, = 001 + = 1 (stable state). 00 01 11 0 1 0 1 0 0 0 0 10 1 1 Note: Depending on if changed first or changed first, the final state will be different; therefore, we have a critical race. 2U. Analyze the Flip-Flop circuit using K-map to determine if the input conditions =00 transition to =11 with initial state =1 can result in a critical race. 3. Draw a clock signal with four 1-to-0 timing events, a nonzero setup time, t su, and a nonzero hold time, t h. Also draw one excitation input signal EI that follows the sequence 0101 and meets the setup and hold time requirements. In the excitation input, the first bit in the sequence (0) occurs in time for the first clock timing event, the second bit in the sequence (1) occurs in time for the second clock timing event, and so forth. #1 #2 #3 #4 EI 3U. Draw a clock signal with five 0-to-1 timing events, a nonzero setup time, t su, and a nonzero hold time, t h. Also draw one excitation input signal EI that follows the sequence 10110 and meets the setup and hold time requirements. In the excitation input, the first bit in the sequence (1) occurs in time for the first clock timing event, the second bit in the sequence (0) occurs in time for the second clock timing event, and so forth. Digital Design Logic www.engrc.com page 32

4. how how a positive-edge-triggered D flip-flop and an inverter can be used as a negative-edge D flip-flop. D D FF D FF 4U. how how a positive-edge-triggered D flip-flop and other logic gates can be used to design a positive-edge T flip-flop. 5. Complete the timing diagram shown below for a negative-edge-triggered J-K flip-flop. Assume that the J and K inputs always meet the setup and hold time requirements for the J-K flip-flop. Hint: Use the JK flip-flop characteristic table. J J K + 0 0 0 1 0 1 0 1 1 1 K Digital Design Logic www.engrc.com page 33

J J K + 0 0 0 1 0 1 0 1 1 1 K 5U. Complete the timing diagram shown below for a negative-edge-triggered flip-flop. Assume that the and inputs always meet the setup and hold time requirements for the flip-flop. Hint: Use the flip-flop characteristic table. + 0 0 0 1 0 1 0 1 1 1 0 6. Obtain the state diagram for the circuit shown below. D1 1 Y1 ystem Clock CL D2 2 Y2 Case 1 tate Diagram (when CL = 0): Digital Design Logic www.engrc.com page 34

00 eset 2 1 Case 2. tate Diagram (when CL = 1): 1 + = D 1 = 2 2 + = D 2 = 1 P/N Table 1 2 1 + 2 + 0 0 1 0 0 1 0 0 1 0 1 1 1 1 0 1 01 10 00 CL 11 6U. Obtain the state diagram for the circuit shown below. x D1 1 Y1 z ystem Clock D2 2 Y2 7. Analyze the state machine shown below to obtain the following items: a) Excitation input and external output equations b) P/N c) tate Diagram Digital Design Logic www.engrc.com page 35

Z2 X J1 Y1 Z1 K1 Y1 J2 Y2 K2 Y2 Y a) Excitation Equations: J1= X K1 = X.Y2 + X.Y2 J2 = Y1 K2 = X + Y1 Apply the excitation equations into the JK ff Characteristic equation (Yi + =Ji.Yi + Ki.Yi) Y1 + = X.Y1 + (X.Y2 + X.Y2) Y1 Y2 + = Y1.Y2 + (X + Y1).Y2 External Outputs Z 1 = Y 1.Y 2 Z 2 = Y 1.Y 2 + X b) P/N Table y 2 y 1 x y 2 + y 1 + J 1 K 1 J 2 K 2 Z 1 Z 2 0 0 0 1 0 0 1 1 0 0 1 0 0 1 1 1 1 0 1 1 0 0 0 1 0 0 0 0 1 0 1 0 1 0 1 1 1 0 1 0 0 1 0 0 1 0 0 1 1 0 0 1 0 0 1 1 0 1 0 1 1 1 1 1 0 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 0 1 1 1 0 1 1 0 Digital Design Logic www.engrc.com page 36

c) tate Diagram 0/1 x/ Z 2 0/1 00/0 1/0 1/0 1/1 01/0 0/1 1/0 y 2 y 1 /Z 1 11/1 0/1 10/0 7U. Analyze the state machine shown below to obtain the following items: a) Excitation input and external output equations b) P/N c) tate Diagram Z 2 X Y1 Z 1 Y1 Y2 Y2 Y 8. Obtain the state diagram for the circuit shown below. What is the mod of the counter? Is this counter useful? Change only the value being loaded at the inputs to obtain a mod 9 counter. What value must be loaded to do this? Digital Design Logic www.engrc.com page 37

Vcc Binary UP Counter CL LOAD CO CL and LOAD are synchronous inputs CL will set all output to 0 LOAD allows values on A,B,C and D got to A, B, C and D. D is MB & A is LB Y A B C D A B C D GND 0011 Preload 0100 0111 1000 Counter is a mod-6 counter (8 3 + 1). It can be used to count from 3 to 8. If A,B,C and D were grounded, then the counter would count from 0 to 8 (mod-9). 8U. Obtain the state diagram for the circuit shown below. What is the mod of the counter? Is this counter useful? Change only the value being loaded at the inputs to obtain a mod 9 counter. What value must be loaded to do this? Digital Design Logic www.engrc.com page 38

Vcc Binary UP Counter CL LOAD CO CL and LOAD are synchronous inputs CL =0 will set all output to 0 LOAD=1 allows values on A,B,C and D to pass through to A, B, C and D. D is MB & A is LB Y A B C D A B C D GND 9. What is the frequency of the fastest clock for a circuit using D flip flops with t hold =5 nsec. and t setup = 10 nsec. Assuming there are no other limitations. Tclk > 15 nsec. fclk < 10 9 /15 or 66.67 Mhz 9U. What is the frequency of the fastest clock for a circuit using D flip flops with t hold =50 psec. and t setup = 150 psec. Assuming there are no other limitations. Digital Design Logic www.engrc.com page 39

10U. Analyze the following logic circuit: x T 0 0 Y 0 T 1 1 Y 1 Z 1 0 Y 0 1 Y 1 Y Z 2 11U. Analyze the following logic circuit: x J 0 0 Y 0 J 1 1 Y 1 Z K 0 0 Y 0 K 1 1 Y 1 Y Digital Design Logic www.engrc.com page 40