Files
nand2tetris_verilog/and.v
2024-06-13 13:29:36 -07:00

15 lines
226 B
Verilog

`ifndef _and_v
`define _and_v
`include "nand.v"
`include "not.v"
module And (input a, input b, output out);
wire out_bar;
Nand u1(.a(a), .b(b), .out(out_bar));
Not u2(.in(out_bar), .out(out));
endmodule
`endif