aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.cc
diff options
context:
space:
mode:
authorJim Lawson <ucbjrl@berkeley.edu>2019-02-25 16:04:20 -0800
committerJim Lawson <ucbjrl@berkeley.edu>2019-02-25 16:04:20 -0800
commit81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14 (patch)
treec64df65f19414b166128231218f0f595d93fa58a /kernel/rtlil.cc
parent970f854c2ad271098b841e61b1d37a61cd04e252 (diff)
parentc258b99040c8414952a3aceae874dc47563540dc (diff)
downloadyosys-81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14.tar.gz
yosys-81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14.tar.bz2
yosys-81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r--kernel/rtlil.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index 8404db5e9..d4aebcda9 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -2410,6 +2410,9 @@ void RTLIL::Cell::fixup_parameters(bool set_a_signed, bool set_b_signed)
if (connections_.count("\\Y"))
parameters["\\Y_WIDTH"] = GetSize(connections_["\\Y"]);
+ if (connections_.count("\\Q"))
+ parameters["\\WIDTH"] = GetSize(connections_["\\Q"]);
+
check();
}