Commit d19a7524 authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.

Merge branch '172-code-coverage-improvements' into 'master'

Resolve "Code coverage improvements"

Closes #172

See merge request illeondr/CAN_FD_IP_Core!132
parents c2b193c1 1222a816
Pipeline #1623 passed with stages
in 6 minutes and 5 seconds
......@@ -64,8 +64,10 @@ package body endian_swap is
) return std_logic_vector is
if (input'length /= 32) then
report "Invalid input length to endian swap" severity error;
return x"00000000";
return input(7 downto 0) &
input(15 downto 8) &
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