基于fpga的lcd设计

基于fpga的lcd设计

ID:9533298

大小:4.57 MB

页数:63页

时间:2018-05-03

基于fpga的lcd设计_第1页
基于fpga的lcd设计_第2页
基于fpga的lcd设计_第3页
基于fpga的lcd设计_第4页
基于fpga的lcd设计_第5页
资源描述:

《基于fpga的lcd设计》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、基于FPGA的LCD控制器设计基于FPGA的LCD控制器设计【摘要】本课题主要任务是设计基于FPGA的LCD控制器,兼顾好程序的易用性,以方便之后模块的移植和应用。本课题的设计采用了带ST7920驱动的12864-12液晶模块,并使用Altera公司的cycloneII系列的EP2C5T144C8来作为核心的控制器。控制器部分采用VHDL语言编写,主体程序采用了状态机作为主要控制方式。该控制器分为字符显示模块和图片显示模块两个主要部分。在字符的显示功能上采用显示控制模块与字符调用RAM相结合的方式,使使用者能方便地调用液晶自带的字库来显示字符;而图片显示模块则通过特殊的处理算法

2、解决了图像显示缓冲区X地址不断移位以及上下半屏分开的问题,通过读取图片ROM来显示图片。最后实现使用FPGA在LCD上的任意位置显示任意的16*16像素的中文字符以及16*8的英文字符,另外要能根据输入数据的变化同步变化LCD上显示的内容。同时要能将储存模块中的图片数据正常地显示在LCD上。该课题的研究将有助于采用FPGA的系列产品的开发,特别是需要用到LCD的产品的开发。同时可以大大缩短FPGA的开发时间。另外,由于模块的易用性,也将使得更多的采用FPGA的产品之上出现LCD,增加人机之间的交互性,为行业和我们的生活带来新的变化。【关键词】12864-12,VHDL,LCD,

3、FPGA,状态机63基于FPGA的LCD控制器设计DesignoftheLCDControlModuleBasedonFPGA【Abstract】Inthisproject,themainobjectistodesignaLCDcontrollerbasedonFPGA,andatthesametimeemphasizeontheconvenienceforthelaterapplicationandmigration.Inthisproject,Iused12864-12LCDmodulewiththeST7920driver.Forthecontrollerpart,Ich

4、osetheCycloneIIserialFPGA,theEP2C5T144C8,whichdevelopedbytheAlteraCooperation.TheprogramofthecontrolleriswrittenbyVHDLlanguage,andthemainbodyoftheprogramusedstatemachineastheprimarycontrolmethod.InthisLCDcontroller,therearetwomajorparts,whicharethecharacterdisplaymoduleandthepicturedisplaymo

5、dule.ThecharacterdisplaymoduleputtheCharacterCallingRamandthedisplaycontrolmoduletogethertoenabletheusertocalltheembeddedcharacterlibraryeasilytodisplaytheinformationhe/sheneeded.Forthepicturedisplaymodule,themodule,throughspecificalgorithm,solvedtheproblemsthatthexaddressofthepicturedisplay

6、bufferkeptsteppingforwardafterevery16timesandthedisplayscreenaredividedinto2sectionbythebuffer.Andthismodule,byreadingapictureram,displayedpicturewhichwasputearlier.Inthisproject,Ifinallyrealizedthefollowingfunction.Thefirstoneistodisplayany16*16pixelsChinesecharacterand16*8pixelsEnglishchar

7、acteronanypositionofthedisplayscreen.Thesecondoneisthedisplayinformationwillinstantaneouslyupdateastheinputdatachanges.ThelastfunctionisthatanygivenpicturedatacanbedisplayedproperlyontheLCDscreen.Theresearchofthisprojectwillcontributetothedevelopin

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。