From: Clifford Wolf Date: Sat, 21 Dec 2013 19:47:22 +0000 (+0100) Subject: Fixed dfflibmap for unused output ports X-Git-Tag: yosys-0.2.0~231 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=334b0cc8033490de29b4ac896d0dcc2ecab0e59b;p=yosys.git Fixed dfflibmap for unused output ports --- diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc index 6fbd52105..40caf7801 100644 --- a/passes/techmap/dfflibmap.cc +++ b/passes/techmap/dfflibmap.cc @@ -419,6 +419,7 @@ static void dfflibmap(RTLIL::Design *design, RTLIL::Module *module) if (port.second == '0' || port.second == '1') { sig = RTLIL::SigSpec(port.second == '0' ? 0 : 1, 1); } else + if (port.second != 0) log_abort(); new_cell->connections["\\" + port.first] = sig; }