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

Subversion Repositories or1k

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

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

Rev 912 Rev 970
Line 156... Line 156...
  strcpy (config.cuc.timings_fn, "virtex.tim");
  strcpy (config.cuc.timings_fn, "virtex.tim");
  config.cuc.memory_order = MO_STRONG;
  config.cuc.memory_order = MO_STRONG;
  config.cuc.calling_convention = 1;
  config.cuc.calling_convention = 1;
  config.cuc.enable_bursts = 1;
  config.cuc.enable_bursts = 1;
  config.cuc.no_multicycle = 1;
  config.cuc.no_multicycle = 1;
 
 
 
  /* Test */
 
  config.test.enabled = 0;
 
 
#endif
#endif
 
 
  /* Configure runtime */
  /* Configure runtime */
  memset(&runtime, 0, sizeof(runtime));
  memset(&runtime, 0, sizeof(runtime));
 
 
Line 468... Line 472...
  {"pm",      0},
  {"pm",      0},
  {"vga",     0},
  {"vga",     0},
  {"fb",      0},
  {"fb",      0},
  {"kbd",     0},   /* 20 */
  {"kbd",     0},   /* 20 */
  {"ata",     0},
  {"ata",     0},
  {"cuc",     0}
  {"cuc",     0},
 
  {"test",    0}
};
};
 
 
/* *INDENT-OFF* */
/* *INDENT-OFF* */
 
 
/* Parameter definitions */
/* Parameter definitions */
Line 660... Line 665...
 
 
{22, "calling_convention","=%i",         NULL,          (void *)&config.cuc.calling_convention, 0},
{22, "calling_convention","=%i",         NULL,          (void *)&config.cuc.calling_convention, 0},
{22, "enable_bursts",     "=%i",         NULL,          (void *)&config.cuc.enable_bursts, 0},
{22, "enable_bursts",     "=%i",         NULL,          (void *)&config.cuc.enable_bursts, 0},
{22, "no_multicycle",     "=%i",         NULL,          (void *)&config.cuc.no_multicycle, 0},
{22, "no_multicycle",     "=%i",         NULL,          (void *)&config.cuc.no_multicycle, 0},
{22, "memory_order",      "=%s ",        cuc_memory_order, (void *)&tempS, 0},
{22, "memory_order",      "=%s ",        cuc_memory_order, (void *)&tempS, 0},
{22, "timings_fn",        "=\"%s\"",     NULL,          (void *)config.cuc.timings_fn}
{22, "timings_fn",        "=\"%s\"",     NULL,          (void *)config.cuc.timings_fn},
 
 
 
{23, "enabled",           "=%i",         NULL,          (void *)(&config.test.enabled), 0},
 
{23, "baseaddr",          "=0x%x",       NULL,          (void *)(&config.test.baseaddr), 0}
};
};
 
 
/* *INDENT-ON* */
/* *INDENT-ON* */
 
 
int current_device = -1;
int current_device = -1;

powered by: WebSVN 2.1.0

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