URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1455 |
Rev 1471 |
Line 190... |
Line 190... |
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 */
|
int iprompt; /* Interactive prompt */
|
int iprompt; /* Interactive prompt */
|
int cont_run; /* Continuos run versus single
|
|
step tracing switch. */
|
|
long long cycles; /* Cycles counts fetch stages */
|
long long cycles; /* Cycles counts fetch stages */
|
|
|
int mem_cycles; /* Each cycle has counter of mem_cycles;
|
int mem_cycles; /* Each cycle has counter of mem_cycles;
|
this value is joined with cycles
|
this value is joined with cycles
|
at the end of the cycle; no sim
|
at the end of the cycle; no sim
|
Line 263... |
Line 261... |
|
|
void print_config();
|
void print_config();
|
|
|
void sim_done(void);
|
void sim_done(void);
|
|
|
|
/* Periodically checks runtime.sim.iprompt to see if ctrl_c has been pressed */
|
|
void check_int(void *dat);
|
|
|
|
/* Number of cycles between checks to runtime.sim.iprompt */
|
|
#define CHECK_INT_TIME 100000
|
|
|
/* Resets all subunits */
|
/* Resets all subunits */
|
void sim_reset(void);
|
void sim_reset(void);
|
|
|
/* Handle the sim commandline */
|
/* Handle the sim commandline */
|
void handle_sim_command(void);
|
void handle_sim_command(void);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.