Question: 2) Consider the vending machine controller digital system designed in class. Assume that it is modified so that it accepts quarters: 14 Amount Inputs Outputs

2) Consider the vending machine controller digital system designed in class. Assume that it is modified so that it accepts quarters: 14 Amount Inputs Outputs Q: Quarter is inputAmount : Value of gum and chips (35 cents) or the D Dime is input N : Nickel is input G : Gum is selected C: Chips is selected RetDime: Return 10 cents DG coin input so far shown on two 7-segment displays DG: Deliver Gum DC : Deliver chips DC RetDime RetNickel: Return 5 cents RetNickel Textual Input/Output Relationship After receiving the necessary amount (35 cents to 50 cents) and the selection is made deliver a gum or chips and return 5 or 10 cents if necessary clock Modify the following in order to accept quarters i) The operation diagram. ii) The high-level state diagram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
