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

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.
So/Zo SIZ, F (T S,IZ, SIZ,Z4
Step by Step Solution
3.46 Rating (156 Votes )
There are 3 Steps involved in it
a R Reset b State Assignment S0 00 S1 01 S2 10 S3 11 For D f... View full answer
Get step-by-step solutions from verified subject matter experts
