【正文】
高,而價(jià)格卻逐步降低。關(guān)于可編程 ASIC,對(duì)于半導(dǎo)體制造廠家而言,可按照一定的規(guī)格以通用器件形式大批量地生產(chǎn);對(duì)于用戶(hù),可按通用器件規(guī)格從市場(chǎng)上選購(gòu),再由用戶(hù)自己通過(guò)現(xiàn)場(chǎng)的設(shè)計(jì)、編程,實(shí)現(xiàn) ASIC 系統(tǒng)的要求。 1984 年, Xilinx(賽靈思)公司發(fā)明了現(xiàn)場(chǎng)可編程門(mén)陣列 ( FPGA)器件,隨后研制了復(fù)雜可編程邏輯器件( CPLD)。s the function carry on imitating really. The circuit design platform uses American ALTERA Corporation39。s mainly lend support to a design work of carrying on three aspects:IC design, design and PCB design of the electronics electric is no EDA technical support, the design manufacturing which wants to plete abovementioned super large scale integration can39。 關(guān)鍵詞 : 乒乓球游戲 EDA VHDL MAX+plus II FPGA II Abstract Society has already got into the height flourishing informationbasedsociety, information society of the development can not get away from the progress of electronics electronics product at the function raises, plications enlarge of in the meantime, but the price has been presenting to descend trend, and the product renewal change the step of generation also more and more quick, the main reason which carries out this kind of progress is to produce ma nufacturing technique and electronics to design a technical former takes very small processing technology as to represent, having already made progress a deeply second micron stage currently, can at several square minimeter the chip of the rice up integrate few ten millions transistor。 該設(shè)計(jì)由模擬乒乓球行進(jìn)路徑的發(fā)光管亮燈控制模塊 (BALL),乒乓球板接球控制模塊 (BOARD),失球計(jì)數(shù)器的高位計(jì)數(shù)模塊 (COUT4), 失球計(jì)數(shù)器的低位計(jì)數(shù)模塊 (COUT10),乒乓球行進(jìn)方向控制模塊(MWAY),失球提示發(fā)聲模塊 (SOUND)和總控制模塊 (BALLCTRL)七個(gè)模塊組成。我們采用 EDA技術(shù)對(duì)核心電路進(jìn)行設(shè)計(jì),完成設(shè)計(jì)后把用 VHDL描述的源程序下載到目標(biāo)芯片上并對(duì)其功能進(jìn)行仿真。沒(méi)有 EDA 技術(shù)的支持,想要完成上述超大規(guī)模集成電路的設(shè)計(jì)制造是不可想象的,反過(guò)來(lái),生產(chǎn)制造技術(shù)的不斷進(jìn)步又必將對(duì) EDA 技術(shù)提出新的要求。前者以微細(xì)加工技術(shù)為代表,目前已進(jìn)展到深亞微米階段,可以在幾平方厘米的芯片上集成數(shù)千萬(wàn)個(gè)晶體管;后者的核心就是 EDA 技術(shù)。 基于 VHDL 的乒乓球游戲電路設(shè)計(jì) 作者姓名: 專(zhuān)業(yè)名稱(chēng): 信息工 指導(dǎo)教師: I 摘要 人類(lèi)社會(huì)已進(jìn)入到高度發(fā)達(dá)的信息化社會(huì),信息社會(huì)的發(fā)展離不開(kāi)電子產(chǎn)品的進(jìn)步?,F(xiàn)代電子產(chǎn)品在性能提高、復(fù)雜度增大的同時(shí),價(jià)格卻一直呈下降趨勢(shì),而且產(chǎn)品更新?lián)Q代的步伐也越來(lái)越快,實(shí)現(xiàn)這種進(jìn)步的主要原因就是生產(chǎn)制造技術(shù)和電子設(shè)計(jì)技術(shù)的發(fā)展。 EDA 是指以計(jì)算機(jī)為工作平臺(tái),融合了應(yīng)用電子技術(shù)、計(jì)算機(jī)技術(shù)、智能化技術(shù)最新成果而研制成的電子 CAD 通用軟件包,主要能輔助進(jìn)行三方面的設(shè)計(jì)工作: IC 設(shè)計(jì) ,電子電路設(shè)計(jì)以及 PCB 設(shè)計(jì)。 本次設(shè)計(jì)的任務(wù)是設(shè)計(jì)一個(gè)基于 VHDL語(yǔ)言的乒乓球游戲電路。電路設(shè)計(jì)平臺(tái)采用的美國(guó)ALTERA公司的 EDA軟件 MAX+plusII。通過(guò)使用自頂向下的層次化的設(shè)計(jì)方法,實(shí)現(xiàn)了乒乓球游戲的所有功能。The core of the latter is an EDA EDA means to take calculator as work terrace, blending an applied electronics technique, calculator technique, intelligence to turn technique the last word but developing of the electronics CAD in general use softwarepackage, can Mankind39。t imagine, turning over, producing a manufacturingto progress unremittingly technically and willing put forward a new request to the EDA technique necessarily. The mission of this time design is the pingpong game which designs according to the VHDL language electric circuit adopt an EDA technique to carry on a design to the core electric circuit, plete a design behind use a VHDL description of the source procedure download target chip up bine as to it39。s EDA software MAX+plusII. Keyword: Pingpong game,EDA,VHDL,MAX+plusII,FPGA IV 目錄 摘要 .................................................. I ABSTRACT ............................................. II 目錄 ................................................. IV 前言 ............................................... 1 1 EDA 技術(shù)介紹 ...................................... 2 EDA 技術(shù)的發(fā)展與應(yīng)用 ............................... 2 前言 .......................................... 2 EDA 技術(shù)的發(fā)展 ................................ 2 ESDA 技術(shù)的基本特征 .......................... 3 自頂向下 的設(shè)計(jì)方法 ...................... 3 ASIC 設(shè)計(jì) ................................. 3 FPGA/ CPLD 簡(jiǎn)介 ................................... 4 FPGA/ CPLD 的結(jié)構(gòu)特點(diǎn)和原理 ................... 4 基于 SRAM 編程的 FPGA 結(jié)構(gòu)及原理 .......... 4 基于 PROM 或 E2PROM 編程的 CPLD .......... 6 FPGA/ CPLD 芯片進(jìn)行設(shè)計(jì)的一般流程 ............. 7 FPGA/ CPLD 開(kāi)發(fā)工具 .......................... 8 FPGA/ CPLD 未來(lái)發(fā)展 方向 ....................... 9 2 VHDL 硬件描述語(yǔ)言 ................................ 10 VHDL 語(yǔ)言概述 ..................................... 10 VHDL 語(yǔ)言的 發(fā)展概況 .......................... 10 VHDL 設(shè)計(jì)與傳統(tǒng)設(shè)計(jì)技術(shù)的優(yōu)勢(shì)比較 ............ 10 VHDL 設(shè)計(jì)方式的優(yōu)點(diǎn) .......................... 11 VHDL 語(yǔ)言介紹 ..................................... 14 VHDL 語(yǔ)言的結(jié)構(gòu) .............................. 14 VHDL 主要語(yǔ)法簡(jiǎn)介 ............................ 15 VHDL 設(shè)計(jì)綜合過(guò)程 ................................. 16 設(shè)計(jì)要求的定義 ............................... 17 采用 VHDL 進(jìn)行設(shè)計(jì)描述 ....................... 17 源代碼模擬( Simulate the Source Code) ....... 17 綜合、優(yōu)化和裝配設(shè)計(jì) ......................... 18 V 布局布線后設(shè)計(jì)模塊的模擬( Simulate the Postlayout DesignModel) ...................................... 19 器件編程 ..................................... 19 3 乒乓球游戲電路設(shè)計(jì) ............................... 20 乒 乓球游戲電路設(shè)計(jì)及要求 .......................... 20 設(shè)計(jì)任務(wù) ..................................... 20 設(shè)計(jì)原理 ..................................... 20 各個(gè)模塊的設(shè)計(jì) .................................... 22 頂層模塊的設(shè)計(jì) ............................... 22 頂層模塊 ................................. 22 頂層文件程序仿真圖 ....................... 23 失球提示發(fā)聲模塊 (SOUND)的設(shè)計(jì) ................ 24 失球提示發(fā)聲模塊 ......................... 24 失球提示發(fā)聲模塊的 VHDL 程序 .............. 24 失球提示發(fā)聲模塊程序仿真圖 ............... 25 總控制模塊 (BALLCTRL)的設(shè)計(jì) ................... 25 總控制模塊 ............................... 25 總控制模塊的 VHDL 程序 .................... 26 總控制模塊程序仿真圖 ..................... 28 乒乓球行徑的發(fā)光管亮燈控制模塊 (BALL)設(shè)計(jì) ..... 29 乒乓球燈模塊 ............................. 29 乒乓球燈模塊的 VHDL 程序 .................. 29 乒乓球燈模塊的程序仿真圖 ................. 30 乒乓球板接球控制模塊 (BOARD)的設(shè)計(jì) ............ 31 乒乓球板接球控制模 塊 ..................... 31 乒乓球板接球