15 lines
222 B
Verilog
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
|