Use TLB flush signal to I$ explicitly
This commit is contained in:
parent
84fd45fd77
commit
5dbf9640e2
@ -106,7 +106,7 @@ class Frontend(implicit p: Parameters) extends CoreModule()(p) with HasL1CachePa
|
|||||||
icache.io.req.bits.idx := io.cpu.npc
|
icache.io.req.bits.idx := io.cpu.npc
|
||||||
icache.io.invalidate := io.cpu.flush_icache
|
icache.io.invalidate := io.cpu.flush_icache
|
||||||
icache.io.s1_ppn := tlb.io.resp.ppn
|
icache.io.s1_ppn := tlb.io.resp.ppn
|
||||||
icache.io.s1_kill := io.cpu.req.valid || tlb.io.resp.miss || tlb.io.resp.xcpt_if || icmiss || io.ptw.invalidate
|
icache.io.s1_kill := io.cpu.req.valid || tlb.io.resp.miss || tlb.io.resp.xcpt_if || icmiss || io.cpu.flush_tlb
|
||||||
|
|
||||||
io.cpu.resp.valid := s2_valid && (s2_xcpt_if || s2_resp_valid)
|
io.cpu.resp.valid := s2_valid && (s2_xcpt_if || s2_resp_valid)
|
||||||
io.cpu.resp.bits.pc := s2_pc
|
io.cpu.resp.bits.pc := s2_pc
|
||||||
|
Loading…
Reference in New Issue
Block a user