Question: Can anyone help me with solve this problem if you know the verilog code well you can able to solve the problem but you need



Can anyone help me with solve this problem if you know the verilog code well you can able to solve the problem but you need to be expert in verilog to solve this problem
You will design a sequential circuit for a simple vending machine and implement it using Verilog HDL. The vending machine can deliver 3 different products: tea, coffee and hot chocolate. It has a single coin slot that accepts one coin (25 Kr, 50 Kr or 100 Kr) at a time The prices of tea, coffee and hot chocolate are 50 Kr, 75 Kr and 100 Kr, respectively First, you will use push buttons on the FPGA board to select the product you want to purchase. You will use BTN1 for tea, BTN2 for coffee and BTN3 for hot chocolate. The following table shows the input combinations for products Product BTN1BTN2 BTN3 no 0 Tea Coffee Hot Chocolate 0 0 Then you will again use push buttons on the FPGA board to insert coin to the vending machine. You will use BTN1 for 25 Kr, BTN2 for 50 Kr and BTN3 for 100 Kr. The following table shows the input combinations for coins Coin Inserted BTN1BTN2 BTN3 0 no coin 25 50 100 0 0 0 0 0 You cannot press two push buttons simultaneously. When the total value of inserted coins is 50 Kr or more for the product tea, the vending machine delivers the product and returns coin if necessary. Similarly, when the total value of inserted coins is 75 Kr or more for the product coffee and 100 Kr or more for the product hot chocolate, the vending machine delivers the product and returns coin if necessary The sequential circuit should start from 'no product' state. You should use Reset BTN as an asynchronous reset input to put the sequential circuit into 'no product' initial state. When a product is delivered, the sequential circuit should go to 'product delivered' state and it should stay in this state until asynchronous reset is applied. This state is used to keep product output as 1 when a product is delivered. The sequential circuit should have product output. This output should be 1 whenever a product is delivered, otherwise it should be 0. You should use LED4 to show whether product output is 1 or 0. You should use LED7, LED6 and LED5 to show which product is selected. If you select tea, LED7 should be on. If you select coffee, LED6 should be on. If you select hot chocolate, LED5 should be on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
