📄 xiaopro.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity xiaopro is
port(a,clk1:in std_logic;
b:out std_logic);
end xiaopro;
architecture xiao_arc of xiaopro is
signal tmp1:std_logic;
begin
process(clk1,a)
variable tmp3,tmp2:std_logic;
begin
if clk1'event and clk1='0' then
tmp1<=a;
tmp2:=tmp1;
tmp3:=not tmp2;
end if;
b<=tmp1 and tmp3 and clk1;
end process;
end xiao_arc;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -