Subject: [sv-cc] VPIs for changing the log file..
From: Raghuraman R (raghu@ti.com)
Date: Fri Apr 11 2003 - 01:23:35 PDT
Hi,
I would like to know if there is any vpi call to change the logfile
during simulation. I know of the vpi_mcd_* calls but it is for any
user-specific displays.
For example, if I am running a big simulation job running for 48 hours,
then the log file that gets generated is a 16 GB file or so which cannot
be edited or read easily. So if there is a vpi call to change the log
file, it will be good for the users, who can look at the smaller log
files. This is also needed when multiple vector files are simulated in
one run and users would like to have one log for each file.
The prototype could be
int vpi_change_log("<file name>", mode (append|write));
Similarly there should be a call to get the current log file name
char * vpi_get_logfilename();
Otherwise, logfile could be declared as an object which can be edited
using the vpi_put_value and value obtained through vpi_get_value. The
object type could be enumerated on the types of vpiBinStrVal etc.
-- Regds,Raghuraman R ASIC Texas Instruments (India) Ltd. Phone : +91-80-5099113 http://www.india.ti.com/~raghu
* Think. *
This archive was generated by hypermail 2b28 : Fri Apr 11 2003 - 01:25:02 PDT