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

Subversion Repositories ion

[/] [ion/] [trunk/] [tools/] [slite/] [src/] [slite.c] - Diff between revs 31 and 32

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

Rev 31 Rev 32
Line 621... Line 621...
    }
    }
 
 
    /* epc will point to the victim instruction, i.e. THIS instruction */
    /* epc will point to the victim instruction, i.e. THIS instruction */
    epc = s->pc;
    epc = s->pc;
 
 
 
    /* If we catch a jump instruction jumping to itself, assume we hit the
 
       and of the program and quit. */
 
    if(s->pc == s->pc_next+4){
 
        printf("\n\nEndless loop at 0x%08x\n\n", s->pc-4);
 
        s->wakeup = 1;
 
    }
    s->pc = s->pc_next;
    s->pc = s->pc_next;
    s->pc_next = s->pc_next + 4;
    s->pc_next = s->pc_next + 4;
    if(s->skip){
    if(s->skip){
        s->skip = 0;
        s->skip = 0;
        return;
        return;

powered by: WebSVN 2.1.0

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