URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
Compare Revisions
- This comparison shows the changes necessary to convert path
/eco32/trunk
- from Rev 202 to Rev 203
- ↔ Reverse comparison
Rev 202 → Rev 203
/sim/mmu.c
67,6 → 67,7
mmuBadAddr = vAddr; |
throwException(EXC_PRV_ADDRESS); |
} |
updateRandomIndex(); |
if ((vAddr & 0xC0000000) == 0xC0000000) { |
/* unmapped address space */ |
/* simulate delay introduced by assoc when using mapped |
75,7 → 76,6
pAddr = vAddr & ~0xC0000000; |
} else { |
/* mapped address space */ |
updateRandomIndex(); |
page = vAddr & PAGE_MASK; |
offset = vAddr & OFFSET_MASK; |
index = assoc(page); |