aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/ast.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2016-08-21 13:23:58 +0200
committerClifford Wolf <clifford@clifford.at>2016-08-21 13:23:58 +0200
commit82a4a0230feedd994546ad57a1f4ae79b8f80136 (patch)
tree070e0753a17f8e146c6a6c40ad2bb9a4e556ad5e /frontends/ast/ast.h
parentdbdd8927e78622885bc85c429e783b89b2d3022d (diff)
downloadyosys-82a4a0230feedd994546ad57a1f4ae79b8f80136.tar.gz
yosys-82a4a0230feedd994546ad57a1f4ae79b8f80136.tar.bz2
yosys-82a4a0230feedd994546ad57a1f4ae79b8f80136.zip
Another bugfix in mem2reg code
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r--frontends/ast/ast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h
index 530c11ba5..fed5ad067 100644
--- a/frontends/ast/ast.h
+++ b/frontends/ast/ast.h
@@ -220,7 +220,7 @@ namespace AST
void replace_ids(const std::string &prefix, const std::map<std::string, std::string> &rules);
void mem2reg_as_needed_pass1(dict<AstNode*, pool<std::string>> &mem2reg_places,
dict<AstNode*, uint32_t> &mem2reg_flags, dict<AstNode*, uint32_t> &proc_flags, uint32_t &status_flags);
- bool mem2reg_as_needed_pass2(pool<AstNode*> &mem2reg_set, AstNode *mod, AstNode *block);
+ bool mem2reg_as_needed_pass2(pool<AstNode*> &mem2reg_set, AstNode *mod, AstNode *block, AstNode *&async_block);
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);