From 1249a11349af27a7b013713a17da6b823d1c7951 Mon Sep 17 00:00:00 2001 From: Benjamin Herrenschmidt Date: Wed, 30 Oct 2019 13:26:43 +1100 Subject: [PATCH] cr_file: Check write_cr_enable Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Paul Mackerras --- cr_file.vhdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cr_file.vhdl b/cr_file.vhdl index fa56dd9..d8ce230 100644 --- a/cr_file.vhdl +++ b/cr_file.vhdl @@ -43,8 +43,8 @@ begin if rising_edge(clk) then if w_in.write_cr_enable = '1' then report "Writing " & to_hstring(w_in.write_cr_data) & " to CR mask " & to_hstring(w_in.write_cr_mask); + crs <= crs_updated; end if; - crs <= crs_updated; end if; end process; -- 2.30.2