interrupt bugfix 3
[calu.git] / cpu / src / decode_stage_b.vhd
index 37f6688e201885e57fb3d652cd0c097e262b7ed0..e57460946e55d1213020a75dbcd5fb8234011ed3 100644 (file)
@@ -180,7 +180,7 @@ end process;
 
 
 -- async process: calculates branch prediction
-br_pred: process(instr_spl, prog_cnt)
+br_pred: process(instr_spl, prog_cnt, reset)
 
 begin
 
@@ -196,6 +196,10 @@ begin
                branch_prediction_bit <= '1';
        end if;
 
+       if reset = RESET_VALUE then
+               branch_prediction_bit <= '0';
+       end if;
+
 end process;
 
 end behav;