From 5f17e0ced552afb0a27bd244727ce58c24f45e95 Mon Sep 17 00:00:00 2001 From: whitequark Date: Tue, 21 Apr 2020 23:42:56 +0000 Subject: [PATCH] cxxrtl: use log_id() where appropriate. NFC. --- backends/cxxrtl/cxxrtl.cc | 8 ++++---- 1 file 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(); -- 2.30.2