Skip to content

Commit 82c20ba

Browse files
committed
add language example for implication operator
1 parent 36f42a2 commit 82c20ba

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module test;
2+
3+
wire a, b;
4+
5+
property p;
6+
@(posedge clk) a |-> b;
7+
endproperty
8+
a: assert property(p);
9+
10+
property p;
11+
@(posedge clk) a |=> b;
12+
endproperty
13+
a: assert property(p);
14+
15+
endmodule

0 commit comments

Comments
 (0)