Skip to content

Commit 0a6685f

Browse files
authored
Update d.v
1 parent 992baf2 commit 0a6685f

File tree

1 file changed

+2
-2
lines changed
  • LAB I: Examine the Operation of Logic Gates Using HDL/Q2/d)

1 file changed

+2
-2
lines changed

LAB I: Examine the Operation of Logic Gates Using HDL/Q2/d)/d.v

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module Xor(A, B, X)
88
input (A, B);
99
output X;
10-
wires w1, w2, w3;
10+
wire w1, w2, w3;
1111
nand G1(w1, A, B);
1212
nand G2(w2, A, w1);
1313
nand G3(w3, B, w1);
@@ -18,7 +18,7 @@ endmodule
1818
module circuit1(A, B, X)
1919
input (A, B);
2020
output X;
21-
wires w1, w2, w3;
21+
wire w1, w2, w3;
2222
assign w1 = !(A && B);
2323
assign w2 = !(A && w1);
2424
assign w3 = !(B && w1);

0 commit comments

Comments
 (0)