FetchStage: Inline unnecessary local variable

This commit is contained in:
Jessica Clarke
2020-07-16 18:13:43 +01:00
parent 5efd7d5cd8
commit 2b8e5f1dad

View File

@@ -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