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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_61/] [or1ksim/] [sim-config.c] - Diff between revs 876 and 883

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

Rev 876 Rev 883
Line 161... Line 161...
  runtime.sim.iprompt = 0;
  runtime.sim.iprompt = 0;
  runtime.sim.fprof = NULL;
  runtime.sim.fprof = NULL;
  runtime.sim.fmprof = NULL;
  runtime.sim.fmprof = NULL;
  runtime.sim.init = 1;
  runtime.sim.init = 1;
  runtime.sim.script_file_specified = 0;
  runtime.sim.script_file_specified = 0;
 
  runtime.simcmd.profile = 0;
 
  runtime.simcmd.mprofile = 0;
 
 
  /* VAPI */
  /* VAPI */
  runtime.vapi.vapi_file = NULL;
  runtime.vapi.vapi_file = NULL;
  runtime.vapi.enabled = 0;
  runtime.vapi.enabled = 0;
}
}
Line 220... Line 222...
    if (strcmp(*argv, "-v") == 0) {
    if (strcmp(*argv, "-v") == 0) {
      version();
      version();
      exit(0);
      exit(0);
    } else
    } else
#if !FAST_SIM
#if !FAST_SIM
    if (strcmp(*argv, "--profile") == 0) {
    if (strcmp(*argv, "--enable-profile") == 0) {
      config.sim.profile = 1;
      runtime.simcmd.profile = 1;
      argv++; argc--;
      argv++; argc--;
    } else
    } else
    if (strcmp(*argv, "--mprofile") == 0) {
    if (strcmp(*argv, "--enable-mprofile") == 0) {
      config.sim.mprofile = 1;
      runtime.simcmd.mprofile = 1;
      argv++; argc--;
      argv++; argc--;
    } else
    } else
#endif
#endif
    if (strcmp(*argv, "--output-cfg") == 0) {
    if (strcmp(*argv, "--output-cfg") == 0) {
      runtime.sim.output_cfg = 1;
      runtime.sim.output_cfg = 1;

powered by: WebSVN 2.1.0

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