The SM chart for a simplified vending machine is shown here. The vending machine accepts only dimes

Question:

The SM chart for a simplified vending machine is shown here. The vending machine accepts only dimes and nickels. One soda costs 15 cents at this vending machine.

So/Zo S„IZ, F (T S,IZ, SIZ,Z4

D:Dime N:Nickel     Z0:0cent     Z1:5cents     Z2:10cents     Z3:15cents     Z4:soda
(a) Modify this figure to add one more functionality on resetting the vending machine. This reset could cancel the order.
(b) Derive the next-state equation and draw the state table.
(c) If the given SM chart (with reset function) is implemented using a traditional ROM method, how big a ROM is needed? Explain your calculation.
(d) Convert the SM chart (with reset function) to the proper form by adding a minimum number of extra states.
(e) Write the microcode for implementing the proper SM chart using single address microprogramming.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Digital Systems Design Using Verilog

ISBN: 978-1285051079

1st edition

Authors: Charles Roth, Lizy K. John, Byeong Kil Lee

Question Posted: