Do not set "nosync" on task outputs, fixes #134

This commit is contained in:
Clifford Wolf 2016-03-24 12:16:32 +01:00
parent 9717495401
commit 5328a85149
1 changed files with 2 additions and 1 deletions

View File

@ -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);