Improved equiv_purge log output
authorClifford Wolf <clifford@clifford.at>
Tue, 29 Nov 2016 12:30:35 +0000 (13:30 +0100)
committerClifford Wolf <clifford@clifford.at>
Tue, 29 Nov 2016 12:30:35 +0000 (13:30 +0100)
passes/equiv/equiv_purge.cc

index 163b1009b957552e53504ed11393d20bd448fefa..6987ead357b70751a116a8f0a9fd0b0a5058fb28 100644 (file)
@@ -80,7 +80,7 @@ struct EquivPurgeWorker
                        Wire *wire = module->addWire(name, GetSize(sig));
                        wire->port_input = true;
                        module->connect(sig, wire);
-                       log("  Module input: %s\n", log_signal(wire));
+                       log("  Module input: %s (%s)\n", log_signal(wire), log_signal(sig));
                        return module->addWire(NEW_ID, GetSize(sig));
                }
        }