Merge pull request #990 from masloyet/vvp-scope-search-typo

Fix Typo in vvp's scope search in interactive mode.
This commit is contained in:
Cary R 2023-08-18 07:07:58 -07:00 committed by GitHub
commit 8bcdb5d862
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ static void cmd_call(unsigned argc, char*argv[])
case vpiTask:
case vpiNamedBegin:
case vpiNamedFork:
scope = dynamic_cast<__vpiScope*>(table[idx]);
scope = dynamic_cast<__vpiScope*>(table[tmp]);
if (strcmp(scope->scope_name(), argv[idx+1]) == 0)
handle = table[tmp];
break;