diff --git a/verilog2logicworld/gates.v b/verilog2logicworld/gates.v index f2b3e74..2f73e0a 100644 --- a/verilog2logicworld/gates.v +++ b/verilog2logicworld/gates.v @@ -1,3 +1,7 @@ -module gates(input a, input b, input c, output wire out); +module gates( + input a,b,c,d, + output wire out, out2 +); assign out = a & b | c; + assign out2 = a & b ^ d; endmodule