摘要: 本课题所设计的系统是基于FPGA的LCD驱动设计。本课题的设计所用的主芯片采用的是ALTERA公司的Cyclone系列的EP1C3T144C8N芯片,显示模块采用的是集成ST7920控制器的128*64液晶显示模块。主体程序采用了状态机作为主要控制方式,控制器部分采用VHDL语言编写,字符显示是直接调用液晶自带的字库,可通过改变拨码开关的组合,实现上下左右朝任意方向滚动功能,按下4位独立按键,达到改变滚动速度的功能。24411
本次设计最终实现使用FPGA在LCD上的任意位置显示任意的16*16像素的中文字符以及16*8的英文字符,使显示内容上下左右滚动显示,能够改变文字滚动速度,完成汉字特效显示。本课题所有的fpga程序都通过了Quartus II软件实现编译及仿真后,在实际的硬件中调试通过。
毕业论文关键词: FPGA;LCD;状态机;显示驱动;VHDL
An FPGA-based LCD Driver Design
Abstract: This topic is the design of the LCD driver based on FPGA. In this project, I used 128*64 LCD module with the ST7920 driver. For the controller part, I chose the Cyclone serial FPGA, the EP1C3T144C8N, which developed by the Altera Cooperation. The main body of the program used state machine as the primary control method, and the program of the controller is written by VHDL language. The system can direct call the embedded character library to display the information. In this design, you can make any character scroll in any direction by changing the DIP switch combinations. You can also change the scroll speed by pressing the keys.
In this project, I finally realized the following function. The first one is to display any 16*16 pixels Chinese character and 16*8 pixels English character on any position of the LCD display screen.The second one is the display information can scroll vertical and horizontal. The last function is changing the display information scrolling speed. On Quartus II, all VHDL procedures have been compiled and simulated, as well as the assemble procedures. At last, the procedures by means of configuration circuit, all downloaded in a FPGA chip.
Keywords: FPGA; LCD; State Machine; Display Driver; VHDL
目录
摘要
Abstract
目录
1 绪论 1
1.1 课题的目的和意义 1
1.2 国内外研究现状与水平 1
1.3 课题主要研究内容和重点、难点 3
1.3.1 课题主要研究内容和重点 3
1.3.2 课题的主要难点 3
1.4 课题研究预期目标 3
1.4.1 课题研究预期理论目标 3
1.4.2 课题研究预期技术目标 3
2 FPGA可编逻辑程器件 4
2.1 FPGA简介 4
2.2 FPGA的基本特点 4
2.3 FPGA的基本原理 4
2.4 FPGA的设计方法 5
2.5 FPGA的选择 6
2.5.1 Altera Cyclone FPGA系列简介 6
2.5.2 EP1C3T144C8N介绍 8
3 VHDL硬件描述语言 9
3.1 VHDL简介 9
3.2 VHDL的基本结构 9
3.3 VHDL与VERILOG HDL的横向比较 9
3.4 QUARTUS II软件 10
4 LCD液晶显示模块 12 基于FPGA的LCD驱动设计+电路图:http://www.751com.cn/zidonghua/lunwen_17892.html