Bypass scoreboard updates

This reduces div/mul/D$ miss latency by 1 cycle.
This commit is contained in:
Andrew Waterman committed 2013-08-24 14:44:04 -07:00
1 parent d4a0db4575
commit 52e31f3298
3 files changed
+28 -23

No files matched your search

+1 -1
View File
@@ -120,7 +120,7 @@ class TLB(entries: Int) extends Module
val sx_array = Reg(Bits()) // supervisor execute permission
when (io.ptw.resp.valid) {
tag_ram(r_refill_waddr) := io.ptw.resp.bits.ppn
val perm = (!io.ptw.resp.bits.error).toSInt & io.ptw.resp.bits.perm(5,0)
val perm = (!io.ptw.resp.bits.error).toSInt & io.ptw.resp.bits.perm
ur_array := ur_array.bitSet(r_refill_waddr, perm(0))
uw_array := uw_array.bitSet(r_refill_waddr, perm(1))
ux_array := ux_array.bitSet(r_refill_waddr, perm(2))