aboutsummaryrefslogtreecommitdiffstats
path: root/backends/smt2
diff options
context:
space:
mode:
authorAlberto Gonzalez <boqwxp@airmail.cc>2020-04-01 06:53:28 +0000
committerAlberto Gonzalez <boqwxp@airmail.cc>2020-04-01 06:53:28 +0000
commitc23c2c59c141e97cdcdad768c7f112eb163b925f (patch)
tree8d109d510ec7647e876fac7c88b537eb5fb49b9c /backends/smt2
parentcdb14652be15914325954bb48131300eeeb961e9 (diff)
downloadyosys-c23c2c59c141e97cdcdad768c7f112eb163b925f.tar.gz
yosys-c23c2c59c141e97cdcdad768c7f112eb163b925f.tar.bz2
yosys-c23c2c59c141e97cdcdad768c7f112eb163b925f.zip
Update `RTLIL::id2cstr()` usage to `log_id`.
Diffstat (limited to 'backends/smt2')
-rw-r--r--backends/smt2/smt2.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc
index 628765831..eb4826051 100644
--- a/backends/smt2/smt2.cc
+++ b/backends/smt2/smt2.cc
@@ -1523,12 +1523,12 @@ struct Smt2Backend : public Backend {
for (auto &dep : it.second)
if (module_deps.count(dep) > 0)
goto not_ready_yet;
- // log("Next in topological sort: %s\n", RTLIL::id2cstr(it.first->name));
+ // log("Next in topological sort: %s\n", log_id(it.first->name));
sorted_modules.push_back(it.first);
not_ready_yet:;
}
if (sorted_modules_idx == sorted_modules.size())
- log_error("Cyclic dependency between modules found! Cycle includes module %s.\n", RTLIL::id2cstr(module_deps.begin()->first->name));
+ log_error("Cyclic dependency between modules found! Cycle includes module %s.\n", log_id(module_deps.begin()->first->name));
while (sorted_modules_idx < sorted_modules.size())
module_deps.erase(sorted_modules.at(sorted_modules_idx++));
}