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

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.

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

1 Expert Approved Answer
Step: 1 Unlock

a R Reset b State Assignment S0 00 S1 01 S2 10 S3 11 For D f... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Digital Systems Design Questions!