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 tk notes are allowed to cash in
Now, design a Mealy FSM to buy a product worth tk
Deliverables:
State diagram of the FSM
Copy and paste the Verilog code
Output timing diagram if tk is inserted in the idle state. You must
show and explain the "purchase" and "cashreturn" 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 times. If it has, your FSM
will output in the cycle.
You have two sensor data as input, one that detects KitKat and one that detects
Pepsi.
Deliverables:
State Diagram
Copypaste the code
A screenshot of the waveform showing when the output is
You will submit one single pdf that contains the deliverables of both questions.
Rename this pdf as your NameIDpdf 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 ChatGPT
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
this is actually one question but it has parts so Don't take misinformation regarding the number of
questions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
