Docsity

14 Problems on the Circuit Analysis - Final Exam | ECE 331, Exams of Digital Systems Design

Toggle sidebar
bg1
ECE-331/Final Exam/S03/KJH 1
ECE-331 Final Exam, Spring 2003
May 8, 2003
Instructor: Prof. K. J. Hintz
This is a CLOSED book examination.
Show all your work on these pages. Proper labeling of the diagrams is essential for full credit.
Workspace has been provided and is expected to be used in answering the questions. Answers not on
these examination pages will not be counted. Answers alone may not be sufficient. Correct methodology
is important and partial credit will be given. Calculators may be used.
HONOR CODE PLEDGE: "On my honor I have neither given nor received aid on this exam."
( 5 ) Your Last Name (printed): _____________________________________________
( 5 ) Your Signature: _____________________________________________
Failure to sign the pledge can result in receiving no credit for the test.
1. ( 2 ) With reference to the circuit
diagram to the right, what is the fan-in
of gate 3?
__________________
2. ( 2 ) How many more inputs from
gates of type 5 could be connected to
the output of gate 1?
__________________
3. (1) Can a gate with a fan-in of three
always be connected to a gate with a
fan-out of four? Explain your answer.
___________________________________________________________________________________
pf3
pf4
pf5

Partial preview of the text

Download 14 Problems on the Circuit Analysis - Final Exam | ECE 331 and more Exams Digital Systems Design in PDF only on Docsity!

ECE-331 Final Exam, Spring 2003

May 8, 2003 Instructor: Prof. K. J. Hintz

This is a CLOSED book examination.

Show all your work on these pages. Proper labeling of the diagrams is essential for full credit. Workspace has been provided and is expected to be used in answering the questions. Answers not on these examination pages will not be counted. Answers alone may not be sufficient. Correct methodology is important and partial credit will be given. Calculators may be used.

HONOR CODE PLEDGE: "On my honor I have neither given nor received aid on this exam."

( 5 ) Your Last Name (printed): _____________________________________________

( 5 ) Your Signature: _____________________________________________

Failure to sign the pledge can result in receiving no credit for the test.

  1. ( 2 ) With reference to the circuit diagram to the right, what is the fan-in of gate 3?

  1. ( 2 ) How many more inputs from gates of type 5 could be connected to the output of gate 1?

__________________

  1. (1) Can a gate with a fan-in of three always be connected to a gate with a fan-out of four? Explain your answer.

  1. ( 10 ) Draw and properly label the transition table below for the asynchronous finite state machine above. Identify all stable states.

S 1 (a, b, s1, s 0 ) = ______________________________________________________________

S 0 (a, b, s1, s 0 ) =______________________________________________________________

PS input

  1. ( 10 ) Identify, list, analyze and specify only the critical race and/or oscillation in the FSM above.

Type of race

a b

S0 ( a, b, s1, s0)

S1 ( a, b, s1, s0)

As a result of the increased level of concern over terrorist incidents, several financial institutions have increased their security to minimize the risks of robbery. One security measure is to equip entrances with outer and inner doors which are electrically controlled by tellers within the bank in order to minimize the number of people who can be let in at one time. Seeing the potential for this type of product, you have decided to design an entrance controller which controls the rate of people entering and exiting without requiring the active electrical opening and closing of doors by tellers.

Your ν–Wave Safety Entrance is designed as a passageway which will hold a maximum of two people.

It has doors at each end, both of which cannot be opened at the same time. At one end of the passageway is a switch labeled ENTRANCE (E) which the patron must push to enter the passageway. At the other end is a second switch labeled EXIT (X) which the patron must push to exit the passageway and enter the bank. Each door is equipped with an electronic actuator under the control of the synchronous machine you are designing. At the entrance end of the passageway is the door actuator labeled DE and at the exit end of the passageway, the door actuator is labeled DX. The asserted condition of the switches is a one (1) and the asserted condition to activate the doors is a one (1).

Under no circumstances may both doors be actuated at the same time.

If both E and X are pushed at the same time while there are persons in the passageway, allow one person to exit but none to enter.

If the passageway is empty and both buttons are pushed, then don’t open either door.

Design the synchronous 3-State sequential Mealy machine to control the doors with the following criteria:

  1. ( 8 ) Fill in and properly label the state diagram below to implement the Mealy machine. Use sm and sl as the MSB and LSB present state variables.
  2. (2) Self Starting (Circle one): TRUE FALSE
  1. ( 8 ) Using your state diagram, completely fill in the following transition table and determine the output functions and excitation variables. Design using negative-edge-triggered J-K flip-flops. Complete the state diagram to determine whether or not it is a self-starting machine.

ps/NS Input ps NS Excitation Variables Output (decimal)

MT

(hex) (^) E X sm sl Jm Km 0 0 0 0 0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0 1 0 0 1 1 0 1 0 1 0 1 1 1 1 0 0 1 1 0 1 1 1 1 0 1 1 1 1

  1. (2) Use the following Karnaugh maps to minimize the function specified. Write the minterms in the space provided.

Jm = Σ1( ) + Σd( ) Km = Σ1( ) + Σd( )