Question: BRACU authority finally decides to get a vending machine designed by its CSE students. The authority gives the students the following specifications for the vending

BRACU authority finally decides to get a vending machine designed by its CSE
students. The authority gives the students the following specifications for the
vending machine:
a. Only 20,50,100 tk notes are allowed to cash in.
Now, design a Mealy FSM to buy a product worth 60tk.
Deliverables:
State diagram of the FSM
Copy and paste the Verilog code
Output timing diagram if 100 tk is inserted in the idle state. (You must
show and explain the "purchase" and "cash_return" variable).
Now suppose your machine can dispense two items at once and the item that is
purchased is also recorded. After a month of use, the university observes that
students mostly buy KitKats and a bottle of Pepsi. The authorities are concerned
about the health of the students. So they ask you to make the vending machine
smarter. Your task is to design an FSM that will detect whether a combination
of KitKat and Pepsi has been purchased more than 3 times. If it has, your FSM
will output 1 in the 4th cycle.
You have two sensor data as input, one that detects KitKat and one that detects
Pepsi.
Deliverables:
State Diagram
Copy-paste the code
A screenshot of the waveform showing when the output is 1
You will submit one single pdf that contains the deliverables of both questions.
Rename this pdf as your Name_ID.pdf. You will also the .v Verilog files that you
use in Quartus for both tasks after zipping them into one file. You can google
how to zip using WinRar or any other similar software.
ft first Don't Use Chat-GPT.
Use Quartus Software to solve this question.
You will submit one single pdf that contains the delverables of both part of questions.
You will also the v Verilog files that you
use in Quartus for both tasks after zipping them into one file and send them in this m'aill isratratul 07
[this is actually one question but it has 2 parts (1,,), so Don't take misinformation regarding the number of
questions.]
BRACU authority finally decides to get a vending

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!