消抖电路.txt
来自「实现了16*16点阵上的三色显示的弹球游戏」· 文本 代码 · 共 20 行
TXT
20 行
library ieee;
use ieee.std_logic_1164.all;
entity dou is
port( din: std_logic;
clk: std_logic;
dout:std_lgoic);
end dou;
architecture rt1 of dou is
signal x,y:std_logic;
begin
process(clk)
begin
if clk'event and clk='1' then
x<=din;
y<=x;
end if;
dout<=x and( not y);
end process;
end rt1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?