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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_67/] [or1ksim/] [sim-config.h] - Diff between revs 477 and 479

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

Rev 477 Rev 479
Line 188... Line 188...
    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) */
  } sim;
  } sim;
 
 
 
  struct {
 
    unsigned long ifea;     /* Instruction fetch effective address */
 
    unsigned long lea;      /* Load effective address */
 
    unsigned long sea;      /* Store effective address */
 
    unsigned long ld;       /* Load data */
 
    unsigned long sd;       /* Store data */
 
    unsigned long lsea;     /* Load/Store effective address */
 
  } cpu;
 
 
  struct {                  /* Verification API, part of Advanced Core Verification */
  struct {                  /* Verification API, part of Advanced Core Verification */
    FILE *vapi_file;        /* vapi file */
    FILE *vapi_file;        /* vapi file */
  } vapi;
  } vapi;
};
};
 
 
#ifdef DEBUGMOD_OFF
 
#define DEBUG_ENABLED 0
 
#define GDB_ENABLED   0
 
#else
 
#define DEBUG_ENABLED config.debug.enabled
#define DEBUG_ENABLED config.debug.enabled
#define GDB_ENABLED   config.debug.gdb_enabled
#define GDB_ENABLED   config.debug.gdb_enabled
#endif
 
 
 
extern struct config config;
extern struct config config;
extern struct runtime runtime;
extern struct runtime runtime;
 
 
/* Read environment from a script file. Does not fail - assumes defaukt configuration instead. */
/* Read environment from a script file. Does not fail - assumes defaukt configuration instead. */

powered by: WebSVN 2.1.0

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