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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [peripheral/] [gpio.c] - Diff between revs 1383 and 1390

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

Rev 1383 Rev 1390
Line 220... Line 220...
        gpio->next.ctrl |= RGPIO_CTRL_INTS;
        gpio->next.ctrl |= RGPIO_CTRL_INTS;
        gpio->next.ints |= relevant_bits & gpio->next.inte;
        gpio->next.ints |= relevant_bits & gpio->next.inte;
        /* Since we can't report an interrupt during a readmem/writemem
        /* Since we can't report an interrupt during a readmem/writemem
         * schedule the scheduler to do it.  Read the comment above
         * schedule the scheduler to do it.  Read the comment above
         * report_interrupt in pic/pic.c */
         * report_interrupt in pic/pic.c */
        SCHED_ADD( gpio_do_int, gpio, runtime.sim.cycles + 1 );
        SCHED_ADD( gpio_do_int, gpio, 1 );
      }
      }
    }
    }
  }
  }
 
 
  /* Switch to values for next clock */
  /* Switch to values for next clock */

powered by: WebSVN 2.1.0

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