diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-08-02 18:58:40 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-08-02 18:58:40 +0200 |
commit | 04727c7e0fb4c00b38999da192e4ada2a6f9474a (patch) | |
tree | 5cedd8807a1d846d5bd6790bfde555b70b8c283b /backends | |
parent | 768eb846c4473040dc07bf62ce631c8a21474ae8 (diff) | |
download | yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.tar.gz yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.tar.bz2 yosys-04727c7e0fb4c00b38999da192e4ada2a6f9474a.zip |
No implicit conversion from IdString to anything else
Diffstat (limited to 'backends')
-rw-r--r-- | backends/blif/blif.cc | 2 | ||||
-rw-r--r-- | backends/btor/btor.cc | 2 | ||||
-rw-r--r-- | backends/edif/edif.cc | 4 | ||||
-rw-r--r-- | backends/spice/spice.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index ecde8b5a3..5daab6691 100644 --- a/backends/blif/blif.cc +++ b/backends/blif/blif.cc @@ -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); diff --git a/backends/btor/btor.cc b/backends/btor/btor.cc index 201be0cf5..a81d8f159 100644 --- a/backends/btor/btor.cc +++ b/backends/btor/btor.cc @@ -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); diff --git a/backends/edif/edif.cc b/backends/edif/edif.cc index bf1efc4ae..ecdfaabfc 100644 --- a/backends/edif/edif.cc +++ b/backends/edif/edif.cc @@ -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)); diff --git a/backends/spice/spice.cc b/backends/spice/spice.cc index a445e9cc9..be0086ffd 100644 --- a/backends/spice/spice.cc +++ b/backends/spice/spice.cc @@ -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"); |