diff options
author | Jim Lawson <ucbjrl@berkeley.edu> | 2019-02-25 16:04:20 -0800 |
---|---|---|
committer | Jim Lawson <ucbjrl@berkeley.edu> | 2019-02-25 16:04:20 -0800 |
commit | 81abb2517c3d6e8fd2b31ff6d9d019d956a6bc14 (patch) | |
tree | c64df65f19414b166128231218f0f595d93fa58a /kernel/rtlil.cc | |
parent | 970f854c2ad271098b841e61b1d37a61cd04e252 (diff) | |
parent | c258b99040c8414952a3aceae874dc47563540dc (diff) | |
download | yosys-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.cc | 3 |
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(); } |