Author:
Fuad Mahamudul Hassan,Yeassin Rahbaar,Hassan K. M. Mehedi,Sykot Md Mahamudunnobi,Nayan Md Faysal
Abstract
This paper proposes the design, implementation, and verification of a vending machine using the Finite State Machine (FSM) methodology in Verilog HDL. The FSM is used to manage the multiple states of the vending machine, including “idle,” “accepting coins,” “dispensing item,” and “returning change.” The implementation of the vending machine is done in Verilog HDL, and the FSM is implemented as a state diagram. The design is then synthesized using the Genus synthesis tool and implemented using the Encounter implementation tool. The Genus tool uses advanced optimization techniques, such as timing-driven placement and clock tree synthesis, to improve the design’s performance and area. The Encounter tool performs physical design, including placement and routing, to meet the design’s timing, power, and area constraints. To validate the design’s correctness and functionality, a test bench is created to simulate the behavior of the vending machine. The simulation results are then used to verify that the design meets the required specifications and that the FSM behaves as expected. The proposed design is then can be implemented on a Field Programmable Gate Array (FPGA) to demonstrate its effectiveness in a real-world scenario. The results of the implementation are presented and analyzed to validate the design’s performance, power consumption, and area. Overall, the vending machine using FSM in Verilog HDL, implemented in Genus and Encounter, provides a reliable and efficient solution for users to purchase items from the machine. The proposed design and implementation demonstrate the feasibility and effectiveness of this approach, and the results show that the design meets the required specifications and performs well in a real-world scenario.
Publisher
European Open Science Publishing
Reference16 articles.
1. Alrehily A, Fallatah R, Thayananthan V. Design of vending machine using finite state machine and visual automata simulator. Int J Comput Appl. Apr 2015;115(18):37–42. doi: 10.5120/20254-2623.
2. Chidananda Datta P, Vinay Kumar C, Singh R, Mummaneni K. Optimized RTL design of a vending machine through FSM using verilog HDL. In Micro and Nanoelectronics Devices, Circuits and Systems. Lecture Notes in Electrical Engineering. Lenka TR, Misra D, Fu L. 904. Singapore: Springer, 2023, doi: 10.1007/978-981-19-2308-1_32.
3. Luthra A, Jain A, Mishra P, Gupta V and Aggarwal S. Design and implementation of vending machine using verilog HDL on FPGA. International Journal of Innovative Research in Science, Engineering and Technology (An ISO, 2015;4(II):11610–4. doi: 10.15680/IJIRSET.2015.0411137 2015.
4. Carrad AM, Louie JCY, Milosavljevic M, Kelly B and Flood VM. Consumer support for healthy food and drink vending machines in public places. Aust Nz J Publ Heal. 2015;39(4):355–7. doi: 10.1111/1753-6405.12386.
5. Prasad V, Ramya G, Sandeep G, Laxmareddy K. A research on the design of FSM based vending machine. Int J Innovat Technol Explor Eng. Dec 2019;8(12S2):356–60. doi: 10.35940/ijitee. l1068.10812s219.