Skip to content

Commit ed604d3

Browse files
authored
Update c.v
1 parent 5050004 commit ed604d3

File tree

1 file changed

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

1 file changed

+2
-2
lines changed

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

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

0 commit comments

Comments
 (0)