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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [test-code/] [lib-upcalls/] [lib-upcalls.c] - Diff between revs 220 and 458

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

Rev 220 Rev 458
Line 355... Line 355...
      switch (or1ksim_run (1.0e-3))
      switch (or1ksim_run (1.0e-3))
        {
        {
        case OR1KSIM_RC_OK:
        case OR1KSIM_RC_OK:
          break;
          break;
 
 
 
        case OR1KSIM_RC_HALTED:
 
          printf ("Test completed successfully: hit exit l.nop.\n");
 
          return  0;
 
 
        case OR1KSIM_RC_BRKPT:
        case OR1KSIM_RC_BRKPT:
          printf ("Test completed successfully: hit breakpoint.\n");
          printf ("Test completed successfully: hit breakpoint.\n");
          return  0;
          return  0;
 
 
        default:
        default:
Line 373... Line 377...
    {
    {
    case OR1KSIM_RC_OK:
    case OR1KSIM_RC_OK:
      printf ("Test completed successfully: All upcalls processed.\n");
      printf ("Test completed successfully: All upcalls processed.\n");
      return  0;
      return  0;
 
 
 
    case OR1KSIM_RC_HALTED:
 
      printf ("Test completed successfully: hit exit l.nop.\n");
 
      return  0;
 
 
    case OR1KSIM_RC_BRKPT:
    case OR1KSIM_RC_BRKPT:
      printf ("Test completed successfully: hit breakpoint.\n");
      printf ("Test completed successfully: hit breakpoint.\n");
      return  0;
      return  0;
 
 
    default:
    default:

powered by: WebSVN 2.1.0

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