be more verbose when techmap yielded processes
authorJohann Glaser <Johann.Glaser@gmx.at>
Mon, 26 May 2014 15:13:41 +0000 (17:13 +0200)
committerJohann Glaser <Johann.Glaser@gmx.at>
Mon, 26 May 2014 15:13:41 +0000 (17:13 +0200)
passes/techmap/techmap.cc

index 69ffb9230e2d0ab597a4129f3cbbb729df98c95b..4c5a0febcbfcadc4327e0bfeda8e10e4d7e2a57e 100644 (file)
@@ -106,8 +106,12 @@ struct TechmapWorker
                if (tpl->memories.size() != 0)
                        log_error("Technology map yielded memories -> this is not supported.\n");
 
-               if (tpl->processes.size() != 0)
+               if (tpl->processes.size() != 0) {
+                       log("Technology map yielded processes:\n");
+                       for (auto &it : tpl->processes)
+                               log("  %s",RTLIL::id2cstr(it.first));
                        log_error("Technology map yielded processes -> this is not supported.\n");
+               }
 
                // erase from namespace first for _TECHMAP_REPLACE_ to work
                module->cells.erase(cell->name);