From c861c4925eb9c5598ed909ce234736d0b9c3a4fd Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 4 Apr 2017 12:01:59 -0700 Subject: [PATCH] Don't signal access exceptions on invalid PTEs The PPN should not be interpreted in this case. --- src/main/scala/rocket/PTW.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/rocket/PTW.scala b/src/main/scala/rocket/PTW.scala index 25b89c6d..cbce2181 100644 --- a/src/main/scala/rocket/PTW.scala +++ b/src/main/scala/rocket/PTW.scala @@ -184,7 +184,7 @@ class PTW(n: Int)(implicit edge: TLEdgeOut, p: Parameters) extends CoreModule()( state := s_req count := count + 1 }.otherwise { - resp_ae := invalid_paddr + resp_ae := pte.v && invalid_paddr state := s_ready resp_valid(r_req_dest) := true }