URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 970 |
Rev 997 |
Line 280... |
Line 280... |
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 *fspr_log; /* SPR state log file */
|
|
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) */
|
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 */
|
Line 344... |
Line 345... |
#else
|
#else
|
extern struct config config;
|
extern struct config config;
|
#define IFF(x) if (1)
|
#define IFF(x) if (1)
|
#endif
|
#endif
|
|
|
|
#define PRINTF(x...) fprintf (runtime.sim.fout, x)
|
|
|
extern struct runtime runtime;
|
extern struct runtime runtime;
|
|
|
/* Read environment from a script file. Does not fail - assumes defaukt configuration instead. */
|
/* Read environment from a script file. Does not fail - assumes defaukt configuration instead. */
|
void read_script_file (char *filename);
|
void read_script_file (char *filename);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.