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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_72/] [or1ksim/] [cache/] [dcache_model.c] - Diff between revs 167 and 261

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

Rev 167 Rev 261
Line 207... Line 207...
        if ((way >= 0) && (getsprbits(SPR_DCCR, SPR_DCCR_EW) & (1 << way))) { /* Yes, we did. */
        if ((way >= 0) && (getsprbits(SPR_DCCR, SPR_DCCR_EW) & (1 << way))) { /* Yes, we did. */
                dc[set].way[way].tagaddr = -1;
                dc[set].way[way].tagaddr = -1;
        }
        }
}
}
 
 
void dc_clock()
inline void dc_clock()
{
{
        unsigned long addr;
        unsigned long addr;
 
 
        if (addr = mfspr(SPR_DCBPR)) {
        if (addr = mfspr(SPR_DCBPR)) {
                dc_simulate_read(addr);
                dc_simulate_read(addr);

powered by: WebSVN 2.1.0

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