1
0

fix bug in tlb refill

This commit is contained in:
Howard Mao 2015-09-26 21:27:36 -07:00
parent 6bf8f41cef
commit 4bda6b6757

View File

@ -191,7 +191,7 @@ class TLB extends TLBModule {
io.ptw.req.bits.store := r_req.store
io.ptw.req.bits.fetch := r_req.instruction
when (io.req.fire() && tlb_miss && addr_ok) {
when (io.req.fire() && tlb_miss) {
state := s_request
r_refill_tag := lookup_tag
r_refill_waddr := repl_waddr