diff --git a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd index 8f15ecb..d2705a7 100644 --- a/lib/CPUs/MIPS/src/core/mips_pipeline.vhd +++ b/lib/CPUs/MIPS/src/core/mips_pipeline.vhd @@ -305,9 +305,9 @@ proc_stage_pc_next: end process; proc_stage_branch: - process(clk_1) + process(clk_2) begin - if falling_edge(clk_1) then + if rising_edge(clk_2) then if branch_ce = '1' then pc.branch_take <= '0'; if EX_stage.ctrl.branch = '1' then