文档介绍:毕业设计
基于FPGA的外设电路
摘要
FPGA器件作为可编程逻辑主流硬件,近年来,应用越来越广泛,在现代科学技术中占有举足轻重的作用和地位。其外设电路作为芯片与外界输入方式之一,是十分具有研究价值的。FPGA器件不断增加新的模块,功能越来越强大,基于FPGA的外设电路也顺应形势,不断升级。
本设计综合行列式键盘、LED显示器、时钟一体,应用Verilog HDL语言实现下述功能:计时功能,包括时分秒的计时;校时功能:对时分秒手动调整以校准时间;键盘功能:应用4*4行列式键盘,可实现0-9数字的直接输入;LED动态扫描显示和闪烁,移位,灭零等功能,突出了其作为硬件描述语言的良好的可读性、可移植性和易理解等优点,并通过Altera QuartusⅡ、仿真。
本设计实现以上FPGA各功能,可作为EDA技术发展的价值体现。此程序通过下载到FPGA芯片后,可应用于实际的数字钟显示中。
关键字:行列式键盘、LED显示器、时钟、Verilog HDL。
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, FPGA-based 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; school functions: every minute of time to manually adjust the calibration time; keyboard functions: application of 4 * 4 determinant keyboard, numbers 0-9 can be directly imported; LED dynamic scanning display and blinking, shift, such as anti-zero function, highlights the hardware description language as a good readability, easy to understand the advantages of portability, and Altera Quartus Ⅱ through 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.
目录
引言 1
第一章系统硬件及设计软件介绍 2
开发板介绍 2
设计软件介绍 3
第二章系统方案设计 4
总设计方案 4
分频器设计方案 4
行列式键盘设计方案 5
六位7段LED显示设计方案 6
顶层模块设计方案 7
第三章系统程序设计 8
分频器程序设计 8
行