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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_49/] [or1ksim/] [cpu/] [or1k/] [except.c] - Diff between revs 693 and 703

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

Rev 693 Rev 703
Line 57... Line 57...
    pending.address = ea;
    pending.address = ea;
    if (delay_insn)
    if (delay_insn)
      pending.saved = pc - 4;
      pending.saved = pc - 4;
    else
    else
      pending.saved = pc;
      pending.saved = pc;
    if (config.sim.verbose) printf("Exception 0x%x (%s) at 0x%x, EA: 0x%x, pc: 0x%x, pcnext: 0x%x\n",
    if (config.sim.verbose) printf("Exception 0x%x (%s) at 0x%x, EA: 0x%x, ppc: 0x%x, npc: 0x%x\n",
                                   except, EXCEPT_NAME(except), iqueue[0].insn_addr, ea, pc, pcnext);
                                   except, EXCEPT_NAME(except), iqueue[0].insn_addr, ea, pc, pcnext);
  }
  }
}
}
 
 
/* Actually handles exception */
/* Actually handles exception */

powered by: WebSVN 2.1.0

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