URL
https://opencores.org/ocsvn/or1k/or1k/trunk
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 */
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.