projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bcbe1
)
Add AST_EDGE support to AstNode::detect_latch(), fixes #2241
author
Claire Wolf
<claire@symbioticeda.com>
Fri, 10 Jul 2020 16:41:13 +0000
(18:41 +0200)
committer
Claire Wolf
<claire@symbioticeda.com>
Fri, 10 Jul 2020 16:41:13 +0000
(18:41 +0200)
Signed-off-by: Claire Wolf <claire@symbioticeda.com>
frontends/ast/simplify.cc
patch
|
blob
|
history
diff --git
a/frontends/ast/simplify.cc
b/frontends/ast/simplify.cc
index c4df5c0a07ffb9e71e5d76b447344c625c68975d..00f8c8df67cd336814993436369df50110aea2de 100644
(file)
--- a/
frontends/ast/simplify.cc
+++ b/
frontends/ast/simplify.cc
@@
-4231,6
+4231,8
@@
bool AstNode::detect_latch(const std::string &var)
case AST_POSEDGE:
case AST_NEGEDGE:
return false;
+ case AST_EDGE:
+ break;
case AST_BLOCK:
if (!c->detect_latch(var))
return false;