mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-03 22:43:57 +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
|
@ -334,7 +334,7 @@ struct MemoryDffWorker
|
|||
void handle_rd_port(Mem &mem, QuickConeSat &qcsat, int idx)
|
||||
{
|
||||
auto &port = mem.rd_ports[idx];
|
||||
log("Checking read port `%s'[%d] in module `%s': ", mem.memid.c_str(), idx, module->name.c_str());
|
||||
log("Checking read port `%s'[%d] in module `%s': ", mem.memid, idx, module->name);
|
||||
|
||||
std::vector<MuxData> muxdata;
|
||||
SigSpec data = walk_muxes(port.data, muxdata);
|
||||
|
@ -554,7 +554,7 @@ struct MemoryDffWorker
|
|||
void handle_rd_port_addr(Mem &mem, int idx)
|
||||
{
|
||||
auto &port = mem.rd_ports[idx];
|
||||
log("Checking read port address `%s'[%d] in module `%s': ", mem.memid.c_str(), idx, module->name.c_str());
|
||||
log("Checking read port address `%s'[%d] in module `%s': ", mem.memid, idx, module->name);
|
||||
|
||||
FfData ff;
|
||||
pool<std::pair<Cell *, int>> bits;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue