Line 175... |
Line 175... |
char mprof_fn[STR_SIZE];/* Memory profiler filename */
|
char mprof_fn[STR_SIZE];/* Memory profiler filename */
|
|
|
int history; /* instruction stream history analysis */
|
int history; /* instruction stream history analysis */
|
int exe_log; /* Print out RTL states? */
|
int exe_log; /* Print out RTL states? */
|
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 */
|
long clkcycle_ps; /* Clock duration in ps */
|
long clkcycle_ps; /* Clock duration in ps */
|
} sim;
|
} sim;
|
|
|
struct {
|
struct {
|
int enabled; /* Whether is debug module enabled */
|
int enabled; /* Whether is debug module enabled */
|
Line 203... |
Line 205... |
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 */
|
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) */
|
int output_cfg; /* Whether sim is to output cfg files */
|
int output_cfg; /* Whether sim is to output cfg files */
|
char script_fn[STR_SIZE];/* Script file read */
|
char script_fn[STR_SIZE];/* Script file read */
|