Line 64... |
Line 64... |
#include "icache_model.h"
|
#include "icache_model.h"
|
#include "branch_predict.h"
|
#include "branch_predict.h"
|
#include "dumpverilog.h"
|
#include "dumpverilog.h"
|
#include "trace.h"
|
#include "trace.h"
|
#include "cuc.h"
|
#include "cuc.h"
|
|
#include "tick.h"
|
|
|
/* CVS revision number. */
|
const char *or1ksim_ver = "0.1.0";
|
const char rcsrev[] = "$Revision: 1.133 $";
|
|
|
|
inline void debug(int level, const char *format, ...)
|
inline void debug(int level, const char *format, ...)
|
{
|
{
|
char *p;
|
char *p;
|
va_list ap;
|
va_list ap;
|
Line 119... |
Line 119... |
handle_sim_command();
|
handle_sim_command();
|
}
|
}
|
SCHED_ADD(check_int, NULL, CHECK_INT_TIME);
|
SCHED_ADD(check_int, NULL, CHECK_INT_TIME);
|
}
|
}
|
|
|
void version(void)
|
|
{
|
|
PRINTF ("\n");
|
|
PRINTF ("OpenRISC 1000 (OR32) Architectural Simulator, %s\n", rcsrev);
|
|
PRINTF ("Copyright (C) 1999 Damjan Lampret, lampret@opencores.org\n");
|
|
PRINTF ("Copyright (C) 2000 Damjan Lampret, lampret@opencores.org\n");
|
|
PRINTF (" Jimmy Chen-Min Chen, jimmy@ee.nctu.edu.tw\n");
|
|
PRINTF (" Johan Rydberg, johan.rydberg@insight.se\n");
|
|
PRINTF (" Marko Mlinar, markom@opencores.org\n");
|
|
PRINTF ("Copyright (C) 2001 Simon Srot, simons@opencores.org\n");
|
|
PRINTF (" Marko Mlinar, markom@opencores.org\n");
|
|
PRINTF ("Copyright (C) 2002 Marko Mlinar, markom@opencores.org\n");
|
|
PRINTF (" Simon Srot, simons@opencores.org\n");
|
|
PRINTF ("Visit http://www.opencores.org for more information about ");
|
|
PRINTF ("OpenRISC 1000 and\nother open source cores.\n\n");
|
|
PRINTF ("This software comes with ABSOLUTELY NO WARRANTY; for ");
|
|
PRINTF ("details see COPYING.\nThis is free software, and you ");
|
|
PRINTF ("are welcome to redistribute it under certain\nconditions; ");
|
|
PRINTF ("for details see COPYING.\n");
|
|
}
|
|
|
|
struct sim_reset_hook {
|
struct sim_reset_hook {
|
void *dat;
|
void *dat;
|
void (*reset_hook)(void *);
|
void (*reset_hook)(void *);
|
struct sim_reset_hook *next;
|
struct sim_reset_hook *next;
|
};
|
};
|