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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [debug/] [debug-unit.c] - Diff between revs 235 and 532

Show entire file | Details | Blame | View Log

Rev 235 Rev 532
Line 134... Line 134...
  development[DEVELOPINT_RISCOP] &= ~RISCOP_STALL;
  development[DEVELOPINT_RISCOP] &= ~RISCOP_STALL;
  development[DEVELOPINT_RISCOP] |= state ? RISCOP_STALL : 0;
  development[DEVELOPINT_RISCOP] |= state ? RISCOP_STALL : 0;
 
 
  runtime.cpu.stalled             = state;
  runtime.cpu.stalled             = state;
 
 
  /* If we unstall, any changed NPC becomes valid again */
  /* If we unstall, any changed NPC becomes valid again and we cannot be
 
     halted. */
 
 
  if (!runtime.cpu.stalled)
  if (!runtime.cpu.stalled)
    {
    {
      cpu_state.npc_not_valid = 0;
      cpu_state.npc_not_valid = 0;
 
      runtime.cpu.halted      = 0;
    }
    }
}       /* set_stall_state () */
}       /* set_stall_state () */
 
 
 
 
/*---------------------------------------------------------------------------*/
/*---------------------------------------------------------------------------*/

powered by: WebSVN 2.1.0

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