📄
字号:
library IEEE;
use IEEE.std_logic_1164.all;
entity emcomp4 is
port (
a: in STD_LOGIC_VECTOR (3 downto 0);
b: in STD_LOGIC_VECTOR (3 downto 0);
equals: out STD_LOGIC
);
end emcomp4;
architecture emcomp4_arch of emcomp4 is
begin
comp:process(a,b)
begin
if a=b then
equals<='1';
else
equals<='0';
end if;
end process comp;
end emcomp4_arch;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -