From d55d12c0a58bb5b2e1e3b6e5d15f944ce0b9c096 Mon Sep 17 00:00:00 2001 From: Dragon-Git <42856316+Dragon-Git@users.noreply.github.com> Date: Sun, 17 Nov 2024 12:05:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20svuvm.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/svuvm/svuvm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/svuvm/svuvm.cpp b/src/svuvm/svuvm.cpp index 9ed02f5..e53e92a 100644 --- a/src/svuvm/svuvm.cpp +++ b/src/svuvm/svuvm.cpp @@ -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 "