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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_49/] [or1ksim/] [cpu/] [common/] [stats.c] - Diff between revs 167 and 221

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

Rev 167 Rev 221
Line 161... Line 161...
void slp_checkaccess(unsigned long addr, char type)
void slp_checkaccess(unsigned long addr, char type)
{
{
        if (!config.slp)
        if (!config.slp)
                return;
                return;
 
 
        if ((addr < (MEMORY_START + MEMORY_LEN - 4000)) &&
        if (/*(addr < (MEMORY_START + MEMORY_LEN - 4000)) &&  MM1709: we have no knowledge of this anymore */
            slp_stats.supercnt && (type == SLP_MEMWRITE)) {
            slp_stats.supercnt && (type == SLP_MEMWRITE)) {
                slp_stats.supercalls++;
                slp_stats.supercalls++;
                slp_stats.supercnt = 0;
                slp_stats.supercnt = 0;
        }
        }
}
}

powered by: WebSVN 2.1.0

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