Skip to content

Commit ef2ca16

Browse files
authored
Merge pull request #1153 from diffblue/past4
KNOWNBUG test for `$past` with hierarchical identifier
2 parents 2e4c203 + daadfce commit ef2ca16

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
past4.sv
3+
4+
^EXIT=10$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
--
9+
$past doesn't allow the hierarchical identifier.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module M;
2+
wire x;
3+
endmodule
4+
5+
module main(input clk);
6+
M m();
7+
8+
assert property (@(posedge clk) $past(m.x));
9+
10+
endmodule

0 commit comments

Comments
 (0)