摘要
当今社会,随着人们物质生活水平的提高,精神需要已经成为人们追求的重点。对于一些大型的演出来说,美轮美奂的舞台效果是也是给人带来视听享受的关键之一。为了使对舞台的控制更为简便,满足各种需要的效果,减少人力物力,降低开发成本,采用FPGA来设计电路是十分必要的。基于此,设计了一个基于FPGA的带数码管显示的音乐流水灯装置。在EDA工具QuartusⅡ13.0平台上,运用Verilog语言模块化与层次化的设计方法,编写单一状态机控制各个模块,并实现流水灯闪烁、数码管显示及音乐播放等功能。设计代码简洁,系统稳定,便于维护和修改,灵活性强。此外,可根据用户的喜好改变乐曲、流水灯闪烁方式以及数码管显示内容。且此状态机的设计思路也可应用到其他的系统。经过实验验证,在AC620开发板上实现了上述功能。
Nowdays, as people s living standard continues to rise, they are paying ever greater attention to their spiritual life. For some large-scale performances, the beautiful stage effect is also one of the keys to bring people audio-visual enjoyment. In order to make the stage control more simple, meet the needs of various effects, reduce resources and development costs, using FPGA to design the cricuit is very necessary. The article introduce a design of digital musical water lamp based on FPGA. Because Verilog language has the characteristics of modular and hierarchicale, it s easy to describe a finite state machine to control modules in EDA tool QuartusⅡ13.0 platform. The design completes lamp flashing, digital tube displaying and music playing. The code is clear so that it s convenient to maintain and modify. Moreover, users can change the music, flashing mode and the content on digital tube according to their preferences. And the idea of FSM in the design also applies to other control systems. The above functions are realized on the AC620 development board after experimental verification.
作者
刘玲
刘新
张鹏鸣
LIU Ling;LIU Xin;ZHANG Pengming(College of Physical Science and Technology,Shenyang Normal University,Shenyang 110034,China;Institute of Modern Physics,Chinese Academy of Sciences,Lanzhou 730000,China)
出处
《沈阳师范大学学报(自然科学版)》
CAS
2019年第1期66-70,共5页
Journal of Shenyang Normal University:Natural Science Edition
基金
国家自然科学基金资助项目(11575060
11375062
11505057
11647306)
关键词
FPGA
状态机
VERILOG
流水灯
field programmable gate arrays(FPGA)
finite state machine(FSM)
verilog
water lamp