kcom.vhd

来自「Fire&password数字系统实验」· VHDL 代码 · 共 23 行

VHD
23
字号

library ieee;
use ieee.std_logic_1164.all;

entity kcom is
      port(A,B,C,D,E,F,G,H  : in  std_logic;
           T                : out std_logic);
end kcom;

architecture kcom_arc of kcom is
begin
     process(A,B,C,D,E,F,G,H)
     begin
          if(A = E and B=F and C=G and D=H) then
               T <='1';
          else
               T<='0';
          end if;
     end process;
end kcom_arc;


⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?