提交 a11ea8d0 编写于 作者: J JinYue 提交者: Lingrui98

ICacheMainPipe <bug-fix>: fix tlb resp condition

* when TLB req has been latched into tlb_slot, the
tlb_all_resp condition, which affects s0_fire should
depend on the slot result.
上级 38912d0e
......@@ -193,7 +193,7 @@ class ICacheMainPipe(implicit p: Parameters) extends ICacheModule
val tlb_has_miss = tlb_miss_vec.reduce(_||_)
val tlb_resp = Wire(Vec(2, Bool()))
tlb_resp(0) := !fromITLB(0).bits.miss
tlb_resp(1) := !fromITLB(1).bits.miss || !s0_double_line
tlb_resp(1) := !fromITLB(1).bits.miss || !s0_final_double_line
val tlb_all_resp = tlb_resp.reduce(_&&_)
when(tlb_has_miss && !tlb_slot.valid){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册