From: whitequark Date: Tue, 21 Apr 2020 23:42:56 +0000 (+0000) Subject: cxxrtl: use log_id() where appropriate. NFC. X-Git-Tag: working-ls180~602^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5f17e0ced552afb0a27bd244727ce58c24f45e95;p=yosys.git cxxrtl: use log_id() where appropriate. NFC. --- 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();