2输入与门.vhd

来自「常用集成器件源码,主要为74系列源码,用vhdl编写」· VHDL 代码 · 共 14 行

VHD
14
字号
library ieee;
use ieee.std_logic_1164.all;
entity and2_gate is
port(a:in std_logic;
     b:in std_logic;
     c:out std_logic);
end and2_gate;
architecture behave_are of and2_gate is
begin
process(a,b)
begin
c<=a and b;
end process;
end behave_are;

⌨️ 快捷键说明

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