PPT ½½¶óÀ̵å
- VHDL Code for Simple Gate (2)
library ieee;
use ieee.std_logic_1164.all;
entity gate is
port(
a,b : in std_logic;
c,d : in std_logic;
y : out std_logic
);
end gate;
architecture a_g of gate is
begin
y <= a and b or c and d;
end a_g;
-- À§ÀÇ Code¿¡ ´ëÇÑ Logic DiagramÀº?