2010年12月24日

PS2解码

摘要: PS2键盘:明确接线关系,只需接4根线,VCC要+5V,刚刚又测试过,3.3V也可以用。时钟和数据线要用bidir双向口线,FPGA可以不用外接上拉电阻。另外,USB键盘也可以用,只要用一个转接头转成PS2即可。键值查表PS2键盘解码其中detect.v模块Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1 module detect 2 ( 3 input clk, 4 input rst_n, 5 input ps2_clk_pin_i 阅读全文

posted @ 2010-12-24 15:50 齐威王 阅读(1583) 评论(1) 推荐(0) 编辑

按键消抖

摘要: 原理图模块消抖电路,利用已经优化好了的LPM库,节省资源,建模速度快。 阅读全文

posted @ 2010-12-24 12:53 齐威王 阅读(886) 评论(0) 推荐(0) 编辑

导航