From fb3704c8964aac37b6745647cb6338d464ff38fb Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 8 Jun 2020 03:21:08 +0000 Subject: [PATCH] cxxrtl: minor debug-related improvements. --- backends/cxxrtl/cxxrtl_backend.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backends/cxxrtl/cxxrtl_backend.cc b/backends/cxxrtl/cxxrtl_backend.cc index 64af5dab8..e2fd6b672 100644 --- a/backends/cxxrtl/cxxrtl_backend.cc +++ b/backends/cxxrtl/cxxrtl_backend.cc @@ -2419,7 +2419,8 @@ struct CxxrtlBackend : public Backend { log(" no debug information.\n"); log("\n"); log(" -g1\n"); - log(" debug information for non-localized public wires.\n"); + log(" debug information for non-optimized public wires. this also makes it\n"); + log(" possible to use the C API.\n"); log("\n"); } @@ -2494,7 +2495,7 @@ struct CxxrtlBackend : public Backend { case 0: break; default: - log_cmd_error("Invalid optimization level %d.\n", opt_level); + log_cmd_error("Invalid debug information level %d.\n", debug_level); } std::ofstream intf_f; -- 2.30.2