diff --git a/lib/CPUs/MIPS/src/core/mips_cop.vhd b/lib/CPUs/MIPS/src/core/mips_cop.vhd index 48c3878..34da7f1 100644 --- a/lib/CPUs/MIPS/src/core/mips_cop.vhd +++ b/lib/CPUs/MIPS/src/core/mips_cop.vhd @@ -347,7 +347,12 @@ cop_register_read: reg := (others => '-'); end case; - dout <= reg after 2 ns; + + -- Output latch + if cop_pipe_EX.re = '1' then + dout <= reg after 2 ns; + end if; + end process; cop_we_gen: