From: Clifford Wolf Date: Thu, 24 Mar 2016 11:16:32 +0000 (+0100) Subject: Do not set "nosync" on task outputs, fixes #134 X-Git-Tag: yosys-0.7~290 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5328a851490588d6162ca0edaad5ed713bc75401;p=yosys.git Do not set "nosync" on task outputs, fixes #134 --- diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc index a8b5e161a..c56ac7d5f 100644 --- a/frontends/ast/simplify.cc +++ b/frontends/ast/simplify.cc @@ -1913,7 +1913,8 @@ skip_dynamic_range_lvalue_expansion:; wire->port_id = 0; wire->is_input = false; wire->is_output = false; - wire->attributes["\\nosync"] = AstNode::mkconst_int(1, false); + if (!child->is_output) + wire->attributes["\\nosync"] = AstNode::mkconst_int(1, false); wire_cache[child->str] = wire; current_ast_mod->children.push_back(wire);