1
0

Removed sret from ptw; sret now comes thru io.cpu to dcache

This commit is contained in:
Christopher Celio
2015-03-03 16:50:41 -08:00
parent 5d07733057
commit 06dea3790a
4 changed files with 3 additions and 5 deletions

View File

@ -17,13 +17,11 @@ class TLBPTWIO extends CoreBundle {
val resp = Valid(new PTWResp).flip
val status = new Status().asInput
val invalidate = Bool(INPUT)
val sret = Bool(INPUT)
}
class DatapathPTWIO extends CoreBundle {
val ptbr = UInt(INPUT, paddrBits)
val invalidate = Bool(INPUT)
val sret = Bool(INPUT)
val status = new Status().asInput
}
@ -83,7 +81,6 @@ class PTW(n: Int) extends CoreModule
io.requestor(i).resp.bits.perm := r_pte(8,3)
io.requestor(i).resp.bits.ppn := resp_ppn.toUInt
io.requestor(i).invalidate := io.dpath.invalidate
io.requestor(i).sret := io.dpath.sret
io.requestor(i).status := io.dpath.status
}