forked from github/verilator
Tests: Add some verbose statements.
This commit is contained in:
parent
ae311200bf
commit
99afffa949
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user