From: Anton Blanchard Date: Mon, 9 Sep 2019 12:16:11 +0000 (+1000) Subject: Fix CR forwarding X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9cbdecb561e61aa76a4e52a54e9b474a9233b418;p=microwatt.git Fix CR forwarding 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 --- diff --git a/cr_file.vhdl b/cr_file.vhdl index 51b348e..8ad8570 100644 --- a/cr_file.vhdl +++ b/cr_file.vhdl @@ -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;