Professional Documents
Culture Documents
--Library declaration
library ieee;
use ieee.std_logic_1164.all;
);
end lab2_kp;
--Function of lab2_kp
architecture func_lab2 of lab2_kp is
begin
y1<= a xor b xor c;
y2<= (a nand b) or ((not c) and d);
end func_lab2;