📄 sn74373.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity sn74373 is
port(D:in std_logic_vector(8 downto 1);
OEN: in std_logic;
G:in std_logic;
Q:out std_logic_vector(8 downto 1));
end sn74373;
architecture rtl of sn74373 is
signal sig:std_logic_vector(8 downto 1);
begin
process(D,OEN,G)
begin
if OEN='0' then
q<=sig;
else
q<="ZZZZZZZZ";
end if;
if G='1' then
sig<=D;
end if;
end process;
end rtl;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -