From 9cbdecb561e61aa76a4e52a54e9b474a9233b418 Mon Sep 17 00:00:00 2001 From: Anton Blanchard Date: Mon, 9 Sep 2019 22:16:11 +1000 Subject: [PATCH] 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 --- cr_file.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;