mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +00:00
Merge pull request #2256 from YosysHQ/claire/fix2241
Add AST_EDGE support to AstNode::detect_latch()
This commit is contained in:
commit
eef0ec6aed
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue