summaryrefslogtreecommitdiff
path: root/backends/blif/blif.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-08-02 18:58:40 +0200
committerClifford Wolf <clifford@clifford.at>2014-08-02 18:58:40 +0200
commit04727c7e0fb4c00b38999da192e4ada2a6f9474a (patch)
tree5cedd8807a1d846d5bd6790bfde555b70b8c283b /backends/blif/blif.cc
parent768eb846c4473040dc07bf62ce631c8a21474ae8 (diff)
No implicit conversion from IdString to anything else
Diffstat (limited to 'backends/blif/blif.cc')
-rw-r--r--backends/blif/blif.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc
index ecde8b5a..5daab669 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);