ken1.vhd
来自「Fire&password数字系统实验」· VHDL 代码 · 共 21 行
VHD
21 行
--description for inverter with enable
library ieee;
use ieee.std_logic_1164.all;
entity ken1 is
port(A,B : in std_logic;
C : out std_logic);
end ken1;
architecture ken1_arc of ken1 is
begin
process(A,B)
begin
if(B='1')then
C<= not A;
else
C<= '1';
end if;
end process;
end ken1_arc;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?