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

Simplify TO_DP_ONE().

parent ffa27fed
Branches
No related tags found
1 merge request!293Rename eth_stream into eth_stream_udp. Create new eth_stream.vhd that contains...
......@@ -658,15 +658,13 @@ PACKAGE BODY dp_stream_pkg IS
END TO_DP_ARR;
FUNCTION TO_DP_ONE(sosi_arr : t_dp_sosi_arr) RETURN t_dp_sosi IS
VARIABLE v_sosi : t_dp_sosi := sosi_arr(0);
BEGIN
RETURN v_sosi;
RETURN sosi_arr(0);
END TO_DP_ONE;
FUNCTION TO_DP_ONE(siso_arr : t_dp_siso_arr) RETURN t_dp_siso IS
VARIABLE v_siso : t_dp_siso := siso_arr(0);
BEGIN
RETURN v_siso;
RETURN siso_arr(0);
END TO_DP_ONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment