cxxrtl: minor debug-related improvements.

This commit is contained in:
whitequark 2020-06-08 03:21:08 +00:00
parent 210d129d9a
commit fb3704c896
1 changed files with 3 additions and 2 deletions

View File

@ -2419,7 +2419,8 @@ struct CxxrtlBackend : public Backend {
log(" no debug information.\n"); log(" no debug information.\n");
log("\n"); log("\n");
log(" -g1\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"); log("\n");
} }
@ -2494,7 +2495,7 @@ struct CxxrtlBackend : public Backend {
case 0: case 0:
break; break;
default: 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; std::ofstream intf_f;