From 10adb5c6514cf72b8b39847edd101b4bbf0d07e3 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 19 Oct 2017 11:07:24 +0200 Subject: [PATCH] Fix minor style issues. --- hdl/rtl/VME_CR_CSR_Space.vhd | 7 ++++--- hdl/rtl/VME_Funct_Match.vhd | 3 ++- hdl/rtl/VME_bus.vhd | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/hdl/rtl/VME_CR_CSR_Space.vhd b/hdl/rtl/VME_CR_CSR_Space.vhd index 9997314..d4e05e0 100644 --- a/hdl/rtl/VME_CR_CSR_Space.vhd +++ b/hdl/rtl/VME_CR_CSR_Space.vhd @@ -535,7 +535,8 @@ begin s_cram_waddr <= s_addr - c_BEG_CRAM; s_cram_data <= s_cram(to_integer(s_cram_raddr) mod c_CRAM_SIZE); - process (clk_i) begin + process (clk_i) + begin if rising_edge(clk_i) then if s_cram_we = '1' then s_cram(to_integer(s_cram_waddr)) <= data_i; @@ -592,8 +593,8 @@ begin s_csr_access, s_csr_data, s_cram_access, s_cram_data, s_user_cr_access, user_cr_data_i, - s_user_csr_access, user_csr_data_i - ) begin + s_user_csr_access, user_csr_data_i) + begin if s_cr_access = '1' then data_o <= s_cr_data; elsif s_csr_access = '1' then diff --git a/hdl/rtl/VME_Funct_Match.vhd b/hdl/rtl/VME_Funct_Match.vhd index 0642120..fb654ff 100644 --- a/hdl/rtl/VME_Funct_Match.vhd +++ b/hdl/rtl/VME_Funct_Match.vhd @@ -89,7 +89,8 @@ begin ------------------------------------------------------------------------------ -- Function priority encoder ------------------------------------------------------------------------------ - process (clk_i) begin + process (clk_i) + begin if rising_edge(clk_i) then s_function_sel <= 0; s_function_sel_valid <= '0'; diff --git a/hdl/rtl/VME_bus.vhd b/hdl/rtl/VME_bus.vhd index 9c9fdac..5f192a1 100644 --- a/hdl/rtl/VME_bus.vhd +++ b/hdl/rtl/VME_bus.vhd @@ -521,8 +521,8 @@ begin s_locDataIn(32) <= s_LWORDlatched_n; s_locDataIn(31 downto 0) <= s_vme_data_reg; if s_vme_lword_n_reg = '1' and s_vme_addr_reg(1) = '0' then - -- Word/byte access with A1=0 - s_locDataIn(31 downto 16) <= s_vme_data_reg(15 downto 0); + -- Word/byte access with A1=0 + s_locDataIn(31 downto 16) <= s_vme_data_reg(15 downto 0); end if; -- Translate DS+LWORD+ADDR to WB byte selects -- 2.18.1