From 2b8e5f1dade14f9d6061a4d4df87427f62249e18 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Thu, 16 Jul 2020 18:13:43 +0100 Subject: [PATCH] FetchStage: Inline unnecessary local variable --- src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv index b713377..66887fc 100644 --- a/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv +++ b/src_Core/RISCY_OOO/procs/RV64G_OOO/FetchStage.bsv @@ -917,7 +917,6 @@ module mkFetchStage(FetchStage); cause: decodeIn.cause }; let cause = in.cause; - Addr tval = decodeIn.tval; if (verbose) $display("Decode: %0d in = ", i, fshow (in)); @@ -1032,7 +1031,7 @@ module mkFetchStage(FetchStage); orig_inst: inst_data[i].orig_inst, regs: decode_result.regs, cause: cause, - tval: tval + tval: decodeIn.tval `ifdef RVFI_DII , diid: fromMaybe(?,ids[i]) `endif