mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-13 21:21:27 +00:00
Remove .c_str() from stringf parameters
This commit is contained in:
parent
acac60302d
commit
e7f210b817
90 changed files with 773 additions and 773 deletions
|
@ -553,7 +553,7 @@ static void dfflibmap(RTLIL::Design *design, RTLIL::Module *module)
|
|||
new_cell->setPort("\\" + port.first, sig);
|
||||
}
|
||||
|
||||
stats[stringf(" mapped %%d %s cells to %s cells.\n", cell_type.c_str(), new_cell->type.c_str())]++;
|
||||
stats[stringf(" mapped %%d %s cells to %s cells.\n", cell_type, new_cell->type)]++;
|
||||
}
|
||||
|
||||
for (auto &stat: stats)
|
||||
|
@ -687,7 +687,7 @@ struct DfflibmapPass : public Pass {
|
|||
if (!map_only_mode) {
|
||||
std::string dfflegalize_cmd = "dfflegalize";
|
||||
for (auto it : cell_mappings)
|
||||
dfflegalize_cmd += stringf(" -cell %s 01", it.first.c_str());
|
||||
dfflegalize_cmd += stringf(" -cell %s 01", it.first);
|
||||
dfflegalize_cmd += " t:$_DFF* t:$_SDFF*";
|
||||
if (info_mode) {
|
||||
log("dfflegalize command line: %s\n", dfflegalize_cmd.c_str());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue