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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [cpu.c] - Diff between revs 25 and 168

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

Rev 25 Rev 168
Line 425... Line 425...
          WR(reg2, mmuGetEntryLo());
          WR(reg2, mmuGetEntryLo());
          break;
          break;
        case 4:
        case 4:
          WR(reg2, mmuGetBadAddr());
          WR(reg2, mmuGetBadAddr());
          break;
          break;
 
        case 5:
 
          WR(reg2, mmuGetBadAccs());
 
          break;
        default:
        default:
          throwException(EXC_ILL_INSTRCT);
          throwException(EXC_ILL_INSTRCT);
          break;
          break;
      }
      }
      break;
      break;
Line 450... Line 453...
          mmuSetEntryLo(RR(reg2));
          mmuSetEntryLo(RR(reg2));
          break;
          break;
        case 4:
        case 4:
          mmuSetBadAddr(RR(reg2));
          mmuSetBadAddr(RR(reg2));
          break;
          break;
 
        case 5:
 
          mmuSetBadAccs(RR(reg2));
 
          break;
        default:
        default:
          throwException(EXC_ILL_INSTRCT);
          throwException(EXC_ILL_INSTRCT);
          break;
          break;
      }
      }
      break;
      break;

powered by: WebSVN 2.1.0

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