Line 122... |
Line 122... |
int exe_log_type; /* Type of log */
|
int exe_log_type; /* Type of log */
|
int exe_log_start; /* First instruction to log */
|
int exe_log_start; /* First instruction to log */
|
int exe_log_end; /* Last instruction to log, -1 if continuous */
|
int exe_log_end; /* Last instruction to log, -1 if continuous */
|
int exe_log_marker; /* If nonzero, place markers before each exe_log_marker instructions */
|
int exe_log_marker; /* If nonzero, place markers before each exe_log_marker instructions */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
int spr_log; /* Print out SPR states */
|
|
char spr_log_fn[STR_SIZE]; /* SPR state log filename */
|
|
char fstdout[STR_SIZE]; /* stdout filename */
|
char fstdout[STR_SIZE]; /* stdout filename */
|
long clkcycle_ps; /* Clock duration in ps */
|
long clkcycle_ps; /* Clock duration in ps */
|
long system_kfreq; /* System frequency in kHz*/
|
long system_kfreq; /* System frequency in kHz*/
|
} sim;
|
} sim;
|
|
|
Line 162... |
Line 160... |
struct runtime {
|
struct runtime {
|
struct {
|
struct {
|
FILE *fprof; /* Profiler file */
|
FILE *fprof; /* Profiler file */
|
FILE *fmprof; /* Memory profiler file */
|
FILE *fmprof; /* Memory profiler file */
|
FILE *fexe_log; /* RTL state comparison file */
|
FILE *fexe_log; /* RTL state comparison file */
|
FILE *fspr_log; /* SPR state log file */
|
|
FILE *fout; /* file for standard output */
|
FILE *fout; /* file for standard output */
|
int init; /* Whether we are still initilizing sim */
|
int init; /* Whether we are still initilizing sim */
|
int script_file_specified; /* Whether script file was already loaded */
|
int script_file_specified; /* Whether script file was already loaded */
|
char *filename; /* Original Command Simulator file (CZ) */
|
char *filename; /* Original Command Simulator file (CZ) */
|
char script_fn[STR_SIZE]; /* Script file read */
|
char script_fn[STR_SIZE]; /* Script file read */
|