编号
淮安信息职业技术学院
毕业论文
题 目
基于FPGA的LED点阵设计
摘 要
摘 要
主要研究基于 VHDL 的 Led 点阵汉字滚动显示。首先描述了基于现场可编程门阵(FPGA)的硬件电路,以及点阵显示汉字的原理; 然后在单个 16X16 LED 发光二极管点阵上滚动汉字的原理;最后给出了描述其功能的 VHDL 语言程序设计方法。通过编程、调试、仿真、下载正确地实现了汉字滚动显示扫描结果,其硬件系统的实验验证也获得了与软件模拟仿真结论相吻合的结果。
关键词:LED点阵;FPGA;VHDL语言;汉字滚动显示
I
Abstract
Abstract
Primary research is based on FPGA, Led Scrolling dot matrix characters. First described based on field programmable gate array (FPGA) hardware circuit, as well as the principle character dot matrix display; and then in a single 16X16 LED scrolling LED dot matrix on the principles of Chinese characters; Finally, the VHDL description language program of its functions design. Through programming, debugging, simulation, download the correct character scroll achieved scan results, the
experimental verification of its hardware and software are also obtained findings consistent with simulation results.
Keywords: LED dot marix; FPGA; VHDL language; Chinese character
scrolling display.
II
目 录
目 录
摘 要 ............................................................................................................................. I ABSTRACT .................................................................................................................. II 第一章 绪论 ................................................................................................................... 1 1.1课题背景 ............................................................................................................... 1 1.2 LED点阵的发展现状 ........................................................................................... 2 1.2.1国内外LED点阵的发展现状 ....................................................................... 2 1.2.2研究LED点阵的目的及意义 ....................................................................... 2 1.3 LED点阵的发展趋势 ........................................................................................... 3 1.4论文结构 ............................................................................................................... 4 第二章 系统方案设计 ................................................................................................. 5 2.1设计任务与要求 ................................................................................................... 5
2.1.1设计任务 ......................................................................................................... 5 2.1.2设计要求 ......................................................................................................... 5 2.2方案设计与比较 ................................................................................................... 5 2.2.1方案设计 ......................................................................................................... 5 2.2.2方案比较 ......................................................................................................... 5 2.3扫描控制模块 ....................................................................................................... 6 2.3.1 LED的显示原理 ............................................................................................ 6 2.3.2 LED点阵的显示方式 .................................................................................... 7 2.4 LED点阵汉字的存储 ........................................................................................... 7 2.5 本章小结 ............................................................................................................... 8 第三章 硬件设计 ......................................................................................................... 9 3.1功能要求 ............................................................................................................... 9 3.2硬件说明 ............................................................................................................... 9 3.3硬件设计 ............................................................................................................... 9 3.3.1 串行通信模块 ................................................................................................ 9 3.32 LED点阵屏及驱动电路 ............................................................................... 10 3.33 LED时钟芯片 ............................................................................................... 10 3.34 FPGA控制模块 ............................................................................................. 10 3.35串行通信电路 ................................................................................................ 11 3.4 本章小结 ............................................................................................................. 12 第四章 软件设计 ....................................................................................................... 13 4.1 十六进制计数器设计 ......................................................................................... 13 4.2列驱动设计 ......................................................................................................... 14 4.3字符样式设计 ..................................................................................................... 15 4.4 本章小结 ............................................................................................................. 18 第五章 基于FPGA的LED点阵 ............................................................................ 19 5.1 FPGA设计的特点 .............................................................................................. 19
III