mirror of https://github.com/YosysHQ/yosys.git
Only display log message if did_something
This commit is contained in:
parent
edf90afd20
commit
bbef0d2ac8
|
@ -81,9 +81,9 @@ code
|
||||||
did_something = true;
|
did_something = true;
|
||||||
mux->fixup_parameters();
|
mux->fixup_parameters();
|
||||||
dff->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;
|
accept;
|
||||||
}
|
}
|
||||||
endcode
|
endcode
|
||||||
|
|
Loading…
Reference in New Issue