From 334b0cc8033490de29b4ac896d0dcc2ecab0e59b Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 21 Dec 2013 20:47:22 +0100 Subject: [PATCH] Fixed dfflibmap for unused output ports --- passes/techmap/dfflibmap.cc | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2