PS/2键盘识别

上传者: shhdgl | 上传时间: 2022-06-04 08:29:25 | 文件大小: 246KB | 文件类型: ZIP
键盘是最常用人机接口设备之一,在嵌入式系统中有着相当广泛的应用。一般自行设计的简易矩阵键盘仅仅是按行、列排列起来的矩阵开关。当需要较多的按键时,则会占用较多的I/O 端口,在软件上则要进行上电复位按键扫描及通信处理,而且还要加上按键的去抖动处理,增大了软硬件开销。而PS/2 键盘,内嵌自动去除按键抖动设计,自动地识别键的按下与释放,软硬件开发简便,价格便宜,稳定可靠,将PS/2 键盘作为嵌入式系统的输入设备已经成为可行的方案。 本设计是以现场可编程逻辑器件(FPGA)为核心的PS/2接口键盘的输入识别电路。利用QuartusⅡ软件编写verilog HDL硬件描述语言程序以实现键盘部分简单键值的识别与输出。本设计主要以程序为核心,硬件电路的搭建使用FPGA实验箱,将程序顶层文件里定义的输入输出端口与实验箱管脚进行相应的配置,除实验箱上的reset键以外,外设是一个与实验箱通过PS/2接口相连的键盘。当系统上电后,实验箱上的数码管可以依次显示从键盘上输入的键值,并具有数码管清零功能。

文件下载

资源详情

[{"title":"( 62 个子文件 246KB ) PS/2键盘识别","children":[{"title":"最终版本","children":[{"title":"top.map.eqn <span style='color:#111;'> 23.73KB </span>","children":null,"spread":false},{"title":"top.pof <span style='color:#111;'> 512.18KB </span>","children":null,"spread":false},{"title":"top.qsf <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false},{"title":"top.fit.rpt <span style='color:#111;'> 79.83KB </span>","children":null,"spread":false},{"title":"top.tan.summary <span style='color:#111;'> 1.63KB </span>","children":null,"spread":false},{"title":"top.asm.rpt <span style='color:#111;'> 7.88KB </span>","children":null,"spread":false},{"title":"top.done <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"db","children":[{"title":"top.rtlv.hdb <span style='color:#111;'> 7.32KB </span>","children":null,"spread":false},{"title":"top.map.qmsg <span style='color:#111;'> 15.39KB </span>","children":null,"spread":false},{"title":"top.syn_hier_info <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"top.rtlv_sg_swap.cdb <span style='color:#111;'> 863B </span>","children":null,"spread":false},{"title":"top.asm.qmsg <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"top.(1).cnf.hdb <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false},{"title":"top.(3).cnf.cdb <span style='color:#111;'> 1.02KB </span>","children":null,"spread":false},{"title":"top.pre_map.cdb <span style='color:#111;'> 7.49KB </span>","children":null,"spread":false},{"title":"top_cmp.qrpt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"top.cbx.xml <span style='color:#111;'> 210B </span>","children":null,"spread":false},{"title":"top.sld_design_entry.sci <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"top.map.cdb <span style='color:#111;'> 7.08KB </span>","children":null,"spread":false},{"title":"top.fit.qmsg <span style='color:#111;'> 29.91KB </span>","children":null,"spread":false},{"title":"top.cmp.hdb <span style='color:#111;'> 8.88KB </span>","children":null,"spread":false},{"title":"top.pre_map.hdb <span style='color:#111;'> 7.35KB </span>","children":null,"spread":false},{"title":"top.sld_design_entry_dsc.sci <span style='color:#111;'> 135B </span>","children":null,"spread":false},{"title":"top.db_info <span style='color:#111;'> 136B </span>","children":null,"spread":false},{"title":"top.sgdiff.hdb <span style='color:#111;'> 9.54KB </span>","children":null,"spread":false},{"title":"top.rtlv_sg.cdb <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false},{"title":"top.(0).cnf.cdb <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"top.signalprobe.cdb <span style='color:#111;'> 511B </span>","children":null,"spread":false},{"title":"top0.rtl.mif <span style='color:#111;'> 3.97KB </span>","children":null,"spread":false},{"title":"top.(4).cnf.hdb <span style='color:#111;'> 479B </span>","children":null,"spread":false},{"title":"top.(0).cnf.hdb <span style='color:#111;'> 583B </span>","children":null,"spread":false},{"title":"top.(4).cnf.cdb <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"top.hif <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"top.cmp.rdb <span style='color:#111;'> 20.12KB </span>","children":null,"spread":false},{"title":"top.psp <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"top.hier_info <span style='color:#111;'> 3.92KB </span>","children":null,"spread":false},{"title":"top.cmp.cdb <span style='color:#111;'> 18.20KB </span>","children":null,"spread":false},{"title":"top.cmp.tdb <span style='color:#111;'> 15.75KB </span>","children":null,"spread":false},{"title":"top.(2).cnf.hdb <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"altsyncram_klj.tdf <span style='color:#111;'> 6.80KB </span>","children":null,"spread":false},{"title":"top.(1).cnf.cdb <span style='color:#111;'> 2.97KB </span>","children":null,"spread":false},{"title":"top.(2).cnf.cdb <span style='color:#111;'> 6.55KB </span>","children":null,"spread":false},{"title":"top.eco.cdb <span style='color:#111;'> 141B </span>","children":null,"spread":false},{"title":"top.cmp0.ddb <span style='color:#111;'> 30.37KB </span>","children":null,"spread":false},{"title":"top.map.hdb <span style='color:#111;'> 8.63KB </span>","children":null,"spread":false},{"title":"top.sgdiff.cdb <span style='color:#111;'> 4.92KB </span>","children":null,"spread":false},{"title":"top.(3).cnf.hdb <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"top.tan.qmsg <span style='color:#111;'> 45.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"digitron.v <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false},{"title":"top.map.rpt <span style='color:#111;'> 31.63KB </span>","children":null,"spread":false},{"title":"top.sof <span style='color:#111;'> 137.21KB </span>","children":null,"spread":false},{"title":"top.flow.rpt <span style='color:#111;'> 3.53KB </span>","children":null,"spread":false},{"title":"top.map.summary <span style='color:#111;'> 371B </span>","children":null,"spread":false},{"title":"cmp_state.ini <span style='color:#111;'> 2B </span>","children":null,"spread":false},{"title":"top.pin <span style='color:#111;'> 29.45KB </span>","children":null,"spread":false},{"title":"ps2_5.v <span style='color:#111;'> 5.89KB </span>","children":null,"spread":false},{"title":"top.fit.eqn <span style='color:#111;'> 28.55KB </span>","children":null,"spread":false},{"title":"top.fit.summary <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"top.tan.rpt <span style='color:#111;'> 116.29KB </span>","children":null,"spread":false},{"title":"keshe5.qpf <span style='color:#111;'> 940B </span>","children":null,"spread":false},{"title":"keshe5.qws <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"top.v <span style='color:#111;'> 836B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • foundbase :
    设计正用到,谢谢!
    2014-03-12

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明