摘要
如今键盘的应用在我们的日常生活中随处都可以见到,例如,电脑键盘,手机,计算器等等。20世纪90年代,国际上电子和计算机技术较先进的国家,一直在积极探索新的电子电路设计方法,并在设计方法、工具等方面进行了彻底的变革,取得了巨大成功。在电子技术设计领域,可编程逻辑器件(如CPLD、FPGA)的应用,已得到广泛的普及,这些器件为数字系统的设计带来了极大的灵活性。这一切极大地改变了传统的数字系统设计方法、设计过程和设计观念,促进了EDA技术的迅速发展。
本次设计在EDA开发平台QUARTUSⅡ。要求设计一个4×8矩阵键盘接口控制器,含有时序产生电路,键盘扫描电路,弹跳消除电路,键盘译码电路,键盘码存储电路,显示电路。但按一下某键时,在数码管上显示改键对应的键值。一共有三个模块,分别为:扫描电路模块、时钟产生模块、键盘译码电路和按键标志位产生电路。扫描模块中是为了产生扫描信号,来利用扫描信号来扫描键盘中是否有按键按下。键盘译码电路和按键标志位产生电路也是为了配合扫描模块来扫描电路中是否有按键按下,而且还要求它来产生按键标志信号,以便和外部电路握手。时钟产生电路是为了产生不同频率的信号,来驱动上面两个电路的运转。
关键词: FPGA/CPLD;矩阵键盘;VHDL
Abstract
Now keyboard application in our daliy life can be seen everywhere ,for example,puter keyboard,cellphone,calculator, countries which have advanced electronic puter technology among the International field have been actively exploring new electronic circuit design method and design method. And they made pletely reformation in the design methods and the tools, that has achieved a huge ess since the 1990s. In the Electrical Technology Design field, programmable logic device such as: CPLD, FPGA’s adhibition have been already popularized. All those devices made a great flexibility to the design of the digital system. And also changed the traditional digital system’ design methods, design procedure and the design concept immensely. And it is greatly enhanced the development of the EDA.
Circuit designing that QUARTUSⅡdeveloping platform in EDA makes use of VHDL language design Matrix keyboard interface circuit on originally time. Requirement is to design a matrix keyboard 4×9, a total of three modules, namely: scanning circuit module, clock generation module, the keyboard decoder circuit and the key flag generation circuit. Scanner module is to generate scanning signals to the scanning signal to scan the keyboard button press whether there. Keyboard decoding circuit and button flag generating circuit is connected to the scanning module to scan the circuit if there are key pressed, but also requir
四季花城核心价值探讨 来自淘豆网m.daumloan.com转载请标明出处.