diff --git a/vvp/vpi_vthr_vector.cc b/vvp/vpi_vthr_vector.cc index 232b24a2c..57ece0e5d 100644 --- a/vvp/vpi_vthr_vector.cc +++ b/vvp/vpi_vthr_vector.cc @@ -247,6 +247,8 @@ int __vpiVThrStrStack::vpi_get(int code) case _vpiFromThr: return _vpiString; #endif + case vpiSize: + return vthread_get_str_stack(vpip_current_vthread, depth_).size(); default: return 0; }