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

15 lines
222 B
Verilog

`ifndef _nor_v
`define _nor_v
`include "or.v"
`include "not.v"
module Nor (input a, input b, output out);
wire out_bar;
Or u1(.a(a), .b(b), .out(out_bar));
Not u2(.in(out_bar), .out(out));
endmodule
`endif