mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
Remove .c_str() calls from log()/log_error()
There are some leftovers, but this is an easy regex-based approach that removes most of them.
This commit is contained in:
parent
c2291c10a6
commit
e0ae7b7af4
140 changed files with 623 additions and 623 deletions
|
@ -371,9 +371,9 @@ struct MemoryShareWorker
|
|||
ports += std::to_string(idx);
|
||||
}
|
||||
if (!some_port.clk_enable) {
|
||||
log(" Checking unclocked group, width %d: ports %s.\n", mem.width << some_port.wide_log2, ports.c_str());
|
||||
log(" Checking unclocked group, width %d: ports %s.\n", mem.width << some_port.wide_log2, ports);
|
||||
} else {
|
||||
log(" Checking group clocked with %sedge %s, width %d: ports %s.\n", some_port.clk_polarity ? "pos" : "neg", log_signal(some_port.clk), mem.width << some_port.wide_log2, ports.c_str());
|
||||
log(" Checking group clocked with %sedge %s, width %d: ports %s.\n", some_port.clk_polarity ? "pos" : "neg", log_signal(some_port.clk), mem.width << some_port.wide_log2, ports);
|
||||
}
|
||||
|
||||
// Okay, time to actually run the SAT solver.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue