aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ast
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2019-05-01 10:01:54 +0200
committerClifford Wolf <clifford@clifford.at>2019-05-01 10:01:54 +0200
commit6bbe2fdbf32e6335cdbecc21547e54992c3a606d (patch)
tree7ce91013e7b348d059f6c87e3aad62f6b1b0fbd6 /frontends/ast
parent3b6a02d3a74dc0113d595c6d26a4436160e28a6f (diff)
downloadyosys-6bbe2fdbf32e6335cdbecc21547e54992c3a606d.tar.gz
yosys-6bbe2fdbf32e6335cdbecc21547e54992c3a606d.tar.bz2
yosys-6bbe2fdbf32e6335cdbecc21547e54992c3a606d.zip
Add splitcmplxassign test case and silence splitcmplxassign warning
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontends/ast')
-rw-r--r--frontends/ast/simplify.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/ast/simplify.cc b/frontends/ast/simplify.cc
index 4d4b9dfe1..d6561682a 100644
--- a/frontends/ast/simplify.cc
+++ b/frontends/ast/simplify.cc
@@ -1607,6 +1607,7 @@ skip_dynamic_range_lvalue_expansion:;
current_scope[wire_tmp->str] = wire_tmp;
wire_tmp->attributes["\\nosync"] = AstNode::mkconst_int(1, false);
while (wire_tmp->simplify(true, false, false, 1, -1, false, false)) { }
+ wire_tmp->is_logic = true;
AstNode *wire_tmp_id = new AstNode(AST_IDENTIFIER);
wire_tmp_id->str = wire_tmp->str;