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 1457 and 1471

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

Rev 1457 Rev 1471
Line 64... Line 64...
 
 
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
 
  PRINTF("FIXME: Emulating a stalled cpu not implemented (in the dynamic execution model)\n");
 
#endif
  development.riscop &= ~RISCOP_STALL;
  development.riscop &= ~RISCOP_STALL;
  development.riscop |= state ? RISCOP_STALL : 0;
  development.riscop |= state ? RISCOP_STALL : 0;
  if(testsprbits(SPR_DMR1, SPR_DMR1_DXFW)) /* If debugger disabled */
  if(testsprbits(SPR_DMR1, SPR_DMR1_DXFW)) /* If debugger disabled */
    state = 0;
    state = 0;
  runtime.cpu.stalled = state;
  runtime.cpu.stalled = state;

powered by: WebSVN 2.1.0

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