projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5041ed2
)
Fix handling of eventually properties in verific importer
author
Clifford Wolf
<clifford@clifford.at>
Tue, 17 Jul 2018 10:43:30 +0000
(12:43 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Tue, 17 Jul 2018 10:43:30 +0000
(12:43 +0200)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
frontends/verific/verificsva.cc
patch
|
blob
|
history
diff --git
a/frontends/verific/verificsva.cc
b/frontends/verific/verificsva.cc
index 8e985c3a6da2711e9bb29b2fa280234cab40b0d1..85b8421862efe7ec00a048d972174c84bf7ffd31 100644
(file)
--- a/
frontends/verific/verificsva.cc
+++ b/
frontends/verific/verificsva.cc
@@
-1517,9
+1517,11
@@
struct VerificSvaImporter
Instance *consequent_inst = net_to_ast_driver(consequent_net);
- if (consequent_inst->Type() != PRIM_SVA_S_EVENTUALLY && consequent_inst->Type() != PRIM_SVA_EVENTUALLY) {
+ if (consequent_inst == nullptr)
+ return false;
+
+ if (consequent_inst->Type() != PRIM_SVA_S_EVENTUALLY && consequent_inst->Type() != PRIM_SVA_EVENTUALLY)
return false;
- }
if (mode_cover || mode_trigger)
parser_error(consequent_inst);