摘要
为了有效防止机械式键盘按键抖动带来的数据错误,这里在Quartus Ⅱ开发环境下,采用VHDL语言设计了一种能够将机械式4×4矩阵键盘的按键值依次显示到8个7段数码管上的矩阵键盘及显示电路。仿真结果表明,所设计的矩阵键盘及显示电路成功地实现了按键防抖和按键数据的准确显示。以ACEX1K系列EP1K30QC208芯片为硬件环境,验证了各项设计功能的正确性。
The application of the FPGA/CPLD becomes more and more extensive in the design of digital system,and it has affected our life deeply.The data inputted by matrix keyboard and displayed by digital tube,the design is applied widely in electron equipments.In order to avoid the data mistakes resulted by the key-press shake,a matrix keyboard and display circuit which can display the key-press input data produced by 4×4 matrix keyboard in turn with 8 word 7-seg display was designed with the language of VHDL in the environment of Quartus Ⅱ.The simulation results indicate that the matrix keyboard and display circuit designed in this paper realized the key-press anti-shake and exact display.Finally,validity of whole designed functions was validated with the EP1K30QC208 chip of ACEX1K series.
出处
《现代电子技术》
2010年第16期14-16,共3页
Modern Electronics Technique