![]() ![]() Why do we call this a vending machine controller? What other components of a vending machine exist (hint: we assumed the existence of one of these components already)? Which type(s) of engineer would work on each of those other components? 12. What instructions should be given to the vending machine manager after plugging in the machine to insure that products are not purchased for less than $.40? If that error did occur, would all future products be undersold? How many would be undersold? 11. Upon restart, the machine might have incorrect values stored in the register. If pennies were accepted in this machine, how would that change the design? 10. To avoid a situation like this, what is the highest safe price for this machine? (assume that Susie is reasonable and won't keep putting in money if she knows she has paid enough) 9. But now she's upset because the machine ate her money. She still needs to put more money in, so she puts in a quarter. What happens to the value in the register? Why? Explain the binary values. Put $.65 into the machine and don't select a product. One-shot TRG CLR 9 3 d4-bit adder 4-bit comparator 4-bit register b CLK C4 15 A3 13 A2 12 A1 10 AO B4 283 B3 QD QD 85 Vend 175 B2 Quarter 4 10 3 13 13 AB available D B1 12 C A-B 4 12 A4 A3 A2 2 B 1 0 1 23 B3 14 82 11 B1 Dime A ![]()
0 Comments
Leave a Reply. |