【正文】
xx 大學(xué)學(xué)士學(xué)位論文 I 基于 FPFA 的 VGA 顯示控制器 設(shè)計(jì) 摘要 目前,數(shù)碼產(chǎn)品逐漸進(jìn)入了人們生活的每一個(gè)領(lǐng)域,而此類(lèi)產(chǎn)品大多都帶有顯示屏,可見(jiàn)對(duì)顯示屏的控制電路進(jìn)行研究具有很大的市場(chǎng)需求。 VGA 作為一種標(biāo)準(zhǔn)的顯示接口得到了廣泛的應(yīng)用,同時(shí)基于 VGA 技術(shù)的顯示 控制器也擁有廣泛的使用領(lǐng)域。 本文所設(shè)計(jì)的 VGA 控制器就是通過(guò)利用超大規(guī)模可編程邏輯器件 FPGA 和Altera 公司開(kāi)發(fā)的 EDA 設(shè)計(jì)軟件 Quartus II ,并采用自頂向下的 VHDL 設(shè)計(jì)方法, 將該控制器分成用 VHDL 語(yǔ)言 進(jìn)行描述的五個(gè)子模塊來(lái)實(shí)現(xiàn)的 。 在Quartus II 軟件平臺(tái)上,完成了對(duì)該控制器的設(shè)計(jì)輸入、綜合、仿真和下載 。 在實(shí)驗(yàn)開(kāi)發(fā)板上 , 也 進(jìn)行了硬件調(diào)試。 調(diào)試 結(jié)果表明,設(shè)計(jì)的 VGA 控制器能夠正確地輸出 RGB 顏色信號(hào)和時(shí)序控制信號(hào), 可以顯示符合 VGA 工業(yè)標(biāo)準(zhǔn)的測(cè)試彩條信號(hào),內(nèi)置 ROM 信息 ,實(shí)時(shí) RAM 信息,還能夠分屏顯示三路 RGB圖像信息,并在這幾種模式之間靈活切換和通斷。它 工作穩(wěn)定,達(dá)到了設(shè)計(jì)要求。 本設(shè)計(jì)利用了不同于以往傳統(tǒng)的電子設(shè)計(jì)方法,具有修改靈活,高移植性,維護(hù)簡(jiǎn)單,可靠性好等優(yōu)點(diǎn)。大大地縮短了設(shè)計(jì)周期,降低了生產(chǎn)成本。 關(guān)鍵詞 現(xiàn)場(chǎng)可編程門(mén)陣列;硬 件描述語(yǔ)言;視頻圖 像 陣列 xx 大學(xué)學(xué)士學(xué)位論文 II The VGA Display Controller Design Based on FPFA Abstract The currently, the digital products which most of them have a display screen entered in every area of people39。s lives gradually, so we can see the great market demand of the study on the control circuit .As a standard display interface has been widely used, the VGA display controller based on this VGA norm also has a broad field of use at the same time. In this paper, designed through the use of ultralargescale programmable logic deviceFPGA and Altera developed EDA design software Quartus II of version , and the VHDL topdown design methodology,the VGA controller was divided into five submodules which described with VHDL language. It has finished the design of the controller input, integrated, simulation, and download on Quartus II software platform,and it has carried out hardware debugging on the experimental development board. The results from debugging showed that the design of the VGA controller can output the color signals of RGB and the control signals correctly. It can show the images that pliance with industry standard of VGA ,such as the color bar test signal, a builtROM image, and a realtime RAM image, but also to show the threeway RGB image information on one screen separately,and it can make a choice between these types of models and control the output connect or work Stable and achieve the design requirements. With the advantage of easily change, high portability, easy maintenance, good reliability,this design is different from the traditional method of electronic greatly short the design cycle and reduce the production costs. Keywords FPGA; VHDL; VGA xx 大學(xué)學(xué)士學(xué)位論文 III 目錄 摘要 …… ....................................................................................................................... I Abstract ........................................................................................................................ II 第 1 章 緒論 ................................................................................................................ 1 課題背景 ........................................................................................................... 1 國(guó)內(nèi)外文獻(xiàn)綜述 ............................................................................................... 1 顯示技術(shù)的發(fā)展史 .................................................................................... 1 各種顯示器的顯示原理 ............................................................................ 2 顯示標(biāo)準(zhǔn)的發(fā)展 ........................................................................................ 4 VGA 概述及其接口 ................................................................................... 5 論文研究?jī)?nèi)容 ................................................................................................... 7 第 2 章 VGA 顯示控制的相關(guān)理論 .......................................................................... 8 VGA 顯示控制 .................................................................................................. 8 VGA 顯示控制方式 ................................................................................... 8 顏色模型 .................................................................................................. 10 分屏顯示技術(shù) .......................................................................................... 12 矩陣切換技術(shù) .......................................................................................... 12 實(shí)現(xiàn)工具簡(jiǎn)介 ................................................................................................. 12 基于 VHDL 的自頂向下設(shè)計(jì)方法 ......................................................... 12 QuartusII 軟件簡(jiǎn)介 .................................................................................. 14 VHDL 語(yǔ)言簡(jiǎn)介 ....................................................................................... 16 FPGA 簡(jiǎn)介 ................................................................................................ 16 本章小結(jié) ......................................................................................................... 18 第 3 章 VGA 顯示控制器的 VHDL 設(shè)計(jì) ............................................................... 19 顯示控制器的整體設(shè)計(jì) ................................................................................. 19 系統(tǒng)整體設(shè)計(jì)思想 .................................................................................. 19 系統(tǒng)的功能模塊劃分 .............................................................................. 19 各個(gè)模塊的分別實(shí)現(xiàn) .............................................................................. 20 系統(tǒng)的整體硬件設(shè)計(jì) .............................................................................. 20 系統(tǒng)各個(gè)功能模塊的設(shè)計(jì) ............................................................................. 21 PLL 鎖相環(huán)設(shè)計(jì) ....................................................................................... 21 彩條信號(hào)發(fā)生器設(shè)計(jì) .............................................................................. 23 ROM 信息讀取顯示控制器設(shè)計(jì) ............................................................. 26 實(shí)時(shí) RAM 信息讀取顯示控制器設(shè)計(jì) ................................................... 29 多路 RGB 圖像信號(hào)分屏顯示控制器設(shè)計(jì) ............................................ 30 4 路