OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1ksim/] [cpu/] [common/] [execute.h] - Diff between revs 430 and 552

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

Rev 430 Rev 552
Line 29... Line 29...
 
 
#include "spr-defs.h"
#include "spr-defs.h"
#include "opcode/or32.h"
#include "opcode/or32.h"
#include "abstract.h"
#include "abstract.h"
 
 
#if DYNAMIC_EXECUTION
 
#include "setjmp.h"
 
#include "dyn-rec.h"
 
#endif
 
 
 
 
 
#define CURINSN(INSN) (strcmp(cur->insn, (INSN)) == 0)
#define CURINSN(INSN) (strcmp(cur->insn, (INSN)) == 0)
 
 
/*!The main structure holding the current execution state of the CPU
/*!The main structure holding the current execution state of the CPU
 
 
   Not to be confused with @c runtime, which holds the state of the
   Not to be confused with @c runtime, which holds the state of the
Line 59... Line 53...
  oraddr_t             pc;              /*!< PC (and translated PC) */
  oraddr_t             pc;              /*!< PC (and translated PC) */
  oraddr_t             pc_delay;        /*!< Delay instr EA register */
  oraddr_t             pc_delay;        /*!< Delay instr EA register */
  struct iqueue_entry  iqueue;          /*!< Decode of just executed instr */
  struct iqueue_entry  iqueue;          /*!< Decode of just executed instr */
  struct iqueue_entry  icomplet;        /*!< Decode of instr before this */
  struct iqueue_entry  icomplet;        /*!< Decode of instr before this */
 
 
#if DYNAMIC_EXECUTION
 
  jmp_buf              excpt_loc;       /*!< Longjump here for exception */
 
  struct dyn_page     *curr_page;       /*!< Current page in execution */
 
  struct dyn_page    **dyn_pages;       /*!< Pointers to recompiled pages */
 
  int32_t              cycles_dec;
 
  struct op_queue     *opqs;            /*!< Micro-operation queue */
 
#endif
 
};
};
 
 
/*! History of execution */
/*! History of execution */
struct hist_exec
struct hist_exec
{
{

powered by: WebSVN 2.1.0

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