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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_2_x/] [or1ksim/] [testbench/] [except_test.c] - Diff between revs 997 and 1024

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

Rev 997 Rev 1024
Line 66... Line 66...
#define V_RANGE       11
#define V_RANGE       11
#define V_SYS         12
#define V_SYS         12
#define V_TRAP        14
#define V_TRAP        14
 
 
#if 1
#if 1
#define debug PRINTF
#define debug printf
#else
#else
#define debug
#define debug
#endif
#endif
 
 
/* Extern functions */
/* Extern functions */
Line 1096... Line 1096...
 
 
int main (void)
int main (void)
{
{
  int ret;
  int ret;
 
 
  PRINTF("except_test\n");
  printf("except_test\n");
 
 
  /* Register bus error handler */
  /* Register bus error handler */
  excpt_buserr = (unsigned long)bus_err_handler;
  excpt_buserr = (unsigned long)bus_err_handler;
 
 
  /* Register illegal insn handler */
  /* Register illegal insn handler */

powered by: WebSVN 2.1.0

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