Skip to content

Commit

Permalink
WIP: Add mon_check_scopes function
Browse files Browse the repository at this point in the history
Signed-off-by: Ryszard Rozak <[email protected]>
  • Loading branch information
RRozak committed Oct 30, 2024
1 parent fd974a8 commit c57cba1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test_regress/t/t_vpi_escape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c57cba1

Please sign in to comment.