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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_68/] [or1ksim/] [pic/] [pic.c] - Diff between revs 188 and 261

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

Rev 188 Rev 261
Line 41... Line 41...
        mtspr(SPR_PICSR, 0);
        mtspr(SPR_PICSR, 0);
}
}
 
 
/* Simulation hook. Must be called every clock cycle to simulate PIC
/* Simulation hook. Must be called every clock cycle to simulate PIC
   It does internal functional PIC simulation. */
   It does internal functional PIC simulation. */
void pic_clock()
inline void pic_clock()
{
{
  unsigned long picsr;
  unsigned long picsr;
  unsigned long picpr;
  unsigned long picpr;
  unsigned long sr;
  unsigned long sr;
 
 

powered by: WebSVN 2.1.0

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