Digital Logic Design. Midterm #2

Similar documents
Digital Logic Design. Midterm #2

Fundamentals of Digital Design

Philadelphia University Faculty of Engineering

This form sometimes used in logic circuit, example:

CPE100: Digital Logic Design I

ELE2120 Digital Circuits and Systems. Tutorial Note 9

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

Principles of Computer Architecture. Appendix B: Reduction of Digital Logic. Chapter Contents

Example: A vending machine

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

Electronics I. Midterm 2

Sequential Circuit Analysis

Philadelphia University Student Name: Student Number:

Philadelphia University Student Name: Student Number:

Computer Science Final Examination Friday December 14 th 2001

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

CprE 281: Digital Logic

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

Digital Design. Sequential Logic

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

UNIVERSITY OF WISCONSIN MADISON

211: Computer Architecture Summer 2016

Sample Test Paper - I

Clocked Synchronous State-machine Analysis

Karnaugh Maps (K-Maps)

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

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

Chapter 7. Synchronous Sequential Networks. Excitation for

Review for B33DV2-Digital Design. Digital Design

Sequential Circuit Design

Digital Circuits and Systems

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Digital Logic. CS211 Computer Architecture. l Topics. l Transistors (Design & Types) l Logic Gates. l Combinational Circuits.

Review for Final Exam

6 Synchronous State Machine Design

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits


Systems I: Computer Organization and Architecture

Electric Circuits I. Midterm #1 Examination

Boolean Algebra, Gates and Circuits

EE 209 Spiral 1 Exam Solutions Name:

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

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

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

DIGITAL LOGIC CIRCUITS

Chapter 7 Logic Circuits

MC9211 Computer Organization

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

The Karnaugh Map COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Synchronous Sequential Logic

CprE 281: Digital Logic

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

Chapter 5 Synchronous Sequential Logic

Logic design? Transistor as a switch. Layered design approach. CS/COE1541: Introduction to Computer Architecture. Logic Design Review.

Time Allowed 3:00 hrs. April, pages

Combinational Logic. By : Ali Mustafa

Design at the Register Transfer Level

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

University of Guelph School of Engineering ENG 2410 Digital Design Fall There are 7 questions, answer all questions.

Electronics II. Midterm #2

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

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

Faculty of Engineering. FINAL EXAMINATION FALL 2008 (December2008) ANSWER KEY

Finite State Machine. By : Ali Mustafa

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

Boolean Algebra and Logic Simplification

Mealy & Moore Machines

CPE100: Digital Logic Design I

Simplifying Logic Circuits with Karnaugh Maps

COMBINATIONAL LOGIC CIRCUITS. Dr. Mudathir A. Fagiri

Digital Electronics Circuits 2017

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

Lecture (08) Synchronous Sequential Logic

Lecture 17: Designing Sequential Systems Using Flip Flops

Analysis of clocked sequential networks

Electronics II. Final Examination

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

FSM model for sequential circuits

Minimization techniques

Combinational Logic Circuits Part II -Theoretical Foundations

Ch 7. Finite State Machines. VII - Finite State Machines Contemporary Logic Design 1

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

CPE/EE 422/522. Chapter 1 - Review of Logic Design Fundamentals. Dr. Rhonda Kay Gaede UAH. 1.1 Combinational Logic

( c) Give logic symbol, Truth table and circuit diagram for a clocked SR flip-flop. A combinational circuit is defined by the function

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Chapter 15 SEQUENTIAL CIRCUITS ANALYSIS, STATE- MINIMIZATION, ASSIGNMENT AND CIRCUIT IMPLEMENTATION

CHAPTER1: Digital Logic Circuits Combination Circuits

CSCI 2150 Intro to State Machines

Topics for Lecture #9. Button input processor

Lecture 6: Manipulation of Algebraic Functions, Boolean Algebra, Karnaugh Maps

Chapter 5. Digital systems. 5.1 Boolean algebra Negation, conjunction and disjunction

Department of Electrical & Electronics EE-333 DIGITAL SYSTEMS

ENGG 1203 Tutorial. Solution (b) Solution (a) Simplification using K-map. Combinational Logic (II) and Sequential Logic (I) 8 Feb Learning Objectives

Logic Design Combinational Circuits. Digital Computer Design

BER KELEY D AV IS IR VINE LOS AN GELES RIVERS IDE SAN D IEGO S AN FRANCISCO

Chapter 2 Combinational Logic Circuits

Digital Electronics Sequential Logic

PG - TRB UNIT-X- DIGITAL ELECTRONICS. POLYTECHNIC-TRB MATERIALS

Combinational Logic Design/Circuits

Transcription:

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - igital Logic esign Midterm #2 Problems Points. 5 2. 4 3. 6 Total 5 Was the exam fair? yes no

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 2 Problem 5 points Given is the logic circuit model of a state machine shown in Figure.. y y + (y +) J K J Q FF K Q C y y Z y y + y (y + ) J 2 K 2 J Q FF2 K Q C J = (y +) J 2 = y (y + ) K = K 2 = Z = y Figure. state machine with two flip-flops in its internal state memory block. Logical model of the circuit. erived excitation functions of the internal state memory flip-flops and the output function z...5 Using the given logical model of Figure., demonstrate an ability to:. determine the expressions of logic functions at the outputs of all logic gates in the combinational block of the logical model; 2. apply the knowledge of Boolean algebra to the simplification of logic functions; 3. recite the characteristic function of the JK-type flip-flop, and compose expressions of the state transition excitation functions of the internal memory block; 4. derive the content of the State Transition Table from the Next State Functions, 5. draw the State Transition Graph based on the known State Transition Table. Hint # For full credit: all equations, all answers to questions, all circuit models and other graphical representations are expected to be entered into the space designated for them; all shown numerical results must be preceded by the symbolic and numeric expressions whose evaluation produces the results. Solution n explicit demonstration of understanding the following solution steps is expected. Next to the outputs of logic gates in the circuit of Figure., indicate the expressions of logic gates output functions. Write in the space reserved for Figure. the expressions of the

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 3 excitation functions of internal memory flip-flops and the expression of the output function Z..2 In the space reserved for equation (-).5 Characteristic Function. fill in the expression of the JK-type flip-flop s Y i = J i y i + K i y i (-).3 In the space reserved for equations (-2) through (-6), fill in the simplified expressions of the flipflops excitation functions of the internal state memory (flip-flops), and the output Z. J = (+y ) (-2) J 2 = y (y + ) = y (-4) K = (-3) K 2 = (-5) Z = y (-6).4 In the space reserved for equations (-7) and (-8), fill in the simplified expressions of the State Transition Functions of the internal state memory flip-flops. Y = J y +K y = (+y ) y + y = y +y + y = y + y (-7) Y 2 = J 2 + K 2 = y + = (-8).5.6 In the space reserved for Figure.2, fill in the contents of the State Transition Table of the State Machine of the logic circuit model of Figure.. In the space reserved for Figure.2, prepare the drawing of the State Transition Graph (state diagram) of the State Machine of the logic circuit model of Figure.. y / / / / / / / /,/ / / / / Y Y 2 /z / / Figure.2 Results of the analysis. State Transition Table of the SM from Figure.. State Transition Graph (State diagram) of the SM from Figure..

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 4 Problem 2 4 points Given is a logic function F 2 in the decimal sum of minterms representation (2-). F 2 (,B,C,) = Σ(,, 4, 6, 8,, 4, 5) (2-) 2 Problem Statement For the logic function (2-), demonstrate an ability to:. design a combinational circuit which uses an 8: multiplexer module to implement the function (2-), 2. apply the design method which is based on preparation of either one of the following two tables: - MUX Implementation Table, or - Truth Table of the function to be implemented. Hint # For full credit: all equations, all answers to questions, all circuit models and other graphical representations are expected to be entered into the space designated for them; all shown numerical results must be preceded by the symbolic and numeric expressions whose evaluation produces the shown results. Problem Solution n explicit demonstration of understanding the following solution steps is expected. 2. epending on the selected design method, fill in the missing data in either the MUX Implementation Table of Figure 2., or the Truth Table of Figure 2.2. I I I 2 I 3 I 4 I 5 I 6 I 7 2 3 4 5 6 7 8 9 2 3 4 5 MUX 8: 2 3 4 5 6 7 s 2 s s F 2 (,B,C,) B C Figure 2. MUX Implementation Table method. MUX implementation table. Implementation of the function (2-).

2 s7m2s_dild7.fm - 5 The University of Toledo EECS: igital Logic esign r. nthony. Johnson 2.2 Consistent with the selected design method, show in the space reserved for Figure 2., or alternatively in the space reserved for Figure 2.2, how the logical constants and, and the literals of the logical variables, B, C, and ought to be applied to the MUX module s inputs. Figure 2.2 Truth Table method. Truth table. Implementation of the function (2-). 2 3 4 5 6 7 s 2 s s MUX 8: F(,B,C,) B C B C F I k k=(s 2 s s ) 2,, 4, 6, 8,, 4, 5)

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 6 Problem 3 6 points Given is the following verbal specification of a state machine (SM): the SM has one input signal S, the SM has one output signal Z, (c) the SM recognizes the input signal sequence, (d) every time the input signal sequence has been observed by the SM, the output signal Z is to be set to Z =, otherwise Z =; (overlapping sequences are to be recognized). (e) the SM is to be implemented using positive edge triggered -type flip-flop(s). S Next state logic I N Q n / Internal state memory Y y n / I Output logic O y Z Figure 3. General architecture of a Mealy type State Machine. Problem Statement Based on the given verbal specification, demonstrate an ability to:. compose the graphical representation of the State Transition Graph of a state machine that will implement the given verbal specification of the SM, 2. compose a State Transition Table which describes the same State Machine as already described by the composed State Transition Graph, 3. combine the information from the State Transition Table and the flip-flop s Excitation Table to prepare the State Transition Excitation Table of the specified SM. 4. apply the Karnaugh Map simplification method to derive the internal state excitation functions described in the Transition Excitation Table of the specified SM, 5. compose a minimum number of logic gates circuit which implements the State Machine for which the internal state memory is specified, and for which the flip-flop excitation functions have been derived. Hint # For full credit: all equations, all answers to questions, all circuit models and other graphical representations are expected to be entered into the space designated for them; all shown numerical results must be preceded by the symbolic and numeric expressions whose evaluation produces the shown results.

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 7 Problem Solution n explicit demonstration of understanding the following solution steps is expected. 3. ssigning to the initial state the binary encoded name "", prepare a graphical representation of the State Transition Graph of the SM which will implement the given verbal specification. Show the prepared State Transition graph in the space reserved for Figure 3.2. 3.2 In the space reserved for Figure 3.2 fill in the contents of the State Transition Table that corresponds to the prepared state transition graph. 3.3 In the space reserved for Figure 3.2(c) fill in the contents of the Excitation Table of a -type flipflop. 3.4 In the space reserved for Figure 3.2(d), compose the State Transition Excitation Table of the SM by combining the information from the state transition table of the SM and the excitation table of the flip-flop. 3. 5 Using the Karnaugh map method, derive the simplified expressions of the flip-flop excitation function(s), 2 and the output function Z, and manipulate them into expressions with minimum number of literals. Show the obtained expressions into the space reserved for Figure 3.2(f). y y? 2 S y Y Y 2 2 Z? S / / / / dd/ / / / dd/ / / Y d d d d Y 2 /Z y Y / / d d d d (d) (c) / Sy d Sy d Sy = Sy + S = = S(y + ) d d 2 = Sy (e) - Kmap 2 - Kmap Z- Kmap Z = Sy Figure 3.2 esign process of the State Machine. State transition graph of the SM. State transition table of the SM. (c)-type flip-flop excitation table. (d)state Transition Excitation table of the SM (e)karnaugh maps of the functions, 2, and Z. (f) Simplified expressions of logic functions, 2 and Z. (f)

EECS: igital Logic esign r. nthony. Johnson s7m2s_dild7.fm - 8 3. 6 In the space reserved for Figure 3.3 prepare the minimum number of logic gates logical circuit model which implements the State Machine whose specification is given at the beginning of this problem. y + S Y Q y Q FF y S Z=Sy = Sy + S = Y 2 Q FF2 Q = S(y + ) 2 = Sy Z = Sy Figure 3.3 Logical circuit model of the State Machine that implements the recognizer of the input sequence.