3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-30 21:19:30 +00:00

opt_hier: Adjust messages

This commit is contained in:
Martin Povišer 2025-09-29 12:26:54 +02:00
parent ffe2f7a16d
commit a9318db2fa

View file

@ -144,12 +144,12 @@ struct ModuleIndex {
} }
if (nunused > 0) { if (nunused > 0) {
log("Disconnected %d input bits of instance '%s' of '%s' in '%s'\n", log("Disconnected %d input bits of instance '%s' (type '%s') in '%s'\n",
nunused, log_id(instantiation), log_id(instantiation->type), log_id(parent.module)); nunused, log_id(instantiation), log_id(instantiation->type), log_id(parent.module));
changed = true; changed = true;
} }
if (nconstants > 0) { if (nconstants > 0) {
log("Substituting constant for %d output bits of instance '%s' of '%s' in '%s'\n", log("Substituting constant for %d output bits of instance '%s' (type '%s') in '%s'\n",
nconstants, log_id(instantiation), log_id(instantiation->type), log_id(parent.module)); nconstants, log_id(instantiation), log_id(instantiation->type), log_id(parent.module));
changed = true; changed = true;
} }