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 465 to Rev 466
    Reverse comparison

Rev 465 → Rev 466

/trunk/or1ksim/testbench/mmu.c
256,7 → 256,7
int i;
 
/* Get EA that cause the exception */
ea = mfspr (SPR_EPCR_BASE);
ea = mfspr (SPR_EEAR_BASE);
 
/* Find TLB set and LRU way */
set = (ea / PAGE_SIZE) % ITLB_SETS;
299,7 → 299,7
int i;
 
/* Get EA that cause the exception */
ea = mfspr (SPR_EPCR_BASE);
ea = mfspr (SPR_EEAR_BASE);
 
/* Find TLB set and way */
set = (ea / PAGE_SIZE) % ITLB_SETS;

powered by: WebSVN 2.1.0

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