This commit is contained in:
Stan Lee 2026-03-06 09:59:51 -08:00
parent cb3853fca0
commit c3a9a6d90e
2 changed files with 2 additions and 2 deletions

View File

@ -1475,7 +1475,7 @@ struct SimWorker : SimShared
fst = new FstData(sim_filename);
timescale = fst->getTimescaleString();
if (scope.empty()) {
scopes = fst->autoScope(topmod);
std::vector<std::string> scopes = fst->autoScope(topmod);
if (scopes.empty()) {
log_error("No scope found for module '%s'. Please specify -scope explicitly.\n",
RTLIL::unescape_id(topmod->name).c_str());

View File

@ -200,7 +200,7 @@ struct RegRenamePass : public Pass {
try {
FstData fst(vcd_filename);
if (scope.empty()) {
scopes = fst->autoScope(topmod);
std::vector<std::string> scopes = fst.autoScope(topmod);
if (scopes.empty()) {
log_error("No scope found for module '%s'. Please specify -scope explicitly.\n",
RTLIL::unescape_id(topmod->name).c_str());