



store buffer and write back
by jcaplan on Jul 11, 2013 |
jcaplan
Posts: 1 Joined: Jun 5, 2013 Last seen: Jan 10, 2015 |
||
Hello,
I've been playing around with the store buffer and write back and there are two strange things I've noticed happening. First, when running the mmu test, the function dtlb_dcache_test() does not work when writeback is enabled. I've tracked it down to this line: 1024: mtspr (/*SPR_DCR_BASE(0)*/ + SPR_DCBIR, ea); There is no error it just freezes. It does work when SPR_DCR_BASE(0) is uncommented. It works either way in writethrough. The second thing that happens is that if writeback and store buffer are implemented, there is an error at line 554 in dtlb_translation_test(). Nothing seems to be working properly. The very first condition tested fails. Does anybody know why these things are happening? Thanks, Jonah |



