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

Corrected missing RETURN in function, this only showed at simulation run time...

Corrected missing RETURN in function, this only showed at simulation run time in Modelsim, not at compile time.
parent 5c87771a
Branches
No related tags found
2 merge requests!148L2SDP-495,!146Prepared dp_bsn_align_v2.vhd (still empty) and mmp_, tb_ and tb_mmp_ files,...
...@@ -207,6 +207,7 @@ PACKAGE BODY common_mem_pkg IS ...@@ -207,6 +207,7 @@ PACKAGE BODY common_mem_pkg IS
FOR I IN copi_arr'RANGE LOOP FOR I IN copi_arr'RANGE LOOP
v_copi_arr(I) := RESET_MEM_COPI_CTRL(copi_arr(I)); v_copi_arr(I) := RESET_MEM_COPI_CTRL(copi_arr(I));
END LOOP; END LOOP;
RETURN v_copi_arr;
END; END;
FUNCTION RESET_MEM_MISO_CTRL(miso : t_mem_miso) RETURN t_mem_miso IS FUNCTION RESET_MEM_MISO_CTRL(miso : t_mem_miso) RETURN t_mem_miso IS
...@@ -228,6 +229,7 @@ PACKAGE BODY common_mem_pkg IS ...@@ -228,6 +229,7 @@ PACKAGE BODY common_mem_pkg IS
FOR I IN cipo_arr'RANGE LOOP FOR I IN cipo_arr'RANGE LOOP
v_cipo_arr(I) := RESET_MEM_CIPO_CTRL(cipo_arr(I)); v_cipo_arr(I) := RESET_MEM_CIPO_CTRL(cipo_arr(I));
END LOOP; END LOOP;
RETURN v_cipo_arr;
END RESET_MEM_CIPO_CTRL; END RESET_MEM_CIPO_CTRL;
-- Resize functions to fit an integer or an SLV in the corresponding t_mem_miso or t_mem_mosi field width -- Resize functions to fit an integer or an SLV in the corresponding t_mem_miso or t_mem_mosi field width
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment