Skip to content

Commit 3fc2299

Browse files
authored
Merge pull request #408 from diffblue/ports5
Verilog: KNOWNBUG test for ports that have SystemVerilog datatypes
2 parents 27d34a6 + 6d7e393 commit 3fc2299

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
KNOWNBUG
2+
ports5.sv
3+
--bound 0
4+
^EXIT=0$
5+
^SIGNAL=0$
6+
--
7+
^warning: ignoring
8+
--
9+
The grammar currently doesn't allow datatypes as port types.

regression/verilog/modules/ports5.sv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// Ports may use SystemVerilog datatypes.
2+
module main(input logic [31:0] data);
3+
4+
always assert property1: $bits(data) == 32;
5+
6+
endmodule

0 commit comments

Comments
 (0)