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

Subversion Repositories or1k_old

[/] [or1k_old/] [tags/] [stable_0_2_0_rc3/] [or1ksim/] [debug/] [debug_unit.c] - Diff between revs 1537 and 1546

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

Rev 1537 Rev 1546
Line 65... Line 65...
static int calculate_watchpoints(DebugUnitAction action, unsigned long udata);
static int calculate_watchpoints(DebugUnitAction action, unsigned long udata);
 
 
void set_stall_state(int state)
void set_stall_state(int state)
{
{
#if DYNAMIC_EXECUTION
#if DYNAMIC_EXECUTION
 
  if(state)
  PRINTF("FIXME: Emulating a stalled cpu not implemented (in the dynamic execution model)\n");
  PRINTF("FIXME: Emulating a stalled cpu not implemented (in the dynamic execution model)\n");
#endif
#endif
  development.riscop &= ~RISCOP_STALL;
  development.riscop &= ~RISCOP_STALL;
  development.riscop |= state ? RISCOP_STALL : 0;
  development.riscop |= state ? RISCOP_STALL : 0;
  if(cpu_state.sprs[SPR_DMR1] & SPR_DMR1_DXFW) /* If debugger disabled */
  if(cpu_state.sprs[SPR_DMR1] & SPR_DMR1_DXFW) /* If debugger disabled */

powered by: WebSVN 2.1.0

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