User guide

E-50
PLI Access Routines
if (time == yada_yada)
acc_lsi_dumpports_off(outfile);
...
if (time == yada_yada_yada) {
/* add checkpoint (no need to enable dumping) */
acc_lsi_dumpports_all(outfile);
acc_lsi_dumpports_flush(outfile);
}
...
if (resume_dumping_now)
acc_lsi_dumpports_on(outfile);
...
Caution
This routine may suspend dumping on files opened by the
$dumpports and $lsi_dumpports system tasks.
acc_lsi_dumpports_on
Syntax
int acc_lsi_dumpports_on(char *filename)
Synopsis
Resumes VCDE file dumping.
This is a PLI interface to the $dumpportson system task. If the
filename is NULL dumping is resumed on all open files.
Returns
The number of files that matched.
Example D-18 Example of acc_lsi_dumpports_on
#include "acc_user.h"
#include "vcs_acc_user.h"
handle instance = acc_handle_by_name("test_bench.device", 0);