diff --git a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd index e9521c3..8b5ea45 100644 --- a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd +++ b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd @@ -280,7 +280,7 @@ proc_stage_branch_ce: branch_ce <= '1'; else branch_ce <= c0_ctrl_in.exc_pending; - if sdu.ID_stall = '0' then + if sdu.ID_stall = '0' and c0_ctrl_in.exc_inject = '0' then branch_ce <= '1'; end if; end if;