mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-11 20:21:26 +00:00
Remove .c_str() from stringf parameters
This commit is contained in:
parent
c41ba912d8
commit
c7df6954b9
90 changed files with 773 additions and 773 deletions
|
@ -262,7 +262,7 @@ struct SynthMicrochipPass : public ScriptPass {
|
|||
read_args += " -lib -specify +/microchip/cells_sim.v";
|
||||
run("read_verilog" + read_args);
|
||||
|
||||
run(stringf("hierarchy -check %s", top_opt.c_str()));
|
||||
run(stringf("hierarchy -check %s", top_opt));
|
||||
}
|
||||
|
||||
if (check_label("prepare")) {
|
||||
|
@ -534,18 +534,18 @@ struct SynthMicrochipPass : public ScriptPass {
|
|||
|
||||
if (check_label("edif")) {
|
||||
if (!edif_file.empty() || help_mode)
|
||||
run(stringf("write_edif -pvector bra %s", edif_file.c_str()));
|
||||
run(stringf("write_edif -pvector bra %s", edif_file));
|
||||
}
|
||||
|
||||
if (check_label("blif")) {
|
||||
if (!blif_file.empty() || help_mode)
|
||||
run(stringf("write_blif %s", blif_file.c_str()));
|
||||
run(stringf("write_blif %s", blif_file));
|
||||
}
|
||||
|
||||
if (check_label("vlog"))
|
||||
{
|
||||
if (!vlog_file.empty() || help_mode)
|
||||
run(stringf("write_verilog %s", help_mode ? "<file-name>" : vlog_file.c_str()));
|
||||
run(stringf("write_verilog %s", help_mode ? "<file-name>" : vlog_file));
|
||||
}
|
||||
}
|
||||
} SynthMicrochipPass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue