mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-20 00:49:44 +00:00
Refactored uses of log_id()
This commit is contained in:
parent
89d83a3410
commit
e41b969da2
186 changed files with 1219 additions and 1220 deletions
|
|
@ -150,21 +150,21 @@ struct AigmapPass : public Pass {
|
|||
if (not_replaced_count == 0 && replaced_cells.empty())
|
||||
continue;
|
||||
|
||||
log("Module %s: replaced %d cells with %d new cells, skipped %d cells.\n", log_id(module),
|
||||
log("Module %s: replaced %d cells with %d new cells, skipped %d cells.\n", module,
|
||||
GetSize(replaced_cells), GetSize(module->cells()) - orig_num_cells, not_replaced_count);
|
||||
|
||||
if (!stat_replaced.empty()) {
|
||||
stat_replaced.sort();
|
||||
log(" replaced %d cell types:\n", GetSize(stat_replaced));
|
||||
for (auto &it : stat_replaced)
|
||||
log("%8d %s\n", it.second, log_id(it.first));
|
||||
log("%8d %s\n", it.second, it.first.unescape());
|
||||
}
|
||||
|
||||
if (!stat_not_replaced.empty()) {
|
||||
stat_not_replaced.sort();
|
||||
log(" not replaced %d cell types:\n", GetSize(stat_not_replaced));
|
||||
for (auto &it : stat_not_replaced)
|
||||
log("%8d %s\n", it.second, log_id(it.first));
|
||||
log("%8d %s\n", it.second, it.first.unescape());
|
||||
}
|
||||
|
||||
for (auto cell : replaced_cells)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue