Skip to content
Snippets Groups Projects
Commit 61c0b46d authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Corrected default assignment of nxt_snk_in_reg_arr to avoid latch on [3].

parent c49d50a8
No related branches found
No related tags found
No related merge requests found
...@@ -250,9 +250,11 @@ BEGIN ...@@ -250,9 +250,11 @@ BEGIN
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
p_nxt_snk_in_reg_arr: PROCESS(snk_in, snk_in_data, snk_in_reg_arr) IS p_nxt_snk_in_reg_arr: PROCESS(snk_in, snk_in_data, snk_in_reg_arr) IS
BEGIN BEGIN
FOR i IN 0 TO c_shiftreg_depth-1 LOOP nxt_snk_in_reg_arr <= snk_in_reg_arr;
nxt_snk_in_reg_arr(i) <= c_dp_sosi_rst; nxt_snk_in_reg_arr(3).valid <= '0';
END LOOP; --FOR i IN 0 TO c_shiftreg_depth-1 LOOP
-- nxt_snk_in_reg_arr(i) <= c_dp_sosi_rst;
--END LOOP;
IF snk_in.valid='1' THEN IF snk_in.valid='1' THEN
-- The base function is a shift register -- The base function is a shift register
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment