摘要
按键被广泛用于基于FPGA的数字电路系统设计中,机械式按键开关在按键操作时经常会出现抖动现象,如果不进行消除将会造成电路系统的误操作。基于此介绍了基于VHDL语言的计数器型消抖电路、D触发器型消抖电路、状态机型消抖电路的工作原理、相关程序、波形仿真及结果分析,并下载到EP2C35F672C8芯片上进行验证,消抖效果良好,性能稳定,可广泛用于FPGA的按键电路中。
The key is widely used in digital circuit system design based on the FPGA,the mechanical type key switch often appears dithering phenomenon when operated,if the dithering is not to be eliminated,it will cause misoperation for circuit system.This article introduces the working principle,relevant program,waveform simulation and results analysis of the counter-type dithering elimination circuit,D flip-flop type dithering elimination circuit and state machine dithering elimination circuit based on VHDL.It is verified by EP2C35F672C8 with good effect and stable property,so it can be widely used in the key circuits based on FPGA.
出处
《山西电子技术》
2011年第1期61-63,共3页
Shanxi Electronic Technology