tingzhimokuai.vhd
来自「基于maxplusII的EDA设计」· VHDL 代码 · 共 18 行
VHD
18 行
library ieee;
use ieee.std_logic_1164.all;
entity tingzhimokuai is
port(c0,c1,c2,c3,e0,e1,e2,e3:in std_logic;
en0:out std_logic);
end tingzhimokuai;
architecture tingzhimokuai_arc of tingzhimokuai is
begin
process(c0,c1,c2,c3,e0,e1,e2,e3)
begin
if c0=e0 and c1=e1 and c2=e2 and c3=e3 then
en0<='0';
else
en0<='1';
end if;
end process;
end tingzhimokuai_arc;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?