Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Part 1: Create a FSM that will implement the vending machine below in VHDL. 1. There should be separate outputs indicating whether candy or gum

Part 1:

Create a FSM that will implement the vending machine below in VHDL.

1. There should be separate outputs indicating whether candy or gum or soda is dispensed. These outputs should only turn on if they have enough money and have made a selection.

2. The amount of money entered should be indicated on the LEDs.

3. If the user has entered money and has made a selection, and if the amount of money that they have inputted is not enough, an output should indicate that they do not have enough funds.

4. There should be a reset button. Once the reset button is pressed it will return initial state.

5. The clock input to the FSM should be the clock divider, as before.

Part 2:

Augment the FSM from part one to include the following:

1. There should be a refund button. Once the refund button is pressed the number of refunded nickels will be displayed on the 7 Segment Display, and there is another output that indicates that this is being refunded. The system should go back to the reset state since they no longer have any money in the machine.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Sustainability Accounting And Accountability

Authors: Matias Laine, Helen Tregidga, Jeffrey Unerman

3rd Edition

1032023104, 9781032023106

More Books

Students also viewed these Accounting questions

Question

Why would unions target health care workers?

Answered: 1 week ago