From a569aede23cba8d78e08b53167496a3b404a5ae1 Mon Sep 17 00:00:00 2001 From: Florian Zaruba Date: Sat, 26 Aug 2017 10:20:10 +0200 Subject: [PATCH] Flag excepting instruction as valid --- src/decoder.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder.sv b/src/decoder.sv index 164b36e6e..8b7f54489 100644 --- a/src/decoder.sv +++ b/src/decoder.sv @@ -507,7 +507,7 @@ module decoder ( // --------------------- always_comb begin : exception_handling instruction_o.ex = ex_i; - instruction_o.valid = 1'b0; + instruction_o.valid = ex_i.valid; // look if we didn't already get an exception in any previous // stage - we should not overwrite it as we retain order regarding the exception if (~ex_i.valid) begin