Commit 10adb5c6 authored by Tristan Gingold's avatar Tristan Gingold

Fix minor style issues.

parent 36ef1f9b
......@@ -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
......
......@@ -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';
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment