diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-03-24 12:16:32 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-03-24 12:16:47 +0100 |
commit | 5328a851490588d6162ca0edaad5ed713bc75401 (patch) | |
tree | 78fa4172c20fe3c0a4a95a250956e2c10a1222fd | |
parent | 9717495401e58a3d0a41113b541442227daa7cc3 (diff) | |
download | yosys-5328a851490588d6162ca0edaad5ed713bc75401.tar.gz yosys-5328a851490588d6162ca0edaad5ed713bc75401.tar.bz2 yosys-5328a851490588d6162ca0edaad5ed713bc75401.zip |
Do not set "nosync" on task outputs, fixes #134
-rw-r--r-- | frontends/ast/simplify.cc | 3 |
1 files changed, 2 insertions, 1 deletions
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); |