ECS154A Homework #3
- Written homework due by 4:30 PM on Tuesday, February 6th.
- Lab assignment due Sunday, February 11th, 11:59 PM.
Assignment (Written):
- Do Problem 8.1 in the book, using T FF's instead of D's.
- Do Problem 8.5 in the book
- Do Problem 8.6 in the book
- Do Problem 8.9 in the book
- Do Problem 8.21 in the book
LAB Assignment:
-
Design an N-bit CPU. Details
here
(If above link does not work, try
this one
NOTE - do not start this problem until the TA lets you know he has updated the
assignment!!!
-
Consider a coin-operated vending machine. For simplicity, assume that the
machine accepts only quarters and dimes. The quarters and dimes are
applied as inputs until a total of 40 cents or more is deposited. Only
one coin is deposited at a time. The output signal z1=1 should indicate
that merchandise should be provided; z1=0 indicates no merchandise.
Coincident with the last coin input, the (change) outputs are to be set.
Assume the machine can give a dime (z2=1) and/or a nickel (z3=1).
Use the binary outputs z2 and z3 to represent the 4 distinct possibilities
(No change, 1 nickel, 1 dime, 1 nickel and 1 dime.) If a customer does
something illogical (like puts in 3 dimes followed by a quarter, for example)
correct change does not have to be provided (but *some* change does.)
Design the circuit in Maxplus.