subject
Engineering, 07.09.2021 01:20 ozzy1146

You are to design the control for an automatic candy vending machine. The candy bars inside the machine cost 25 cents, and the machine accepts nickels, dimes, and quarters only. The inputs to the control are a set of three 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 candy to be delivered whenever the amount of money received is 25 cents or more no change is given . Once the candy has been delivered, some external circuitry will generate a reset signal to put the control back into its initial state. Required:
a. Identify your inputs and outputs, and draw the ASM chart that implements this finite state machine.
b. Assuming no change given, draw a state diagram that implements the finite state machine.
c. Implement the finite state machine using D, T and JK flip-flops. You may use gray code state assignment.
d. Verify the D flip-flop implementation in (b).
e. Write Verilog HDL models for the machine based on the state diagram in (a) and the D flip-flop sequential circuit that you implement in (b).
f. Modify your control design such that the vending machine may give change if more than 25 cents is deposited. You do not have to implement your design. State diagram is sufficient.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 03:10
What precautions should you take to prevent injuries when dealing with heavy loads?
Answers: 1
question
Engineering, 04.07.2019 18:10
An air conditioning system consist of a 5 cm diameter pipe, operating at a pressure of 200 kpa. the air initially enters the pipe at 15°c with a velocity of 20 m/s and relative humidity of 80%. if the heat supply throughout the process is 960 w, determine the relative humidity and the temperature at the outlet
Answers: 3
question
Engineering, 04.07.2019 18:10
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
You know the right answer?
You are to design the control for an automatic candy vending machine. The candy bars inside the mach...
Questions
question
Mathematics, 08.05.2021 18:40
question
Mathematics, 08.05.2021 18:40
Questions on the website: 13722360