Reformat cr_file
authorAnton Blanchard <anton@linux.ibm.com>
Sun, 21 Mar 2021 23:07:33 +0000 (10:07 +1100)
committerAnton Blanchard <anton@ozlabs.org>
Sun, 21 Mar 2021 23:15:03 +0000 (10:15 +1100)
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
cr_file.vhdl

index 3e6566378596249ebbded8e0ad5941b4f359793f..e9788cb29ef07f9023550127f0a19d7e689a8a81 100644 (file)
@@ -48,11 +48,11 @@ begin
 
         crs_updated <= cr_tmp;
 
-       if w_in.write_xerc_enable = '1' then
-           xerc_updated <= w_in.write_xerc_data;
-       else
-           xerc_updated <= xerc;
-       end if;
+        if w_in.write_xerc_enable = '1' then
+            xerc_updated <= w_in.write_xerc_data;
+        else
+            xerc_updated <= xerc;
+        end if;
 
     end process;
 
@@ -62,12 +62,12 @@ 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;
+                crs <= crs_updated;
             end if;
-           if w_in.write_xerc_enable = '1' then
+            if w_in.write_xerc_enable = '1' then
                 report "Writing XERC";
-               xerc <= xerc_updated;
-           end if;
+                xerc <= xerc_updated;
+            end if;
         end if;
     end process;
 
@@ -87,7 +87,7 @@ begin
         begin
             if sim_dump = '1' then
                 report "CR 00000000" & to_hstring(crs);
-               assert false report "end of test" severity failure;
+                assert false report "end of test" severity failure;
             end if;
         end process;
     end generate;