From 95757efb25dc51a73b384b475b0fc87d0e11d10e Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 17 Jun 2016 16:31:16 +0200 Subject: Improved support for $sop cells --- kernel/rtlil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/rtlil.cc') diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 3b1df4406..bcd87d3ff 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -2142,7 +2142,7 @@ void RTLIL::Cell::fixup_parameters(bool set_a_signed, bool set_b_signed) return; } - if (type == "$lut") { + if (type == "$lut" || type == "$sop") { parameters["\\WIDTH"] = GetSize(connections_["\\A"]); return; } -- cgit v1.2.3