diff --git a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd index 0264e29..079c1b3 100644 --- a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd +++ b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd @@ -303,12 +303,13 @@ proc_stage_pc_next: process(clk_1) begin if rising_edge(clk_1) then - branch_ce <= '0'; cop_ctrl.exc_left <= '0'; if rst = '1' then pc.nxt <= pc.curr; pc.last <= pc.curr; + branch_ce <= '1'; else + branch_ce <= '0'; if cop_stat.exc_commit = '1' then pc.nxt <= cop_stat.exc_vec; elsif sdu.ID_stall = '0' then