diff.vhd
来自「消抖程序」· VHDL 代码 · 共 25 行
VHD
25 行
library ieee;
use ieee.std_logic_1164.all;
entity diff is
port
(
cp : in std_logic;
d : in std_logic;
q : out std_logic;
qb : out std_logic
);
end entity;
architecture arc of diff is
begin
process(cp) is
begin
if(cp'event and cp='1')then
q<=d;
qb<=not d;
end if;
end process;
end arc;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?