User guide
E-54
PLI Access Routines
char *outfile1 = "device.evcd1";
char *outfile2 = "device.evcd2";
/* Include VHDL drivers in this report */
acc_lsi_dumpports_vhdl_enable(1);
acc_lsi_dumpports_call(instance, outfile1);
/* Exclude VHDL drivers from this report */
acc_lsi_dumpports_vhdl_enable(0);
acc_lsi_dumpports_call(instance, outfile1);
...
Caution
This routine has precedence over the +dumpports+vhdl+enable
and +dumpports+vhdl+disable runtime options.
Access Routines for Line Callbacks
VCS comes with the a number of access routines to monitor code
execution. These access routines are as follows:
acc_mod_lcb_add
Registers a line callback routine with a module so that VCS calls
the routine whenever VCS executes the specified module. See
"acc_mod_lcb_add" on page E-55 for details.
acc_mod_lcb_del
Unregisters a line callback routine previously registered with the
acc_mod_lcb_add() routine. See "acc_mod_lcb_del" on page
E-57 for details.
acc_mod_lcb_enabled
Tests to see if line callbacks is enabled. See
"acc_mod_lcb_enabled" on page E-58 for details.