From 5328a851490588d6162ca0edaad5ed713bc75401 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Thu, 24 Mar 2016 12:16:32 +0100 Subject: [PATCH] Do not set "nosync" on task outputs, fixes #134 --- frontends/ast/simplify.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.30.2