From c57cba1550f106296c0d0d899b1455b6573bed7c Mon Sep 17 00:00:00 2001 From: Ryszard Rozak Date: Wed, 30 Oct 2024 16:53:51 +0100 Subject: [PATCH] WIP: Add mon_check_scopes function Signed-off-by: Ryszard Rozak --- test_regress/t/t_vpi_escape.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test_regress/t/t_vpi_escape.cpp b/test_regress/t/t_vpi_escape.cpp index 043a62a5d9..b2ad6f54ae 100644 --- a/test_regress/t/t_vpi_escape.cpp +++ b/test_regress/t/t_vpi_escape.cpp @@ -301,6 +301,13 @@ int _mon_check_ports() { return errors; } +int _mon_check_scopes() { +#ifdef TEST_VERBOSE + printf("-mon_check_scopes()\n"); +#endif + return errors; +} + extern "C" int mon_check() { // Callback from initial block in monitor #ifdef TEST_VERBOSE @@ -310,6 +317,7 @@ extern "C" int mon_check() { if (int status = _mon_check_var()) return status; if (int status = _mon_check_iter()) return status; if (int status = _mon_check_ports()) return status; + if (int status = _mon_check_scopes()) return status; #ifndef IS_VPI VerilatedVpi::selfTest(); #endif