mirror of https://github.com/YosysHQ/yosys.git
Merge pull request #2256 from YosysHQ/claire/fix2241
Add AST_EDGE support to AstNode::detect_latch()
This commit is contained in:
commit
eef0ec6aed
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue