📄 xxout.vhd
字号:
library IEEE;
use IEEE.std_logic_1164.all;
use IEEE.std_logic_arith.all;
use IEEE.std_logic_unsigned.all;
entity xxout is
port (
clk:in std_logic;
flag: buffer STD_LOGIC
);
end xxout;
architecture behave of xxout is
begin
-- <<enter your statements here>>
P1:process(clk)
variable first :std_logic;
begin
if clk'event and clk='1' then
if (first='0') then
flag<='0';
first:='1';
else
flag<='1';
end if;
end if;
end process;
end behave;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -