Skip to content

Commit

Permalink
更新 svuvm.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Git authored Nov 17, 2024
1 parent 97ba6c2 commit d55d12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svuvm/svuvm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ PYBIND11_MODULE(svuvm, m) {
} else {
scope = nullptr;
}
vpiHandle handle = vpi_handle_by_name((char *)"top.test_wire", scope);
vpiHandle handle = vpi_handle_by_name((PLI_BYTE8 *)name.c_str(), scope);
if (handle == nullptr) {
vpi_printf((PLI_BYTE8 *)"VPI Error: unable to locate vpiHandle (%s), "
"Either the name is incorrect, or you may "
Expand Down

0 comments on commit d55d12c

Please sign in to comment.