Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The California student chapter is co-sponsoring a tea vending machine with a heavily subsidized price of 15 cents a cup. Design a Mealy FSM for
The California student chapter is co-sponsoring a tea vending machine with a heavily subsidized price of 15 cents a cup. Design a Mealy FSM for the vending machine assuming the students can load nickels (input N) and dimes (input D), only one coin at a time. If the user tries to enter two coins at the same time, the vending machine would not allow it, i.e. it will stay in the same state. If the user pays more than 15 cents, no change is dispensed (i.e. if the user enters a D when the running sum is 10 cents, the FSM will count the total as 15 cents and dispense no change). The vending machine will dispense the product (output P will be pulled High) as soon as there is enough money entered and then reset unconditionally. Use the following format for the inputs: ND. Use active-high logic to indicate an input or output is active. Show the state transition diagram, state assignment table, state transition table, next-state equations, and output equations. Use K-maps to extract the most simplified equations
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