mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 12:50:33 +00:00
Remove log_str()
functions and convert their log_signal()
users to return std::string
This is a small but easy step towards removing the `log_id_cache`. See issue #5210.
This commit is contained in:
parent
7b0c1fe491
commit
ec3f384dca
6 changed files with 28 additions and 39 deletions
|
@ -173,7 +173,7 @@ struct ExampleDtPass : public Pass
|
|||
node.set_function(ID($$undriven));
|
||||
|
||||
} else {
|
||||
log_error("unhandled drivespec: %s\n", log_signal(chunk));
|
||||
log_error("unhandled drivespec: %s\n", log_signal(chunk).c_str());
|
||||
log_abort();
|
||||
}
|
||||
} else {
|
||||
|
@ -243,7 +243,7 @@ struct ExampleDtPass : public Pass
|
|||
log(")\n");
|
||||
if (ref.has_sparse_attr())
|
||||
log("// wire %s\n", log_id(ref.sparse_attr()));
|
||||
log("// was #%d %s\n", ref.attr(), log_signal(queue[ref.attr()]));
|
||||
log("// was #%d %s\n", ref.attr(), log_signal(queue[ref.attr()]).c_str());
|
||||
}
|
||||
|
||||
for (auto const &key : compute_graph.keys())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue