diff options
author | clairexen <claire@symbioticeda.com> | 2020-07-10 19:07:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 19:07:50 +0200 |
commit | eef0ec6aed782363c833cd378a158ca60d9d9314 (patch) | |
tree | 54e6825553bf6f165f8cc6df3c4f485b5bedc0b8 /frontends/ast/simplify.cc | |
parent | c0bcbe1f6254f050207a91506a63aa9d784bd8d6 (diff) | |
parent | f9ed09423e5fb0b880d895d91ec51c61ffb04213 (diff) | |
download | yosys-eef0ec6aed782363c833cd378a158ca60d9d9314.tar.gz yosys-eef0ec6aed782363c833cd378a158ca60d9d9314.tar.bz2 yosys-eef0ec6aed782363c833cd378a158ca60d9d9314.zip |
Merge pull request #2256 from YosysHQ/claire/fix2241
Add AST_EDGE support to AstNode::detect_latch()
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r-- | frontends/ast/simplify.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index c4df5c0a0..00f8c8df6 100644 --- 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; |