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