Fixed synthesis of functions in latched blocks
authorClifford Wolf <clifford@clifford.at>
Thu, 16 May 2013 14:44:06 +0000 (16:44 +0200)
committerClifford Wolf <clifford@clifford.at>
Thu, 16 May 2013 14:44:06 +0000 (16:44 +0200)
frontends/ast/simplify.cc

index ef06c5b032a9c71d998b061662433dff48bc5328..887b62f2ce63ba4099414d7a56f8de9c5ef9a9fd 100644 (file)
@@ -685,8 +685,6 @@ skip_dynamic_range_lvalue_expansion:;
                                wire->port_id = 0;
                                wire->is_input = false;
                                wire->is_output = false;
-                               if (type == AST_FCALL)
-                                       wire->attributes["\\nosync"] = AstNode::mkconst_int(0, false, 0);
                                current_ast_mod->children.push_back(wire);
 
                                replace_rules[child->str] = wire->str;