Only display log message if did_something

This commit is contained in:
Eddie Hung 2019-09-11 12:29:26 -07:00
parent edf90afd20
commit bbef0d2ac8
1 changed files with 1 additions and 1 deletions

View File

@ -81,9 +81,9 @@ code
did_something = true;
mux->fixup_parameters();
dff->fixup_parameters();
log("dffmux pattern in %s: dff=%s, mux=%s; removed %d constant bits.\n", log_id(module), log_id(dff), log_id(mux), count);
}
log("dffmux pattern in %s: dff=%s, mux=%s; removed %d constant bits.\n", log_id(module), log_id(dff), log_id(mux), count);
accept;
}
endcode