module and2_prim ( input a, input b, output y ); and g_and (y, a, b); endmodule
and
or
nand
1 & x -> x
0 & x -> 0