We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b16270c commit b118086Copy full SHA for b118086
regression/verilog/system-functions/past2.desc
@@ -0,0 +1,9 @@
1
+KNOWNBUG
2
+past2.sv
3
+--bdd
4
+^EXIT=0$
5
+^SIGNAL=0$
6
+--
7
+^warning: ignoring
8
9
+The AIG translation is yet to support $past.
regression/verilog/system-functions/past2.sv
@@ -0,0 +1,12 @@
+module main(input clk);
+
+ reg [31:0] counter = 0;
+ always @(posedge clk)
+ if(counter < 10)
+ counter++;
+ p0: assert property (counter == 0 |-> $past(counter, 1) == 0);
10
+// p1: assert property (counter != 0 && counter != 10 |-> $past(counter, 1) == counter - 1);
11
12
+endmodule
0 commit comments