aboutsummaryrefslogtreecommitdiffstats
path: root/backends/cxxrtl/cxxrtl.cc
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-04-21 23:42:56 +0000
committerwhitequark <whitequark@whitequark.org>2020-04-21 23:42:56 +0000
commit5f17e0ced552afb0a27bd244727ce58c24f45e95 (patch)
treef466262c40dc9b10bde5698b9db20dc543c0431b /backends/cxxrtl/cxxrtl.cc
parentd22a8d157da855ca70ff89ead8406dcd629642fb (diff)
downloadyosys-5f17e0ced552afb0a27bd244727ce58c24f45e95.tar.gz
yosys-5f17e0ced552afb0a27bd244727ce58c24f45e95.tar.bz2
yosys-5f17e0ced552afb0a27bd244727ce58c24f45e95.zip
cxxrtl: use log_id() where appropriate. NFC.
Diffstat (limited to 'backends/cxxrtl/cxxrtl.cc')
-rw-r--r--backends/cxxrtl/cxxrtl.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/backends/cxxrtl/cxxrtl.cc b/backends/cxxrtl/cxxrtl.cc
index ab8888e08..3cdc5ab6b 100644
--- a/backends/cxxrtl/cxxrtl.cc
+++ b/backends/cxxrtl/cxxrtl.cc
@@ -1971,9 +1971,9 @@ struct CxxrtlWorker {
if (!feedback_wires.empty()) {
has_feedback_arcs = true;
- log("Module `%s' contains feedback arcs through wires:\n", module->name.c_str());
+ log("Module `%s' contains feedback arcs through wires:\n", log_id(module));
for (auto wire : feedback_wires)
- log(" %s\n", wire->name.c_str());
+ log(" %s\n", log_id(wire));
}
for (auto wire : module->wires()) {
@@ -2002,9 +2002,9 @@ struct CxxrtlWorker {
}
if (!buffered_wires.empty()) {
has_buffered_wires = true;
- log("Module `%s' contains buffered combinatorial wires:\n", module->name.c_str());
+ log("Module `%s' contains buffered combinatorial wires:\n", log_id(module));
for (auto wire : buffered_wires)
- log(" %s\n", wire->name.c_str());
+ log(" %s\n", log_id(wire));
}
eval_converges[module] = feedback_wires.empty() && buffered_wires.empty();