mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-24 01:25:33 +00:00
No implicit conversion from IdString to anything else
This commit is contained in:
parent
768eb846c4
commit
04727c7e0f
16 changed files with 37 additions and 37 deletions
|
@ -363,7 +363,7 @@ struct BlifBackend : public Backend {
|
|||
if (top_module_name.empty())
|
||||
for (auto & mod_it:design->modules_)
|
||||
if (mod_it.second->get_bool_attribute("\\top"))
|
||||
top_module_name = mod_it.first;
|
||||
top_module_name = mod_it.first.str();
|
||||
|
||||
fprintf(f, "# Generated by %s\n", yosys_version_str);
|
||||
|
||||
|
|
|
@ -968,7 +968,7 @@ struct BtorBackend : public Backend {
|
|||
if (top_module_name.empty())
|
||||
for (auto & mod_it:design->modules_)
|
||||
if (mod_it.second->get_bool_attribute("\\top"))
|
||||
top_module_name = mod_it.first;
|
||||
top_module_name = mod_it.first.str();
|
||||
|
||||
fprintf(f, "; Generated by %s\n", yosys_version_str);
|
||||
fprintf(f, "; %s developed and maintained by Clifford Wolf <clifford@clifford.at>\n", yosys_version_str);
|
||||
|
|
|
@ -126,7 +126,7 @@ struct EdifBackend : public Backend {
|
|||
if (top_module_name.empty())
|
||||
for (auto & mod_it:design->modules_)
|
||||
if (mod_it.second->get_bool_attribute("\\top"))
|
||||
top_module_name = mod_it.first;
|
||||
top_module_name = mod_it.first.str();
|
||||
|
||||
for (auto module_it : design->modules_)
|
||||
{
|
||||
|
@ -135,7 +135,7 @@ struct EdifBackend : public Backend {
|
|||
continue;
|
||||
|
||||
if (top_module_name.empty())
|
||||
top_module_name = module->name;
|
||||
top_module_name = module->name.str();
|
||||
|
||||
if (module->processes.size() != 0)
|
||||
log_error("Found unmapped processes in module %s: unmapped processes are not supported in EDIF backend!\n", RTLIL::id2cstr(module->name));
|
||||
|
|
|
@ -172,7 +172,7 @@ struct SpiceBackend : public Backend {
|
|||
if (top_module_name.empty())
|
||||
for (auto & mod_it:design->modules_)
|
||||
if (mod_it.second->get_bool_attribute("\\top"))
|
||||
top_module_name = mod_it.first;
|
||||
top_module_name = mod_it.first.str();
|
||||
|
||||
fprintf(f, "* SPICE netlist generated by %s\n", yosys_version_str);
|
||||
fprintf(f, "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue