3 lines
86 B
Verilog

module nand_gate(input _a, input _b, output _y0);
assign _y0 = ~(_a & _b);
endmodule