Use the new cur_instance variable to get the call handle instead of calling vpi_handle(vpiSysTfCall, 0). This completes a proper fix for issue #141, to replace the problematic fix that was reverted in commit 8da8261f.
8da8261f
2) Addes error checks for trace file opens 3) removes now extraneous flushes 4) fixes acc_next() bug