Time Allowed 3:00 hrs. April, pages

Similar documents
EE 209 Spiral 1 Exam Solutions Name:

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

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

Fundamentals of Digital Design

Fundamentals of Computer Systems

Chapter 4. Sequential Logic Circuits

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

Sequential Logic Circuits

EE141- Spring 2007 Digital Integrated Circuits

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

Philadelphia University Faculty of Engineering

Problem Set 9 Solutions

Lecture 9: Sequential Logic Circuits. Reading: CH 7

Digital Design. Sequential Logic

DIGITAL LOGIC CIRCUITS

Adders, subtractors comparators, multipliers and other ALU elements

Synchronous Sequential Logic

Philadelphia University Student Name: Student Number:

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

Digital Logic Design - Chapter 4

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

Written exam for IE1204/5 Digital Design with solutions Thursday 29/

EE 209 Logic Cumulative Exam Name:

CS61C : Machine Structures

Sample Test Paper - I

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

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

ELECTRONICS & COMMUNICATION ENGINEERING PROFESSIONAL ETHICS AND HUMAN VALUES

CS61C : Machine Structures

14:332:231 DIGITAL LOGIC DESIGN

CSC9R6 Computer Design. Practical Digital Logic

Digital Electronics Sequential Logic

Gates and Flip-Flops

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

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

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

Computer Science Final Examination Friday December 14 th 2001

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

Sequential Circuit Design

Digital Integrated Circuits A Design Perspective

EE40 Lec 15. Logic Synthesis and Sequential Logic Circuits

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

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

CSCI 2150 Intro to State Machines

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

Synchronous Sequential Circuit

ELCT201: DIGITAL LOGIC DESIGN

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

Digital Integrated Circuits A Design Perspective

Homework Assignment #1 Solutions EE 477 Spring 2017 Professor Parker

Adders, subtractors comparators, multipliers and other ALU elements

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

University of Minnesota Department of Electrical and Computer Engineering

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

KUMARAGURU COLLEGE OF TECHNOLOGY COIMBATORE

Digital Logic Design. Midterm #2

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

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

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

Fundamentals of Boolean Algebra

Design of Sequential Circuits

Combinational Logic Design Combinational Functions and Circuits


Sequential Circuits Sequential circuits combinational circuits state gate delay

Lecture 17: Designing Sequential Systems Using Flip Flops

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

EECS 270 Midterm 2 Exam Answer Key Winter 2017

GMU, ECE 680 Physical VLSI Design

Exam for Physics 4051, October 31, 2008

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

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING CS6201 DIGITAL PRINCIPLES AND SYSTEM DESIGN

CE Optimized State Machines

Sequential vs. Combinational

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

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

Sequential Logic Worksheet

Lecture 9: Digital Electronics

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

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

Written exam with solutions IE Digital Design Friday 21/

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

Chapter 5 Synchronous Sequential Logic

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

Fundamentals of Computer Systems

CS/COE0447: Computer Organization

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

Menu. Master-Slave Flip-Flop

MAHALAKSHMI ENGINEERING COLLEGE TIRUCHIRAPALLI

Learning Objectives:

Digital Fundamentals


Chapter #6: Sequential Logic Design

Fundamentals of Computer Systems

Digital Electronics. Delay Max. FF Rate Power/Gate High Low (ns) (MHz) (mw) (V) (V) Standard TTL (7400)

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

Integrated Circuits & Systems

SAU1A FUNDAMENTALS OF DIGITAL COMPUTERS

Schedule. ECEN 301 Discussion #25 Final Review 1. Date Day Class No. 1 Dec Mon 25 Final Review. Title Chapters HW Due date. Lab Due date.

CS470: Computer Architecture. AMD Quad Core

Philadelphia University Student Name: Student Number:

Transcription:

IGITAL ESIGN COEN 32 Prof. r. A. J. Al-Khalili Time Allowed 3: hrs. April, 998 2 pages Answer All uestions No materials are allowed uestion a) esign a half subtractor b) esign a full subtractor c) Using Boolean Algebra implement a full subtractor with half subtrctors and an OR gate. d) If the exclusive OR gate has a delay of ns and an AN or OR gate has a delay of 5 ns what is the delay of this circuit? uestion 2 a) A logic circuit implements the following function F(A,B,C,) = A C + AC It is found that the circuit input combination A=C= can never exist. Find a simpler expression for F using don t care conditions. b) raw the logic diagram of a 2 to 4 decoder with only NOR gates. Include an enable input and show your circuit clearly with all inputs and outputs marked. c) Minimize the following Boolean expression F(A,B,C,) = AB + AC + BC uestion 3 a) Suppose two two bit numbers, A = aa and B = bb. Are to be compared. The comparator will have three outputs: A>B, A=B, and A<B. Assume that B & A are unsigned positionally coded integers. esign this circuit. b) Use a MUX to implement the B=A output. uestion 4 a) etermine the transition table and the transition equation of a -Latch. b) Explain what are the disadvantages of a transparent latch. c) Explain the operation of a Master-Slave Flip Flop. d) What is the s catching problem? uestion 5 Analyze the sequential circuit given below x A A B B A B Page of

a) erive the State Table, and the State iagram b) What sequences the circuit counts through as the clock ticks after power is applied? When the system is turned on, B A =. Consider output as B A. c) Starting from B A = draw timing diagram for the circuit for 4 clock pulses. You may assume ) positive edge triggered flip flop. 2) Flip Flops have a delay of ns. 3) system clock is MHz. uestion 6 esign a counter that counts through the following sequence,4,6,7,3,,, etc and keeps repeating the sequence. Page 2 of

Solutions uestion a) X Y h B h h = X Y BBh = X Y X Y h B h b) X Y B in B out XY B in = X Y B in + X Yb in + XYB in + XY B in = X Y B in B in XY B out = X Y +X YB in + X YB in = X Y + B in (X Y) c) = X Y B in = h B in B out = X Y + B in (X Y) = B h + B in h X Y h B in B out d) 2 x XOR d = 2 or XOR d + Inv d + AN d + OR d = + 5 + 5 = 2 (If Inv d = ) If Inv has delay great than zero, then elay = 2 ns + Inv delay. Page 3 of

uestion 2 a) F(A,B,C,) =A C + AC and A = C = is don t care C AB F = C+A X X X X b) A AB A B B AB A B E d) F = AB + AC +BC = AB(C +C ) + AC + BC = ABC + ABC + AC + BC = AC + BC Page 4 of

uestion 3 a) Input a a b b 2 3 4 5 6 7 8 9 2 3 4 5 Output A=B A<B A>B F = m (,5,,5) F2 = m (,2,3,6,7,) F3 = m (4,8,9,2,3,4) aa bb F = (A=B) = a a b b + a ab b + aabb + aa bb aa bb aa bb F2 = (A<B) = a b + a bb+a a b a a b b F2 = (A>B) = ab + ab b + aab = ab + ab (b + a) F F3 F2 Page 5 of

b) b a a b b b a a b a ab a ab aa b aa b A=B b aab aab a a b uestion 4 a) When clock is high Input Present State Next State + + = b) Page 6 of

c) The disadvantage of a transparent latch is that it has no control on input such as a clock, so when input changes, with some delay the output follows. This behavior makes it impossible to be used in a state machine or when input/output transitions require some control Master Slave d) Master turns on Slave turns off Master turns off Slave turns on In order to insure that one transition per clock cycle occurs and the precise time of transition is determined, the master-slave FF is used. ata may arrive when clock is high even with multiple transition on, the O/P does not change. When the clock is changed on the edge of clock change data is transferred to the slave which appears at the o/p after a Δt delay. Because of this data has to be set up at the input and only one transition per clock is insured. The M-S FF described is a negative edge triggered ata ue to finite clock edges and switching delay of devices a appearing at end of clock high (Glitch), is captured by clock during its transition. This is transferred to the slave when the clock goes low then corrupting the o/p. uestion 4 a) A = x A B = A B The State Table Present State A B Next State x = x= + A + B + A B + x = x= A B A B Page 7 of

The state iagram x = x = x = x = x = x = x = x = Reorganize x = x = x = x = x = x = x = x = b) x =, A B 2 2 x =, A B 3 2 A divider by two counters A divider by 4 counters c) μs 2 μs 3 μs 4 μs x = A B ns ns ns ns x = A ns ns ns ns B ns ns Page 8 of

uestion 6 Present State y2 y y Next State y2 + y + y + x = 4 X X X X X X x = x = 3 7 x = x = 6 x = Using binary state assignment Can not be further minimized Using a dlip flop, we may y y α X I I ϕ X I α ϕ ϕ β X ϕ β Ι X y2 + y + y y ϕ X α ϕ X β I I X X y + 2 = y2 + = y y y X X X X = y + = y2 = y + = y Page 9 of

Since this arrangement is minimal then there is no need to try another implementation. y2 y 2 y Page of