【正文】
Quartus II 環(huán)境下的設計輸入,綜合,仿真等內容,另外還包括 SOPC 建立和開發(fā)方面內容,如 Nios II 的建立和 Nios II 環(huán)境下 C/C++程序開發(fā)等。 FA130 具有豐富的板載資源,由于板載有 51單片機, FA130 還可以作為 51 單片機的學習開發(fā)板。 東華理工大學畢業(yè)(設計)論文 第 1 章 系統(tǒng)硬件及設計軟件介紹 2 第一章 系統(tǒng)硬件及設計軟件介紹 開發(fā)板介紹 本設計需要的硬件資源主要有: 六位七段數(shù)碼管 4*4 行列式鍵盤 經過仔細篩選,最終選定 聯(lián)華眾科 FPGA 開發(fā)板 FA130。另時鐘產生模塊采用 FPGA 硬件內置 66MHz 分頻,產生 250Hz, 5Hz, 1Hz 信號供時鐘模塊,輸入輸出模塊使用。 本設計主要以 FPGA 器件、 EDA 軟件工具、 Verilog HDL 硬件描述語言三方面內容作為主線,綜合行列式鍵盤, LED 顯示器件,以及時鐘模塊于一體,實現(xiàn)三個主要模塊的聯(lián)動,輸入部分為 4*4 行列式鍵盤,具備 09 十個數(shù)字鍵、修改 /確認鍵、左右移動鍵,輸出數(shù)據(jù)為 6 位二進制代碼,輸出部分為六位 7 段 LED 數(shù)碼管,可實現(xiàn)時分秒顯示,時鐘滅零顯示,修改閃爍以 及小數(shù)點秒閃爍功能。 LED dynamic scanning display and blinking, shift, such as antizero function, highlights the hardware description language as a good readability, easy to understand the advantages of portability, and Altera Quartus Ⅱ through the pletion of synthesis, simulation. FPGA Design and Implementation of the above various functions, can be used as the value of EDA technology embodied. This process by downloading to the FPGA chip can be used in practical digital clock display. Keywords: determinant keyboard, LED display, clock, Verilog HDL. 東華理工大學畢業(yè)(設計)論文 目 錄 1 目 錄 引 言 ................................................................................................... 1 第一 章 系統(tǒng)硬件及設計軟件介紹 .......................................................... 2 開發(fā)板介紹 ............................................................................................................ 2 設計軟件介紹 ........................................................................................................ 3 第二章 系統(tǒng)方案設計 ............................................................................. 4 總設計方案 ............................................................................................................ 4 分頻器設計方案 .................................................................................................... 4 行列式鍵盤設計方案 ............................................................................................ 5 六位 7 段 LED 顯示設計方案 ................................................................................ 6 頂層模塊設計方案 ................................................................................................ 7 第三章 系統(tǒng)程序設計 ............................................................................. 8 分頻器程序設計 .................................................................................................... 8 行列式鍵盤程序設計 .......................................................................................... 10 六位 7 段 LED 顯示程序設計 .............................................................................. 12 頂層模塊 程序設計 .............................................................................................. 13 第四章 程序仿真 ...................................................................................20 分頻器程序仿真 .................................................................................................. 20 行列式鍵盤程序仿真 .......................................................................................... 20 六位 7 段 LED 顯示程序仿真 .............................................................................. 21 頂層模塊程序仿真 .............................................................................................. 22 結 論 ......................................................................................................25 致 謝 ......................................................................................................27 參考文獻 ..................................................................................................28 附錄 1 分頻器程序 ................................................................................29 附錄 2 行列式鍵盤程序 .........................................................................31 附錄 3 六位 7段 LED 顯示程序 ..............................................................33 附錄 4 頂層時鐘程序 .............................................................................35 東華理工大學畢業(yè)(設計)論文 引 言 1 引 言 計算機技術和微電子工藝的發(fā)展,使得現(xiàn)代數(shù)字系統(tǒng)的設計和應用進入了新的階段。 school functions: every minute of time to manually adjust the calibration time。 關鍵字 :行列式鍵盤、 LED 顯示器、時鐘、 Verilog HDL。 本設計實現(xiàn)以上 FPGA 各功能,可作為 EDA 技術發(fā)展的價值體現(xiàn)。 FPGA 器件不斷增加新的模塊,功能越來越強大,基 于 FPGA 的外設電路也順應形勢,不斷升級。 畢業(yè)設計(論文 ) 題 目: 基于 FPGA 的通用外設電路設計 英文題目: Design of Universal Peripheral Circuit Based on FPGA 東華理工大學畢業(yè)(設計)論文 摘 要 摘 要 FPGA 器件作為可編程邏輯主流硬件,近年來,應用越來越廣泛,在現(xiàn)代科學技術中占有舉足輕重的作用和地位。其外設電路作為芯片與外界輸入方式之一,是十分具有研究價值的。 本設計綜合行列式鍵盤 、 LED 顯示器 、 時鐘一體,應用 Verilog HDL 語言實現(xiàn)下述功能:計時功能,包括時分秒的計時;校時功能:對時分秒手動調整以校準時間;鍵盤功能:應用 4*4 行列式鍵盤,可實現(xiàn) 09 數(shù)字的直接輸入; LED 動態(tài)掃描顯示和閃爍,移位,滅零等功能,突出了其作為硬件描述語言的良好的可讀性、可移植性和易理解等優(yōu)點 , 并通過 Altera QuartusⅡ 完成綜合、仿真。 此程序通過下載到 FPGA 芯片后 ,可應用于實際的數(shù)字鐘顯示中。 東華理工大學畢業(yè)(設計)論文 Abstract ABSTRACT FPGA programmable logic devices, as the mainstream of hardware, in recent years, more and more extensive applications in modern science and technology plays a vital role and status. Its peripheral circuit chip with the outside world as one of input is very valuable in research. FPGA devices are constantly adding new modules, more powerful, FPGAbased response to the peripheral circuit is also the situation escalated. The determinant of the design of an integrated keyboard, LED display, integrated clock, application Verilog HDL language to achieve the following functions: time functions, including the time when minutes and seconds。 keyboard functions: application of 4 * 4 determinant keyboard, numbers 09 can be directly imported。電子設計自動化( EDA)技術在數(shù)字系統(tǒng) 設計中起的作用越來越重要,新的工具和新的設