mirror of
https://github.com/verilator/verilator.git
synced 2026-09-06 08:57:23 +02:00
Fix --top-module with underscores (#6940).
This commit is contained in:
+5
-2
@@ -1789,8 +1789,11 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc,
|
||||
}
|
||||
});
|
||||
DECL_OPTION("-timing", OnOff, &m_timing);
|
||||
DECL_OPTION("-top", Set, &m_topModule);
|
||||
DECL_OPTION("-top-module", Set, &m_topModule);
|
||||
DECL_OPTION("-top", CbVal,
|
||||
[this](const std::string& flag) { m_topModule = AstNode::encodeName(flag); });
|
||||
DECL_OPTION("-top-module", CbVal,
|
||||
[this](const std::string& flag) { m_topModule = AstNode::encodeName(flag); });
|
||||
DECL_OPTION("-top-module-encoded", Set, &m_topModule).undocumented();
|
||||
DECL_OPTION("-trace", OnOff, &m_trace);
|
||||
DECL_OPTION("-trace-saif", CbCall, [this]() { m_traceEnabledSaif = true; });
|
||||
DECL_OPTION("-trace-coverage", OnOff, &m_traceCoverage);
|
||||
|
||||
Reference in New Issue
Block a user