Tests: Add some verbose statements.

This commit is contained in:
Wilson Snyder 2021-02-03 19:38:44 -05:00
parent ae311200bf
commit 99afffa949
4 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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;