Skip to content

Commit 5050004

Browse files
authored
Update b.v
1 parent 0a6685f commit 5050004

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
module And(A, B, X)
88
input (A, B);
99
output X;
10-
wires w1;
10+
wire w1;
1111
nand G1(w1, A, B);
1212
nand G2(X, w1, w1);
1313
endmodule
@@ -16,7 +16,7 @@ endmodule
1616
module And(A, B, X)
1717
input (A, B);
1818
output X;
19-
wires w1;
19+
wire w1;
2020
assign w1 = !(A && B);
2121
assign X = !(w1 && w1);
2222
endmodule

0 commit comments

Comments
 (0)