URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 269 |
Rev 378 |
Line 564... |
Line 564... |
/* Assume that a write to the PC implies
|
/* Assume that a write to the PC implies
|
that the debugging software has recognized
|
that the debugging software has recognized
|
the exception and wants to do something
|
the exception and wants to do something
|
else instead. */
|
else instead. */
|
|
|
if(address == SPR_PC)
|
if(address == SPR_NPC)
|
{
|
{
|
ClearPendingException();
|
ClearPendingException();
|
ClearPreparedPCState();
|
ClearPreparedPCState();
|
}
|
}
|
mtspr(address,data);
|
mtspr(address,data);
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.