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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cuc/] [cuc.c] - Diff between revs 1062 and 1098

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

Rev 1062 Rev 1098
Line 695... Line 695...
          }
          }
      for (i = 0; i < prof_nfuncs; i++)
      for (i = 0; i < prof_nfuncs; i++)
        if (func[i] && func_v[i]) generate_function (func[i], prof_func[i].name, filename_cut);
        if (func[i] && func_v[i]) generate_function (func[i], prof_func[i].name, filename_cut);
      generate_main (prof_nfuncs, func, filename_cut);
      generate_main (prof_nfuncs, func, filename_cut);
 
 
 
      /* list command */
 
    } else if (strcmp (tmp1, "l") == 0 || strcmp (tmp1, "list") == 0) {
 
      /* check for function dependencies */
 
      for (i = 0; i < prof_nfuncs; i++)
 
        if (func_v[i]) {
 
          PRINTF ("%s\n", prof_func[j].name);
 
        }
 
 
      /* selectall command */
      /* selectall command */
    } else if (strcmp (tmp1, "sa") == 0 || strcmp (tmp1, "selectall") == 0) {
    } else if (strcmp (tmp1, "sa") == 0 || strcmp (tmp1, "selectall") == 0) {
      char tmp[50], ch;
      char tmp[50], ch;
      int p, o, b, f;
      int p, o, b, f;
      for (f = 0; f < prof_nfuncs; f++) if (func[f]) {
      for (f = 0; f < prof_nfuncs; f++) if (func[f]) {
Line 801... Line 809...
      PRINTF ("  d | debug #                sets debug level (0-9)\n");
      PRINTF ("  d | debug #                sets debug level (0-9)\n");
      PRINTF ("  o | options                displays available options\n");
      PRINTF ("  o | options                displays available options\n");
      PRINTF ("  s | select func [option]   selects an option/function\n");
      PRINTF ("  s | select func [option]   selects an option/function\n");
      PRINTF ("  u | unselect func [option] unselects an option/function\n");
      PRINTF ("  u | unselect func [option] unselects an option/function\n");
      PRINTF ("  g | generate               generates verilog file\n");
      PRINTF ("  g | generate               generates verilog file\n");
 
      PRINTF ("  l | list                   displays selected functions\n");
    }
    }
  }
  }
 
 
  /* Dispose memory */
  /* Dispose memory */
  for (i = 0; i < prof_nfuncs -1; i++)
  for (i = 0; i < prof_nfuncs -1; i++)

powered by: WebSVN 2.1.0

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