From 064c9ebdc633dc21748a12af761e0ebe4ab21941 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Tue, 4 Oct 2016 14:36:58 -0700 Subject: [PATCH] Don't report I$ fetch faults on TLB misses! --- src/main/scala/rocket/frontend.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/rocket/frontend.scala b/src/main/scala/rocket/frontend.scala index 9adaf40e..cb22bd48 100644 --- a/src/main/scala/rocket/frontend.scala +++ b/src/main/scala/rocket/frontend.scala @@ -77,7 +77,7 @@ class Frontend(implicit p: Parameters) extends CoreModule()(p) with HasL1CachePa s2_pc := s1_pc s2_speculative := s1_speculative s2_cacheable := tlb.io.resp.cacheable - s2_xcpt_if := tlb.io.resp.xcpt_if + s2_xcpt_if := tlb.io.resp.xcpt_if && !tlb.io.resp.miss } } when (io.cpu.req.valid) {