library ieee;
use ieee.std_logic_1164.all;
entity bejoy_ha is
port (a,b : in bit ;
s,c : out bit);
end bejoy_ha;
architecture arc of bejoy_ha is
begin
s<= a xor b;
c <= a and b;
end arc;
use ieee.std_logic_1164.all;
entity bejoy_ha is
port (a,b : in bit ;
s,c : out bit);
end bejoy_ha;
architecture arc of bejoy_ha is
begin
s<= a xor b;
c <= a and b;
end arc;
Comments
Post a Comment