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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [except_test.c] - Diff between revs 611 and 612

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

Rev 611 Rev 612
Line 372... Line 372...
  except_mask = 0;
  except_mask = 0;
  except_pc = 0;
  except_pc = 0;
  except_ea = 0;
  except_ea = 0;
 
 
  /* Test inetrrupt in delay slot */
  /* Test inetrrupt in delay slot */
  tick_init (10, 1);
  tick_init (100, 1);
 
 
  /* Hopefully we will have interrupt recognition between branch insn and delay slot */
  /* Hopefully we will have interrupt recognition between branch insn and delay slot */
  except_pc = (unsigned long)&int_loop;
  except_pc = (unsigned long)&int_loop;
  for (i = 0; i < 10; i++) {
  for (i = 0; i < 10; i++) {
    call_with_int (except_pc, RAM_START);
    call_with_int (except_pc, RAM_START);

powered by: WebSVN 2.1.0

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