diff --git a/test_regress/t/t_vpi_module.cpp b/test_regress/t/t_vpi_module.cpp index 0d9922f51..6f76bd5a6 100644 --- a/test_regress/t/t_vpi_module.cpp +++ b/test_regress/t/t_vpi_module.cpp @@ -80,6 +80,10 @@ void modDump(const TestVpiHandle& it, int n) { extern "C" { int mon_check() { +#ifdef TEST_VERBOSE + printf("-mon_check()\n"); +#endif + TestVpiHandle it = vpi_iterate(vpiModule, NULL); CHECK_RESULT_NZ(it); // Uncomment to see what other simulators return diff --git a/test_regress/t/t_vpi_module.v b/test_regress/t/t_vpi_module.v index 3ef25ea4b..8d29e6622 100644 --- a/test_regress/t/t_vpi_module.v +++ b/test_regress/t/t_vpi_module.v @@ -43,10 +43,10 @@ extern "C" int mon_check(); status = $c32("mon_check()"); `endif `ifdef IVERILOG - status = $mon_check(); + status = $mon_check(); `endif `ifndef USE_VPI_NOT_DPI - status = mon_check(); + status = mon_check(); `endif if (status!=0) begin $write("%%Error: t_vpi_module.cpp:%0d: C Test failed\n", status); diff --git a/test_regress/t/t_vpi_var.cpp b/test_regress/t/t_vpi_var.cpp index b8af76d23..e33072b2f 100644 --- a/test_regress/t/t_vpi_var.cpp +++ b/test_regress/t/t_vpi_var.cpp @@ -633,6 +633,10 @@ int _mon_check_vlog_info() { int mon_check() { // Callback from initial block in monitor +#ifdef TEST_VERBOSE + printf("-mon_check()\n"); +#endif + if (int status = _mon_check_mcd()) return status; if (int status = _mon_check_callbacks()) return status; if (int status = _mon_check_value_callbacks()) return status; diff --git a/test_regress/t/t_vpi_var.v b/test_regress/t/t_vpi_var.v index 88c9612a6..ea2345b87 100644 --- a/test_regress/t/t_vpi_var.v +++ b/test_regress/t/t_vpi_var.v @@ -60,10 +60,10 @@ extern "C" int mon_check(); status = $c32("mon_check()"); `endif `ifdef IVERILOG - status = $mon_check(); + status = $mon_check(); `endif `ifndef USE_VPI_NOT_DPI - status = mon_check(); + status = mon_check(); `endif if (status!=0) begin $write("%%Error: t_vpi_var.cpp:%0d: C Test failed\n", status);