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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [cuc/] [cuc.c] - Diff between revs 224 and 230

Show entire file | Details | Blame | View Log

Rev 224 Rev 230
Line 590... Line 590...
  assert (fo = fopen (out_fn, "wt+"));
  assert (fo = fopen (out_fn, "wt+"));
 
 
  do
  do
    {
    {
      unsigned long d = eval_direct32 (a, 0, 0);
      unsigned long d = eval_direct32 (a, 0, 0);
      int index = insn_decode (d);
      int index = or1ksim_insn_decode (d);
      assert (index >= 0);
      assert (index >= 0);
      if (x)
      if (x)
        x++;
        x++;
      if (strcmp (insn_name (index), "l.jr") == 0)
      if (strcmp (or1ksim_insn_name (index), "l.jr") == 0)
        x = 1;
        x = 1;
      a += 4;
      a += 4;
      fprintf (fo, "%08lx\n", d);
      fprintf (fo, "%08lx\n", d);
    }
    }
  while (x < 2);
  while (x < 2);

powered by: WebSVN 2.1.0

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