Skip to content

Commit 26f366e

Browse files
authored
Merge pull request #933 from diffblue/property1-dix
SystemVerilog: allow SVA in property ... endproperty
2 parents a7f30f8 + 729e0ab commit 26f366e

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
named_property2.sv
33
--bound 20
44
^\[main\.assert\.1\] always main\.x_is_eventually_ten: PROVED up to bound 20$
@@ -7,5 +7,3 @@ named_property2.sv
77
--
88
^warning: ignoring
99
--
10-
The type checker only allows expressions, not properties in property ...
11-
endproperty.

src/verilog/verilog_typecheck.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1770,7 +1770,7 @@ void verilog_typecheckt::convert_property_declaration(
17701770
auto base_name = declaration.base_name();
17711771
auto full_identifier = hierarchical_identifier(base_name);
17721772

1773-
convert_expr(declaration.cond());
1773+
convert_sva(declaration.cond());
17741774
make_boolean(declaration.cond());
17751775

17761776
auto type = bool_typet{};

0 commit comments

Comments
 (0)