From 556725aaafc220335b258c70a96d4daa2e0bcc3b Mon Sep 17 00:00:00 2001 From: D4VID Date: Tue, 19 Aug 2025 19:53:40 +0200 Subject: [PATCH] More outputs --- verilog2logicworld/gates.v | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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