Question: 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

   

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

1 Expert Approved Answer
Step: 1 Unlock

Heres a breakdown of the problem and potential solutions The Problem The vending machine sells choco... 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 Programming Questions!