OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [toplevel.c] - Diff between revs 1550 and 1557

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 1550 Rev 1557
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;
};
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.