摘 要:本课题设计了一种具有多种功能和多种测量精度的数字频率计系统,采用VHDL硬件描述语言编程,并用FPGA实现。本设计选择以FPGA集成芯片为核心器件,以触发器和计数器为核心,由信号输入、放大、整形、计数、数据处理和数据显示等功能模块组成。因此,本课题的研究结合了FPGA控制、七段数码管字符显示和波形的整形放大等相关知识。设计平台为Altera公司的Quartus II 8.0软件,采用Altera公司的Cyclone系列FPGA实现。
本文详细介绍了数字频率计的设计过程,包括系统软件方案设计、系统硬件方案设计、芯片选型、编译仿真平台选择、功能模块划分、时钟分频模块设计、计数模块设计、按键去抖模块设计和七段数码管显示模块等部分的设计与实现,对深入研究EDA技术和波形发生器具有重大的意义。
FPGA(Field-Programmable Gate Array),即现场可编程门阵列,它是在PAL、GAL、CPLD等可编程器件的基础上进一步发展的产物。它是作为专用集成电路(ASIC)领域中的一种半定制电路而出现的,既解决了定制电路的不足,又克服了原有可编程器件门电路数有限的缺点。
关键词:EDA;FPGA;VHDL;数字频率计
Abstract: This paper designs a digital frequency meter using FPGA and VHDL language. The research of this paper is a combination of the FPGA controller, the 7-segment LED display, the digital triggers and counters, and other related knowledge. Therefore, this design is a combination of FPGA control; knowledge of the seven segment LED display and waveform shaping enlarge. The design platform is Altera Quartus II 8.0 software and Altera's Cyclone series FPGA chip.
This paper describes the design process of the digital frequency meter, including system software design, system hardware design, chip selection, the choice of the compile and simulation platform, the clock frequency module design, the main control module design, key debounce module design and the seven segment LED display module design. The design and realization give me a good chance to understand the EDA technologies and waveform generator.
Key words: EDA; FPGA; VHDL; Digital Frequency Meter