entity NAND2bit is
	port(
	A,B: in bit;
	C: out bit);
end NAND2bit;

architecture behavior of NAND2bit is 
signal COut: bit;
begin
	COut <= A and B;
	C<= not COut;
end behavior;
