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, 04.07.2019 18:10
Atmospheric air has a temperature (dry bulb) of 80° f and a wet bulb temperature of 60° f when the barometric pressure is 14.696 psia. determine the specific humidity, grains/lb dry air. a. 11.4 c. 55.8 d. 22.5 b. 44.1
Answers: 1
question
Engineering, 04.07.2019 18:10
Compute the pressure drop of 30°c air flowing with a mean velocity of 8 m/s in a circular sheet-metal duct 300 mm in diameter and 15 m long. use a friction factor, f 0.02, and pair = 1.1644 kg/m a. 37.26 pa b. 25.27 pa n c. 29.34 pa d. 30.52 pa
Answers: 1
question
Engineering, 04.07.2019 18:20
Water vapor initially at 10 bar and 400 °c is contained within a piston-cylinder assembly. the water lost heat to the surrounding according to isochoric (iso-volumetric) process until its temperature is 150 °c. the water is then condensed isothermally to saturated liquid. for the water as a system, calculate the work in kj/kg
Answers: 2
question
Engineering, 04.07.2019 19:10
Which of the following is the most important advantage of a large field of view? a. allows larger areas to be examined b. relieves eyestrain c. minimizes parallax errors. d. increases precision in proportion to the in- crease in field of view
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
Questions on the website: 13722360