摘要
设计了一种基于FSM的自动售货机实现方案。设计使用VHDL语言编写各控制模块,充分利用有限状态机描述自动售货机各个执行过程,包括系统初始化、管理员设置、商品选择、确认取消、投币处理、金额统计、货品更新及余额找零等一系列动作。同时,系统还添加了按键编码模块、扫描显示模块及语音提示模块,使得用户操作更加人性化。
This paper presents a method for the implementations of a vending machine based on FSM( Finite State Machine). By using the finite state machine and VHDL, this paper describes the process of vending machines,a series of moves such as system initialization,administrator settings,merchandise selection,confirmation of the cancellation,coin processing,financial statistics,goods updating and changing. Meanwhile,the system also includes a button coding module,scanning display module and voice prompts module,allowing users to operate in a more humane way.
出处
《电子科技》
2014年第11期59-61,65,共4页
Electronic Science and Technology