diff options
author | clairexen <claire@symbioticeda.com> | 2020-06-09 18:27:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-09 18:27:59 +0200 |
commit | 5c426d2bff07825042b0fa0449805ea9cb8b9f58 (patch) | |
tree | e89942d6aa6ff5facaabd746d5c12c6d25190764 /frontends/ast/ast.h | |
parent | 9a2cf5e3db15218af9a5320a8ca1a7f190aa236b (diff) | |
parent | 7ad0c49905d97c3bea2b74b76ca0feb87d21f70d (diff) | |
download | yosys-5c426d2bff07825042b0fa0449805ea9cb8b9f58.tar.gz yosys-5c426d2bff07825042b0fa0449805ea9cb8b9f58.tar.bz2 yosys-5c426d2bff07825042b0fa0449805ea9cb8b9f58.zip |
Merge pull request #2112 from YosysHQ/claire/fix2040
Add latch detection for use_case_method in part-select write
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index 6d556fae2..b8f24ee14 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -257,6 +257,7 @@ namespace AST bool mem2reg_check(pool<AstNode*> &mem2reg_set); void mem2reg_remove(pool<AstNode*> &mem2reg_set, vector<AstNode*> &delnodes); void meminfo(int &mem_width, int &mem_size, int &addr_bits); + bool detect_latch(const std::string &var); // additional functionality for evaluating constant functions struct varinfo_t { RTLIL::Const val; int offset; bool is_signed; }; |