Collected minor output code cleanups.

This commit is contained in:
Wilson Snyder
2020-04-23 21:22:47 -04:00
parent f93ae707e0
commit df52e481fb
5 changed files with 26 additions and 9 deletions
+4
View File
@@ -633,6 +633,10 @@ void V3Options::notify() {
&& !v3Global.opt.xmlOnly());
}
if (v3Global.opt.main() && v3Global.opt.systemC()) {
cmdfl->v3error("--main not usable with SystemC. Suggest see examples for sc_main().");
}
// --trace-threads implies --threads 1 unless explicitly specified
if (traceThreads() && !threads()) m_threads = 1;