【正文】
ROM 中數(shù)據(jù)讀入片內(nèi)編程 RAM 中 ,配置完成后 ,FPGA進(jìn)入工作狀態(tài)。 4) FPGA 是 ASIC 電路中設(shè)計(jì)周期最短、開發(fā)費(fèi)用最低、風(fēng)險(xiǎn)最小的器件之北方民族大學(xué)學(xué)士學(xué)位論文 基于 FPGA 的嵌入式系統(tǒng)設(shè)計(jì) LCD 顯示控制器 12 一。它是作為專用集成電路( ASIC)領(lǐng)域中的一種半定制電路而出現(xiàn)的 ,既解決了定制電路的不足 ,又克服了原有可編程器件門電路數(shù)有限的缺點(diǎn)。(該步驟也可略去) 下載。該操作完成后, EDA 軟件將產(chǎn)生針對此項(xiàng)設(shè)計(jì)的適配報(bào)告和 JED 下載文件等多項(xiàng)結(jié)果。利用產(chǎn)生的網(wǎng)表文件進(jìn)行功能仿真,以便了解設(shè)計(jì)描述與設(shè)計(jì)意圖的 一致性。 綜合。 基于 EDA 工具的 FPGA/CPLD 開發(fā)流程: 開發(fā)步驟: 文本 /原理圖 編輯與修改。也就是說,綜合器是軟件描述與硬件實(shí)現(xiàn)的一座橋梁。 EDA 是電子設(shè)計(jì)自動化( Electronic Design Automation)縮寫,以計(jì)算機(jī)為工具,根據(jù)硬件描述語言 HDL( Hardware Description language)完成的設(shè)計(jì)文件,自動地完成邏輯編譯、化簡、分割、綜合及優(yōu)化、布局布線、仿真以及對于特定目標(biāo)芯片的適配編譯和編程下載等工作。隨著模塊的工作,不斷向 LCD 顯示控制單元輸送最新數(shù)據(jù)信息在特定的位置上顯示當(dāng)信息位置固定不變時(shí),在顯示單元內(nèi)部定義常量,向固定位置傳送即可。 ( 3)非整數(shù)分頻 若時(shí)鐘源與頻率不成整數(shù)關(guān)系,則可以采用小數(shù)分頻器進(jìn)行分頻。一般 FPGA 的外部時(shí)鐘信號可達(dá)幾十兆赫, 但是由于一些接口電路的特性所致,這樣高頻率的時(shí)鐘不適合電路工作,所以應(yīng)該引進(jìn)時(shí)鐘分頻電路,產(chǎn)生頻率適合接口電路的時(shí)鐘信號,這樣才能便于接口電路工作。 北方民族大學(xué)學(xué)士學(xué)位論文 基于 FPGA 的嵌入式系統(tǒng)設(shè)計(jì) LCD 顯示控制器 9 第一章 緒 論 本課題通過對 LCD 顯示控制器的 VHDL 設(shè)計(jì),使學(xué)生熟練掌握用 EDA 的方法設(shè)計(jì)大型數(shù)字系統(tǒng)的能力,并通過下載可編程控制器件 FPGA 上實(shí)現(xiàn)設(shè)計(jì)功能。 在本設(shè)計(jì)中,主要設(shè)計(jì)了三個(gè)子模塊,分頻模塊 、 LCD 顯示模塊和執(zhí)行指令模塊 。 嵌入式系統(tǒng) 已深入應(yīng)用到軍事、生態(tài)環(huán)境監(jiān)測、基礎(chǔ)設(shè)施安全、醫(yī)療健康、工廠自動化、智能交通控制、智能居家、安全報(bào)警等領(lǐng)域。 關(guān)鍵詞 : LCD, FPGA, SOPC, Nios 北方民族大學(xué)學(xué)士學(xué)位論文 基于 FPGA 的嵌入式系統(tǒng)設(shè)計(jì) LCD 顯示控制器 5 ABSTRACT Compared to other terminal display device , LCD display has the advantages of lowvoltage, micropower, the information volume . It is widely used as the maximum use of the display device in the mobile munication terminal , portable puter , GPS satellite positioning systems .LCD controller for LCD driver circuit of the core ponents realize the liquid crystal display by provide timing signals and display data For the liquid crystal display system . With highcapacity programmable logic devices continue to emerge , FPGA technology is increasingly used in large scale integrated circuit design .FPGA (Field Programmable Gate Array) is powerful, high integration , good flexibility , speed , high stability and easy to implement plex logic functions and so on .The LCD controller realized with FPGAhardware programming language is easy to integrated to a SoC system and modify to adapt to different characteristics of liquid crystal displays . It is different with the traditional embedded system design, the Nios system development is divided the hardware development and the software develops two flows, SOPC is the certain oute of programmable technique developing. As the technology of SOC and PLD/FPGA bined, integrated the advantages of both, adapt to the application domain of both. Modern society, information technology based on puter has a rapid development of information technology and information has an explosive growth. Human visual information is obtained mostly from a variety of electronic display devices, so the requirements of these display devices are also increasing. Driven by these factors, display technology has made a rapid development .The LCD controller which using the FPGA / CPLD design is flexibility. It can do some special design to meet the system requirements at minimum cost under the different crystal types, sizes , the occasion of different industrial products .It can also solve mon LCD controller inherent drawbacks. In this paper, we use the VHDL hardware description language . It can replace 北方民族大學(xué)學(xué)士學(xué)位論文 基于 FPGA 的嵌入式系統(tǒng)設(shè)計(jì) LCD 顯示控制器 6 the specific integrated circuit to control the LCD. KEY WORDS : LCD, FPGA, SOPC, Nios 北方民族大學(xué)學(xué)士學(xué)位論文 基于 FPGA 的嵌入式系統(tǒng)設(shè)計(jì) LCD 顯示控制器 7 目 錄 前 言 .............................................................. 8 第一章 緒 論 ........................................................ 9 對象 ................................................ 9 技術(shù)簡介 ............................................... 10 簡介 .................................................. 11 簡介 .................................................. 12 . Quartus II 軟件簡介 ....................................... 13 . Quartus II 簡介 ..................................... 13 . Quartus II 的應(yīng)用 ................................... 13 II 的設(shè)計(jì)流程 ................................ 14 第二章 基于 Nios 的 SOPC 設(shè)計(jì) ...................................... 15 系統(tǒng) .................................................. 15 . SOPC 概述 ........................................... 15 嵌入式 系統(tǒng)開發(fā)概述 .................................... 16 系統(tǒng)硬件開發(fā)流程 ................................ 16 . 基于 Nios 的嵌入式系統(tǒng)開發(fā)流程 ...................... 17 . Nios 軟核處理器 ...................................... 19 . NiosⅡ 微處理器的應(yīng)用領(lǐng)域 .................................. 20 第三章 液晶顯示及其控制驅(qū)動機(jī)理分析 ............................... 21 ............................................... 21 ..................................... 21 ............................................. 24 第四章、 GW48PK 系統(tǒng) LCD 液晶屏使用方法 ............................ 28 . 864A LCM 圖形液晶顯示模塊的電路特性 ....................... 28 第五章 總體系統(tǒng)設(shè)計(jì)及資源 .......................................... 33 ................................................... 33 ................................................... 33 ............................................... 36 . 執(zhí)行指令模塊 .............................................. 38 . LCD 顯示模塊 .............................................. 39 ................................................... 39 . 調(diào)試中存在的問題 .......................................... 40 第六章 結(jié)語 ........................................................ 41 ................................................. 41 . 發(fā)展與展望 ................................................ 41 參考文獻(xiàn) ........................................................... 42 致 謝 ............................................................. 43 附錄 A:英文翻譯 ..............................