diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-02-20 16:36:42 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-02-20 16:36:42 +0100 |
commit | 246391200e3e0d47ee571d4d77dd0744dba0e164 (patch) | |
tree | 592de042742564c53edd1d6cbbc3b681be7c6f94 /kernel/rtlil.cc | |
parent | 7bf4e4a1855df442191e3d1cc28eeda7e01d051c (diff) | |
download | yosys-246391200e3e0d47ee571d4d77dd0744dba0e164.tar.gz yosys-246391200e3e0d47ee571d4d77dd0744dba0e164.tar.bz2 yosys-246391200e3e0d47ee571d4d77dd0744dba0e164.zip |
Add FF support to wreduce
Signed-off-by: Clifford Wolf <clifford@clifford.at>
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(); } |