3 lines
94 B
Verilog

module nand_gate(input a, input b, output nand_gate);
assign nand_gate = ~(a & b);
endmodule