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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_66/] [or1ksim/] [toplevel.c] - Diff between revs 1050 and 1051

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

Rev 1050 Rev 1051
Line 58... Line 58...
#include "mprofiler.h"
#include "mprofiler.h"
#include "mc.h"
#include "mc.h"
#include "atahost.h"
#include "atahost.h"
 
 
/* CVS revision number. */
/* CVS revision number. */
const char rcsrev[] = "$Revision: 1.94 $";
const char rcsrev[] = "$Revision: 1.95 $";
 
 
/* History of execution */
/* History of execution */
int histexec[HISTEXEC_LEN];
int histexec[HISTEXEC_LEN];
 
 
char *sim_commands [] = {
char *sim_commands [] = {
Line 612... Line 612...
      char item2[20];
      char item2[20];
      char *p;
      char *p;
      unsigned long addr;
      unsigned long addr;
      strtoken(linestr, item2, 2);
      strtoken(linestr, item2, 2);
      addr = strtoul(item2, &p, 0);
      addr = strtoul(item2, &p, 0);
      if (p) {
      if (*p) {
        struct label_entry *l = find_label (item2);
        struct label_entry *l = find_label (item2);
        if (l) {
        if (l) {
          addr = l->addr;
          addr = l->addr;
        } else addr = 0xffffffff;
        } else addr = 0xffffffff;
      }
      }

powered by: WebSVN 2.1.0

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