Assignment 02 Spring 2023 03052023 112729am PDF
Assignment 02 Spring 2023 03052023 112729am PDF
Vending Machine
Imagine that you want to show how a vending machine behaves. To keep
the example small, we'll assume that there is only one item in vending
machine that costs Rs 20 and that the machine accepts Rs 5 coin and Rs 10
note. If the machine receives coin or note it moves to next state and if it
doesn’t receive any input (coin or note) it remains on current state. The
machine will not give change so in state Rs 15 it doesn’t receive notes and
remains of current state. The following figure shows the state machine:
Page 1 of 2
Bahria University, Islamabad
Department of Electrical Engineering
FPGA Based System Design (CEN-441) BEE-6 Spring 2023
Assignment# 02 Instructor: Asim Altaf Shah
Due date: 10 May 2023
Following are deliverable of this assignment
Page 2 of 2