URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [or1ksim/] [cpu/] [or1k/] [except.c] - Diff between revs 1481 and 1506
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1481 |
Rev 1506 |
Line 100... |
Line 100... |
", ppc: 0x%"PRIxADDR", npc: 0x%"PRIxADDR", dpc: 0x%"PRIxADDR
|
", ppc: 0x%"PRIxADDR", npc: 0x%"PRIxADDR", dpc: 0x%"PRIxADDR
|
", cycles %lld, #%lld\n",
|
", cycles %lld, #%lld\n",
|
except, except_name(except), pcprev, ea, cpu_state.pc, pcnext,
|
except, except_name(except), pcprev, ea, cpu_state.pc, pcnext,
|
cpu_state.pc_delay, runtime.sim.cycles, runtime.cpu.instructions);
|
cpu_state.pc_delay, runtime.sim.cycles, runtime.cpu.instructions);
|
|
|
except_vector = except + (testsprbits (SPR_SR, SPR_SR_EPH) ? 0xf0000000 : 0x00000000);
|
except_vector = except + (cpu_state.sprs[SPR_SR] & SPR_SR_EPH ? 0xf0000000 : 0x00000000);
|
|
|
#if !(DYNAMIC_EXECUTION)
|
#if !(DYNAMIC_EXECUTION)
|
pcnext = except_vector;
|
pcnext = except_vector;
|
#endif
|
#endif
|
|
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.