📄 list_ch02_01_eq1.vhd
字号:
-- Listing 2.1
library ieee;
use ieee.std_logic_1164.all;
entity eq1 is
port(
i0, i1: in std_logic;
eq: out std_logic
);
end eq1;
architecture sop_arch of eq1 is
signal p0, p1: std_logic;
begin
-- sum of two product terms
eq <= p0 or p1;
-- product terms
p0 <= (not i0) and (not i1);
p1 <= i0 and i1;
end sop_arch;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -