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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_66/] [or1ksim/] [toplevel.c] - Diff between revs 847 and 848

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

Rev 847 Rev 848
Line 57... Line 57...
#include "profiler.h"
#include "profiler.h"
#include "mprofiler.h"
#include "mprofiler.h"
#include "mc.h"
#include "mc.h"
 
 
/* CVS revision number. */
/* CVS revision number. */
const char rcsrev[] = "$Revision: 1.83 $";
const char rcsrev[] = "$Revision: 1.84 $";
 
 
/* Continuos run versus single step tracing switch. */
/* Continuos run versus single step tracing switch. */
int cont_run;
int cont_run;
 
 
/* History of execution */
/* History of execution */
Line 669... Line 669...
      }
      }
    } else
    } else
    if (strcmp(item1, "info") == 0) /* configuration info */
    if (strcmp(item1, "info") == 0) /* configuration info */
      sim_info ();
      sim_info ();
    else
    else
    if (strcmp (item1, "profiler") == 0) { /
    if (strcmp (item1, "profiler") == 0) { /* run profiler utility */
      av = tokenize_line (linestr
      char *argv[10];
      main_profiler (ac, av);
      int argc = tokenize_line (linestr, argv, 10);
 
      main_profiler (argc, argv);
 
    } else
 
    if (strcmp (item1, "mprofiler") == 0) { /* run mprofiler utility */
 
      char *argv[10];
 
      int argc = tokenize_line (linestr, argv, 10);
 
      main_mprofiler (argc, argv);
    } else
    } else
#if !FAST_SIM
#if !FAST_SIM
    if (strcmp(item1, "set") == 0) { /* configuration info */
    if (strcmp(item1, "set") == 0) { /* configuration info */
      char *s = linestr;
      char *s = linestr;
      int i;
      int i;

powered by: WebSVN 2.1.0

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