Docsity

Digital Design Lab - Exam C Answer Sheet | ECE 2031, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE2031 In-Class Exam C Spring 2004
ANSWER SHEET
Name __________________________ Section _______________________________
Student No. _____________________
Closed Books, Closed Notes, No computers or calculators.
Having read the Georgia Institute of Technology Academic Honor Code, I understand and accept my
responsibility as a member of the Georgia Tech Community to uphold the Honor Code at all times. In
addition, I understand my options for reporting honor violations as detailed in the code.
______________________________________________ ___________________
(Signature) (Date)
1. (15 points)
X Y
00 01 11 10
00
Q1Q0
01
11
10
Z=___________________
CIRCLE YOUR SELECTED ANSWERS
2. a b c (5 pts)
3. a b c d e (5 points)
4. a b (10 points)
5. a b c d e (10 points)
6. a b c d e (10 points)
7. a b c d (10 points)
8. a b (10 points)
9. a b c (5 points)
10. a b c d e f (10 points)
11. a b c d e (10 points)
pf3
pf4
pf5

Partial preview of the text

Download Digital Design Lab - Exam C Answer Sheet | ECE 2031 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

ECE2031 In-Class Exam C Spring 2004

ANSWER SHEET

Name __________________________ Section _______________________________

Student No. _____________________

Closed Books, Closed Notes, No computers or calculators.

Having read the Georgia Institute of Technology Academic Honor Code, I understand and accept my responsibility as a member of the Georgia Tech Community to uphold the Honor Code at all times. In addition, I understand my options for reporting honor violations as detailed in the code.

______________________________________________ ___________________

(Signature) (Date)

  1. (15 points)

X Y

Q 1 Q 0

10 Z=___________________

CIRCLE YOUR SELECTED ANSWERS

  1. a b c (5 pts)
  2. a b c d e (5 points)
  3. a b (10 points)
  4. a b c d e (10 points)
  5. a b c d e (10 points)
    1. a b c d (10 points)
    2. a b (10 points)
    3. a b c (5 points)
    4. a b c d e f (10 points)
    5. a b c d e (10 points)

ECE2031 In-Class Exam C Spring 2004

Closed Books, Closed Notes, No computers or calculators. Mark all answers on the answer sheet.

  1. (15 pts) The truth table below shows the output Z for some state machine. (The transition tables for next states Q1+ and Q0+ are not shown and do not matter here.) Fill in the Karnaugh map on the answer sheet for Z, circle the prime implicants, and write the minimal sum of products expression for Z.

Q1 Q0 X Y Z

0 0 0 0 0 0 0 0 1 0 0 0 1 0 1 0 0 1 1 1 0 1 0 0 0 0 1 0 1 0 0 1 1 0 0 0 1 1 1 1 1 0 0 0 0 1 0 0 1 0 1 0 1 0 0 1 0 1 1 1 1 1 0 0 1 1 1 0 1 1 1 1 1 0 0 1 1 1 1 0

  1. (5 pts) Is the state machine described in problem 1 a Moore state machine? You may assume that Q1 and Q0 are the only state variables, X and Y are the only inputs, and Z is the only output. a) YES b) NO c) Impossible to tell without more information
  2. (5 pts) In the implementation of a state machine with D flip-flops and discrete gates (i.e., TTL chips), what signals are connected to the D inputs of the flip flops? (Select one.) a) The state machine inputs b) The state machine outputs c) The current-state signals d) The next-state signals e) None of the above
  3. (10 pts) In the train lab, it was possible for trains A and B to run in opposite directions on the same segment of track. a) TRUE b) FALSE
  1. (10 points) For the circuit shown below, assume that all NAND gates have a propagation delay of 12 ns, and all inverters have a propagation delay of 5 ns. The D flip-flops have a propagation delay of 10 ns, a setup time of 3 ns, and a hold time of 2 ns. What is the maximum clock frequency of the circuit?

a) 9 Hz 32 10

ร—

b) 9 Hz 37 10

ร—

c) 9 Hz 35 10

ร—

d) 9 Hz 45 10

ร—

e) none of the above

  1. (10 pts) Suppose you just implemented an eight-bit counter in a device like the FLEX chip on the UP2 board, and you have access to all eight bits (i.e., you can probe them). If you wanted to see if it was counting properly, it would be most effective to use which of the following tools? (Select one.) a) A logic probe b) An oscilloscope similar to the one in the lab c) A logic analyzer similar to the one in the lab d) A voltmeter
  2. (5 points) Under the stated rules of the project demo, the puck may be moving faster than the highest speed of the robot a) TRUE b) FALSE

The module IDDET shown in the figure above is used inside of the IR_COMM device in your project files and will be used for the next two questions. You donโ€™t need to know any more about IDDET than the following:

  • The CLK_100KHZ signal has to be connected to a 100 kHZ clock
  • The RESET signal, when held high, forces the 8-bit ID output to be โ€œ00000000โ€
  • The IRD signal is connected directly to a detector exactly like one of the eight detectors on the AlteraBot daughterboard
  • If RESET is not high, and if READ is not high, the 8-bit ID output will change to whatever IR code is received by the IR detector, as soon as the last bit of that code is received (there are extra error detection bits as part of that IRD signal, but donโ€™t concern yourself with that)
  • If READ goes high, the 8-bit ID output WILL NOT change as long as it is high, but it will change to โ€œ00000000โ€ as soon as READ goes low again
  1. (5 points) The IDDET modules are not running concurrently as shown โ€“ they must take turns processing an IR detector signal in order to produce valid outputs a) TRUE b) FALSE c) Impossible to determine from the information given

ORG &H Start: LOAD Zero ADDI &H OUT SevenSeg Temp: IN Switches AND UserPBmask JZERO Start CheckPower: IN Status SHIFT - OUT SevenSeg SUB MinBattLevel JPOS Go JUMP CheckPower Go: LOAD One OUT Enable LOAD Safespeed OUT Velocity LOAD Three OUT SevenSeg Goal1: IN Xposition SUB HalfMeter JNEG Goal LOAD Zero OUT Enable LOAD Four OUT SevenSeg AllDone: JUMP AllDone

Zero: DW &H One: DW &H Two: DW &H Three: DW &H Four: DW &H UserPBmask: DW &H MinBattLevel: DW &H SafeSpeed: DW 100 HalfMeter: DW 984

Enable: EQU &H Velocity: EQU &H Status: EQU &H Xposition: EQU &H Yposition: EQU &H

Switches: EQU &H SevenSeg: EQU &H