首页> 中文期刊> 《山西电子技术》 >基于FPGA控制的按键模块的设计与实现

基于FPGA控制的按键模块的设计与实现

         

摘要

基于按键的不同形式, 有针对性地设计了两种按键控制模块.对于单个按键和独立键盘采用有限状态机的方法消抖;对于矩阵键盘采用延时消抖的方法.通过FPGA控制键盘, 采用VHDL语言编程, Quartus II 9. 0软件进行仿真.两种设计结果均可作为子模块的形式, 供上一级程序使用, 可移植性好.在实际应用中这两种方法误差最小, 稳定性好.%Two key control modules are designed based on different forms of the key. Finite state machine (FSM) is used to solve the problem of key jitter for single key and separate keyboard; for the matrix keyboard, the delay time can be changed by changing the number of counting times in the program. The keyboard is controlled by FPGA, and is simulated by VHDL language programming and Quartus II 9 software. The two design results can be used as sub modules in order to be used in a higher level program and have good portability. In practice, these two methods have the least error and good stability.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号