Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. (20 pts.) Your task is to design the control for an automatic chocolate bar vending machine. The chocolate bars inside the machine cost
3. (20 pts.) Your task is to design the control for an automatic chocolate bar vending machine. The chocolate bars inside the machine cost 2.55 TL, and the machine accepts TL and Kuru coins only. The inputs to the control are a set of two signals that indicate what kind of coin has been deposited, as well as a reset signal. The control should generate an output signal that causes the chocolate bar to be delivered whenever the amount of money received is 2.55 TL or more and will return any change (if appropriate). Once the chocolate bar has been delivered the machine will then reset itself to the starting state to wait for another input. a. (8 pts.) Identify your inputs and outputs, and draw the ASM chart that implements this finite state machine. b. (12 pts) Draw a primitive flow table for this machine, and reduce the flow table to minimum number of states. c. (10 pts) Design the vending machine control logic using primitive (AND, OR, inverter) gates, trying to avoid critical races, false outputs, and hazards. d. (10 pts) Design the vending machine using D type Flip-Flop. Show the details of your work for full credit.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Heres a breakdown of the problem and potential solutions The Problem The vending machine sells choco...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