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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 12:10, Ryantimes2
On a average work day more than work place firs are reorted
Answers: 1
image
Engineering, 04.07.2019 18:10, danksans7011
The mass flow rate of the fluid remains constant in all steady flow process. a)- true b)- false
Answers: 1
image
Engineering, 04.07.2019 18:20, krojas015
Asolid cylinder is concentric with a straight pipe. the cylinder is 0.5 m long and has an outside diameter of 8 cm. the pipe has an inside diameter of 8.5 cm. the annulus between the cylinder ad the pipe contains stationary oil. the oil has a specific gravity of 0.92 and a kinematic viscosity of 5.57 x 10-4 m2/s. most nearly, what is the force needed to move the cylinder along the pipe at a constant velocity of 1 m/s?
Answers: 3
image
Engineering, 04.07.2019 18:20, mjcbs21
What is the heat treatment of metals? what is the benefit of it? why and how it's useful? answer in details, do not write by hand.
Answers: 3
You know the right answer?
You are to design the control for an automatic candy vending machine. The candy bars inside the mach...

Questions in other subjects: