Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

design and simulate a vending machine on Isim. Then you will implement it on FPGA board. The vending machine should take inputs of 5,10 25,50

image text in transcribed
design and simulate a vending machine on Isim. Then you will implement it on FPGA board. The vending machine should take inputs of 5,10 25,50 cents and 1S. The customer will enter the input money by using three switches namely SW2-SW1-SW0. The vending machine should count and display the money in the machine. Seven segment display will be used to show the amount of money. Hint: You can Show 1S as 100 cents. There will be an enable switch (SW7), which will be activated when the customer wants to select an item. There are 5 items chewing gum for 10 cents, water for 40 cents, tea for 75 cents, biscuit for 110 cents, chocolate 125 cents and soda for 150 cents. The customer will enter the item using 3 switches namely SW5-SW4-SW3. When the customer selects an item, corresponding LED is turned on. Chewing gum LDO, Water-LD1, Tea-LD2, Biscuit LD3, Chocolate-LD4, Soda-LD5. The vending machine should handle the wrong selection by turning on the Error LED, LD6. In other words, if the customer selects an item that is more expensive than the money that he/she put in the vending machine than Error LED is turned on. The vending machine should calculate the money to dispense and show in the seven segment display, after the selected item is sold to the customer. The machine should be synchronous with a 0.2Hz clock. In other words, it should make changes only when clock changes. Please display the 5s clock on LD7. The machine should also have an active low asynchronous reset button. It means that, whenever reset button becomes 0, it should immediately make the sum of money equal to 0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

How do I post a journal entry for returned merchandise

Answered: 1 week ago