aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast/simplify.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-04-30 20:22:50 +0200
committerClifford Wolf <clifford@clifford.at>2019-04-30 20:22:50 +0200
commite35fe1344dd4c8f11632ed2a7f5b0463352a1ee4 (patch)
tree5389584f1c3ad8c9e9003e78d4b6e22dca5e3a83 /frontends/ast/simplify.cc
parent9c7d23446df94c14cbb6ff22a86391d23fdfb328 (diff)
downloadyosys-e35fe1344dd4c8f11632ed2a7f5b0463352a1ee4.tar.gz
yosys-e35fe1344dd4c8f11632ed2a7f5b0463352a1ee4.tar.bz2
yosys-e35fe1344dd4c8f11632ed2a7f5b0463352a1ee4.zip
Disabled "final loop assignment" feature
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontends/ast/simplify.cc')
-rw-r--r--frontends/ast/simplify.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index a342bf5d9..4d4b9dfe1 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -1172,12 +1172,14 @@ bool AstNode::simplify(bool const_fold, bool at_zero, bool in_lvalue, int stage,
varbuf->children[0] = buf;
}
+#if 0
if (type == AST_FOR) {
AstNode *buf = next_ast->clone();
delete buf->children[1];
buf->children[1] = varbuf->children[0]->clone();
current_block->children.insert(current_block->children.begin() + current_block_idx++, buf);
}
+#endif
current_scope[varbuf->str] = backup_scope_varbuf;
delete varbuf;