Skip to content

Commit

Permalink
SVA: KNOWNBUG test for default disable iff
Browse files Browse the repository at this point in the history
The parser rules are incomplete, this causes a crash.

Replicates #974.
  • Loading branch information
kroening committed Feb 8, 2025
1 parent 5d9c77b commit 908ddc7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions regression/verilog/SVA/default_disable1.desc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
KNOWNBUG
default_disable1.sv

^EXIT=10$
^SIGNAL=0$
--
^warning: ignoring
--
7 changes: 7 additions & 0 deletions regression/verilog/SVA/default_disable1.sv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module main(input clock, reset);

default clocking cb @(posedge clk);
endclocking
default disable iff (!reset);

endmodule

0 comments on commit 908ddc7

Please sign in to comment.