独立按键消抖FPGA模块
摘要:
View Code 1 module keyxiaodou ( 2 input clk,//the freq or clk is 50M 3 input rst,//use key3 for rst button 4 input key1,key2,//use key1 to light led,use key2 to turn off led 5 output led); 6 //-------------------------------------------------- 7 reg [1:0] key_r;//the first time check the key 8 alway 阅读全文
posted @ 2011-07-10 04:45 万好好 阅读(714) 评论(0) 推荐(0) 编辑