diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-08-28 21:35:33 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-08-28 21:35:33 +0200 |
commit | eae390ae17839bf0273b32149f46a2560a23d934 (patch) | |
tree | 218b3327ef63938a762859386f23215cef83c4d3 /frontends/ast/simplify.cc | |
parent | 66582964bc11aadf3d0783a346706d801451a13f (diff) | |
download | yosys-eae390ae17839bf0273b32149f46a2560a23d934.tar.gz yosys-eae390ae17839bf0273b32149f46a2560a23d934.tar.bz2 yosys-eae390ae17839bf0273b32149f46a2560a23d934.zip |
Removed $predict again
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r-- | frontends/ast/simplify.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index a8fea8211..0c46b6238 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -1352,7 +1352,7 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage, } skip_dynamic_range_lvalue_expansion:; - if (stage > 1 && (type == AST_ASSERT || type == AST_ASSUME || type == AST_PREDICT) && current_block != NULL) + if (stage > 1 && (type == AST_ASSERT || type == AST_ASSUME) && current_block != NULL) { std::stringstream sstr; sstr << "$formal$" << filename << ":" << linenum << "$" << (autoidx++); @@ -1414,7 +1414,7 @@ skip_dynamic_range_lvalue_expansion:; goto apply_newNode; } - if (stage > 1 && (type == AST_ASSERT || type == AST_ASSUME || type == AST_PREDICT) && children.size() == 1) + if (stage > 1 && (type == AST_ASSERT || type == AST_ASSUME) && children.size() == 1) { children.push_back(mkconst_int(1, false, 1)); did_something = true; |