📄 reg1.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity Reg1 is
port(q: in std_logic_vector(7 downto 0);
clk1:in std_logic;
a:out std_logic_vector(7 downto 0));
end Reg1;
architecture one of Reg1 is
begin
process(clk1)
begin
if clk1'event and clk1='1' then
a<=q;
end if;
end process;
end one;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -