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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [debug/] [debug_unit.c] - Diff between revs 269 and 378

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);

powered by: WebSVN 2.1.0

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