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

Subversion Repositories or1k

[/] [or1k/] [tags/] [tn_m001/] [or1ksim/] [toplevel.c] - Diff between revs 335 and 336

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

Rev 335 Rev 336
Line 50... Line 50...
#include "coff.h"
#include "coff.h"
 
 
#include "gdbcomm.h"
#include "gdbcomm.h"
 
 
/* CVS revision number. */
/* CVS revision number. */
const char rcsrev[] = "$Revision: 1.42 $";
const char rcsrev[] = "$Revision: 1.43 $";
 
 
/* Continuos run versus single step tracing switch. */
/* Continuos run versus single step tracing switch. */
int cont_run;
int cont_run;
 
 
/* History of execution */
/* History of execution */
Line 261... Line 261...
        mc_reset();
        mc_reset();
        reset();
        reset();
 
 
        /* Wait till all test are connected.  */
        /* Wait till all test are connected.  */
        if (config.vapi.enabled) {
        if (config.vapi.enabled) {
          int numu = vapi_num_unconnected ();
          int numu = vapi_num_unconnected (0);
          if (numu) {
          if (numu) {
 
            printf ("\nWaiting for VAPI tests with ids:\n");
 
            vapi_num_unconnected (1);
            printf ("\n");
            printf ("\n");
            while (numu = vapi_num_unconnected ()) {
            while (numu = vapi_num_unconnected (0)) {
            printf ("\rWaiting for %i VAPI tests to connect.     ", numu);
              vapi_check ();
 
            printf ("\rStill waiting for %i VAPI test(s) to connect.       ", numu);
            usleep (100);
            usleep (100);
            }
            }
 
            printf ("\n");
          }
          }
          printf ("All devices connected                         \n");
          printf ("All devices connected                         \n");
        }
        }
}
}
 
 
Line 333... Line 337...
#endif
#endif
 
 
  /* Read configuration file.  */
  /* Read configuration file.  */
  read_script_file (config.script_file);
  read_script_file (config.script_file);
  print_config();
  print_config();
  signal(SIGINT, ctrl_c);
 
  sim_init ();
  sim_init ();
 
  signal(SIGINT, ctrl_c);
 
 
        while(1) {
        while(1) {
                if (config.sim.iprompt) {
                if (config.sim.iprompt) {
                  if (GDB_ENABLED)
                  if (GDB_ENABLED)
                    {
                    {

powered by: WebSVN 2.1.0

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