diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-03-24 09:27:01 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-03-24 09:27:01 +0100 |
commit | bb3357c027eb81a9308c1d52f14298192214d285 (patch) | |
tree | e534e78ac752eb5d14540896feae2b83bfaf6c42 /frontends/ast/ast.h | |
parent | a0fa259d813f2f09daedf6f13d0cbdafc54fb184 (diff) | |
download | yosys-bb3357c027eb81a9308c1d52f14298192214d285.tar.gz yosys-bb3357c027eb81a9308c1d52f14298192214d285.tar.bz2 yosys-bb3357c027eb81a9308c1d52f14298192214d285.zip |
Improved mem2reg handling in ast simplifier
Diffstat (limited to 'frontends/ast/ast.h')
-rw-r--r-- | frontends/ast/ast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/ast/ast.h b/frontends/ast/ast.h index cdc56fba4..76314f88d 100644 --- a/frontends/ast/ast.h +++ b/frontends/ast/ast.h @@ -165,7 +165,7 @@ namespace AST void expand_genblock(std::string index_var, std::string prefix, std::map<std::string, std::string> &name_map); void replace_ids(std::map<std::string, std::string> &rules); void mem2reg_as_needed_pass1(std::set<AstNode*> &mem2reg_set, std::set<AstNode*> &mem2reg_candidates, bool sync_proc, bool async_proc); - void mem2reg_as_needed_pass2(std::set<AstNode*> &mem2reg_set, AstNode *mod, AstNode *block); + void mem2reg_as_needed_pass2(std::set<AstNode*> &mem2reg_set, AstNode *mod, AstNode *block, AstNode *top_block); void meminfo(int &mem_width, int &mem_size, int &addr_bits); // create a human-readable text representation of the AST (for debugging) |