Question: 3) Design a vending machine with following rules: - You can insert only quarter cents. - The machine doesn't accept no more than 1 in

3) Design a vending machine with following rules: - You can insert only quarter cents. - The machine doesn't accept no more than 1 in total. - The machine has two products with Water(25cents)Beer(75cents) - The machine has no coin return button. So if you insert a coin, you must buy one of the products. - Only one input can be active at a time. - A product can be served in a clock cycle. - The machine waits in current state until any of inputs is active. - Outputs are pulses that activate release mechanism (three outputs): Change delivery (CD) Water delivery (WD) Beer delivery (BD) - Use JK flip-flop in your design and minimum number of logic gates. - You are free to design either Mealy or Moore machine
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
