mirror of https://github.com/YosysHQ/yosys.git
fix
This commit is contained in:
parent
cb3853fca0
commit
c3a9a6d90e
|
|
@ -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());
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue