Question
Consider a coin-operated vending machine. Assume that the machine accepts only quarters, dimes, and nickels. Coins are inserted until a total of 25 cents or
Consider a coin-operated vending machine. Assume that the machine accepts only quarters, dimes, and nickels. Coins are inserted until a total of 25 cents or more is deposited. Only one coin is deposited at a time. The output signal OM should indicate that merchandise should be provided; OM=0 indicates no merchandise. Coincident with the last coin input, the (change) outputs are to be set. Assume the machine can give a dime (O10=1) and/or a nickel (O5=1). Use the binary outputs O5 and O10 to represent the 4 distinct possibilities (No change, 1 nickel, 1 dime, 1 nickel and 1 dime.) If a customer does something unwise, like puts in a dime and a nickel followed by a quarter, correct change does not have to be provided (but the maximum amount change does.) Input tunnel labels: I5, I10, I25, CLK. Output tunnel labels: O5, O10, OM. Please provide a circut diagram.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started