📄 ksy.vhd
字号:
library ieee;
use ieee.std_logic_1164.all;
entity ksy is
port(A,B : in std_logic;
C : out std_logic);
end ksy;
architecture ksy_arc of ksy is
component kand2
port(A,B : in std_logic;
C : out std_logic);
end component;
component kdf
port(A,B : in std_logic;
C,D : out std_logic);
end component;
component knand2
port(A,B : in std_logic;
C : out std_logic);
end component;
signal TMP1,TMP2,TMP3,TMP4,TMP5,TMP6 : std_logic;
begin
U0: knand2 port map(A,TMP1,TMP2);
U1: knand2 port map(TMP2,TMP3,TMP1);
U2: kdf port map(TMP2,B,TMP4,TMP3);
U3: kdf port map(TMP4,B,TMP6,TMP5);
U4: kand2 port map(TMP4,TMP5,C);
end ksy_arc;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -