?? and2_2.vhd
字號:
--與非門的結構描述
LIBRARY ieee;
USE ieee.std_logic_1164.ALL;
ENTITY and2_2 IS
PORT(
a,b: IN bit;
y: OUT bit);
END ;
ARCHITECTURE struct OF and2_2 IS
component inv_comp
port(a:in bit;
c:out bit);
end component;
component and2_comp
port(a,b:in bit;
c:out bit);
end component;
signal out1:bit;
begin
u1:and2_comp port map(a,b,out1);
u2:inv_comp port map(out1,y);
END struct;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -