Fix CR forwarding
authorAnton Blanchard <anton@linux.ibm.com>
Mon, 9 Sep 2019 12:16:11 +0000 (22:16 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Mon, 9 Sep 2019 12:16:11 +0000 (22:16 +1000)
We weren't actually forwarding writes in the same cycle. Not a
problem right now, but noticed when testing the pipelining series.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
cr_file.vhdl

index 51b348e016434a46e12ae7a736d7fda651fab0fb..8ad85708eee988eff7ece7cca89589c5c35ed8ba 100644 (file)
@@ -55,6 +55,6 @@ begin
                if d_in.read = '1' then
                        report "Reading CR " & to_hstring(crs_updated);
                end if;
-               d_out.read_cr_data <= crs;
+               d_out.read_cr_data <= crs_updated;
        end process;
 end architecture behaviour;