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

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 881 to Rev 882
    Reverse comparison

Rev 881 → Rev 882

/trunk/or1ksim/cpu/common/abstract.c
112,8 → 112,8
(*pptmp)->readfunc = readfunc;
(*pptmp)->writefunc = writefunc;
(*pptmp)->log = 0;
(*pptmp)->delayr = 1;
(*pptmp)->delayw = 1;
(*pptmp)->delayr = 2;
(*pptmp)->delayw = 2;
(*pptmp)->next = NULL;
}
 
158,6 → 158,15
return cur_area = NULL;
}
 
/* Finds the memory area for the address and adjust the read and write delays for it. */
void adjust_rw_delay(unsigned long memaddr, unsigned long delayr, unsigned long delayw)
{
if (verify_memoryarea(memaddr)) {
cur_area->delayr = delayr;
cur_area->delayw = delayw;
}
}
 
inline unsigned long evalsim_mem32(unsigned long memaddr)
{
unsigned long temp;
/trunk/or1ksim/cpu/common/abstract.h
119,6 → 119,9
unsigned long (readfunc)(unsigned long),
void (writefunc)(unsigned long, unsigned long));
 
/* Finds the memory area for the address and adjust the read and write delays for it. */
void adjust_rw_delay(unsigned long memaddr, unsigned long delayr, unsigned long delayw);
 
/* Check if access is to registered area of memory. */
struct dev_memarea *verify_memoryarea(unsigned long addr);
 

powered by: WebSVN 2.1.0

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