【正文】
桂林電子科技大學(xué)實(shí)訓(xùn)(論文)報(bào)告用紙 第 1 頁 共 2 頁 CRT 字符控制器設(shè)計(jì) 摘 要 本論文介紹了基于 Altera 公司的 Cyclone II 系列 FPGA 的 CRT 字符控制器 設(shè)計(jì) ,利用 FPGA 芯片實(shí)現(xiàn)對(duì) CRT 顯示器掃描軌跡控制, 采用 VGA 接口 和電阻 網(wǎng)絡(luò) D/A 轉(zhuǎn)換 進(jìn)行系統(tǒng)互聯(lián), 在 CRT 顯示器 上能夠 顯示基本的 ASCII 字符、漢字、圖像、 圖形和 16 位色彩。 同時(shí)能夠通過指令端口設(shè)置顯示 漢 字 、圖像等大小和對(duì)應(yīng) 所在顯示器 上的 位置,該功能包括了對(duì)圖形、圖像的動(dòng)態(tài)顯示與控制, 完全實(shí)現(xiàn)仿 點(diǎn)陣液晶的 中級(jí) 顯示。 畢設(shè) 的重心放在了顯示控制器的系統(tǒng)層面的設(shè)計(jì),采用了自頂向下的思路進(jìn)行設(shè)計(jì) ,系統(tǒng)的核心為有限狀態(tài)機(jī)。 論文 中給出了完整的設(shè)計(jì)思路和過程,并將系統(tǒng)分模塊進(jìn)行了詳細(xì)的設(shè)計(jì),給出了 VHDL 語言描述。完成了狀態(tài)機(jī)和核心模塊以及系統(tǒng)整體的仿真驗(yàn)證。 然后在計(jì)算機(jī)的 Quartus II 軟件平臺(tái)上完成設(shè)計(jì)電路的編輯、編譯、仿真,編程下載到特定目標(biāo)芯片, 最終下載到 硬件電路板 上測(cè)試通過。 關(guān)鍵詞 : FPGA; VHDL; VGA 接口; 狀態(tài)機(jī); 16 位色彩; 顯示 漢 字 ;圖形和圖像動(dòng)態(tài)顯示 桂林電子科技大學(xué)實(shí)訓(xùn)(論文)報(bào)告用紙 第 2 頁 共 2 頁 Abstract This paper describes the CRT based on Altera39。s Cyclone II FPGA series character design, CRT monitors scan path control using FPGA chip, d/a conversion system with VGA interface and the resistance work interconnection, on CRT monitors capable of displaying basic ASCII characters, characters, images, graphics, and 16bit color. While port is set to display Chinese characters, through instruction on display as the image size and position, which includes the dynamic display of graphics, image and control, the full realization of imitation of the intermediate dotmatrix LCD display. Set focus on the display controller for systemlevel design, using topdown design, the system core for finite state machines. Paper gives the plete set of design and process, detailed design and system modules, described in VHDL language are given. Completed state machine and simulation of the core module and the system as a whole. And then in the Quartus II software platform 11 design was pleted on the puter editing, pilation, simulation of a circuit, chip download programming to a specific destination, ultimately downloaded to the hardware circuit board test passed. Key words: FPGA。VHDL。VGA interface。16bit color。Display Chinese characters。Dynamic display of graphics and images 桂林電子科技大學(xué)實(shí)訓(xùn)(論文)報(bào)告用紙 第 1 頁 共 1 頁 目 錄 摘 要 ...................................................................................................................................... 1 ABSTRACT ........................................................................................................................... 2 引言 ........................................................................................................................................... 1 1 FPGA和 VGA概述 ........................................................................................................... 1 FPGA 的概念 ................................................................................................................ 1 FPGA 的發(fā)展 ................................................................................................................ 2 FPGA 的工作原理 ........................................................................................................ 2 VGA 基本概念 .............................................................................................................. 3 VGA 顯示原理 .............................................................................................................. 4 VGA 接口定義 .................................................................................................. 4 VGA 時(shí)序控制 .................................................................................................. 4 2 系統(tǒng)設(shè)計(jì) .......................................................................................................................... 6 設(shè)計(jì)思路 ..................................................................................................................... 6 系統(tǒng)功能結(jié)構(gòu)設(shè)計(jì) ..................................................................................................... 6 系統(tǒng)層次模塊劃分 ..................................................................................................... 7 頂層模塊 .......................................................................................................... 7 各部分控制模塊 .............................................................................................. 7 用戶模式 底層模塊 .......................................................................................... 9 系統(tǒng)硬件語言描述 ................................................................................................... 11 描述思路 ................................................................................................ 11 總體電路的描述 ............................................................................................ 11 分塊電路的描述 ............................................................................................ 15 系統(tǒng)仿真驗(yàn)證 ........................................................................................................... 28 3 結(jié)果與分析 ................................................................................................................... 30 實(shí)現(xiàn)功能說明 ........................................................................................................... 30 器件資源分析 ........................................................................................................... 31 故障與問題分析 ....................................................................................................... 32 4 總結(jié) ................................................................................................................................. 33 謝 辭 .................................................................................................................................... 34 參考文獻(xiàn) ............................................................................................................................... 35 附 錄 .........................................................