Please include the TIME or TA NAME of the DISCUSSION section that you attend as
well as your NAME and STUDENT ID. Homeworks and labs will be handed back
in discussion sections.
1. Consider the circuit below with the NAND gate characteristics listed. (Assume wires have the same capacitance as the input capacitance off all the gates attached to it.)
|
|
2. Consider if we placed the above logic block between two registers, as pictured below. The registers have the characteristics as listed.
|
Register characteristics:
|
|
3. Design a finite state machine for an elevator. The elevator travels between two floors. You have the following inputs and outputs:
Inputs:
button1, button2 – asserted when either the button inside or outside the elevator is pressed, stays high until respective acknowledge signal is asserted (ack1, ack2)
floor1, floor2 – asserted when the elevator is at the respective floor
Ouputs:
open – when asserted the doors are opened and kept open, when de-asserted the doors are closed and kept closed
up, down – move the elevator up or down, elevator stops when both are de-asserted, both up and down should never be asserted together
ack1, ack2 – acknowledge that the request for a floor has been served, results in button1 or button2 being de-asserted
start – an input to start the timer
expired – an output indicating that the 5 seconds has elapsed
Design the FSM for this system.