彩灯控制的设计(CPLD/FPGA课程设计)
CPLD/FPGA课程设计
项目名称 专业班级 学生学号 2013133043
学生姓名指导教师
基于FPGA的彩灯控制
物联网工程132班
2016年 6 月15 日
I
物联网工程112班,姓名 周浩杰(CPLD/FPGA课程设计)
摘 要
本课程设计提出基于FPGA的彩灯控制器的设计与分析,设计由分频器模块,数据选择器模块,彩灯控制模块组成,基本原理是通过分频器产生不同频率时钟信号,表示彩灯显示的快慢,然后通过数据选择器进行选择,进而通过彩灯花型控制器显示不同种类的彩灯花型。本设计运用运用Verilog HDL语言在Modelsim软件上进行了实验程序的编译和波形的仿真,具有代码简单易懂,功能易实现的特点,通过不断地调试和代码的多次完善,最终实现完整的彩灯控制器,达到了自主设计逻辑电路的水平。
关键词:彩灯控制; Verilog HDL语言;Modelsim软件
II I
彩灯控制的设计(CPLD/FPGA课程设计)
Abstract
The curriculum design is proposed based on FPGA octal lantern controller design and analysis, design by the frequency divider module, data selector module lantern control module, the basic principle is through a frequency divider generated clock signal with different frequency and express the lantern display of speed, then through the data selector, and then through the lantern flower type controller display lights in different kinds of flowers. This design by using Verilog HDL language in the Modelsim software of experimental program compiling and waveform simulation, with easy to understand code, function is easy to realize the characteristics by continuous debugging and code improved several times, and ultimately complete the lantern controller, up to the level of the independent design of logic circuit.
Keywords: The lantern controller; Verilog HDL language ; The Modelsim software
III