Commit ab6edbb9 authored by Tristan Gingold's avatar Tristan Gingold

vme_funct_match: use standard way to write processes.

parent 1d0d3d91
......@@ -96,7 +96,7 @@
Instead of clearing the registers at every risinge_edge, and having null in
rst_n_i='0', please clear the registers when rst_n_i ='0' and add another
"else" if you want to clear them every time decode_start_i='0'.
OK.
Done.
- line 133:
What's this construction??:
mask(c_ADEM_M) := g_ADEM(s_function_sel)(c_ADEM_M);
......
......@@ -94,12 +94,10 @@ begin
process (clk_i)
begin
if rising_edge(clk_i) then
s_function_sel <= 0;
s_function_sel_valid <= '0';
s_decode_start_1 <= '0';
if rst_n_i = '0' then
null;
s_decode_start_1 <= '0';
s_function_sel <= 0;
s_function_sel_valid <= '0';
elsif decode_start_i = '1' then
s_decode_start_1 <= '1';
for i in 0 to 7 loop
......@@ -109,6 +107,10 @@ begin
exit;
end if;
end loop;
else
s_decode_start_1 <= '0';
s_function_sel <= 0;
s_function_sel_valid <= '0';
end if;
end if;
end process;
......
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