Skip to content
Snippets Groups Projects
Commit 6aa8e458 authored by Dimitris Lampridis's avatar Dimitris Lampridis
Browse files

Merge branch 'hotfix-sdb_commit_id_reversed_nibbles'

parents 4ec58596 2943524e
Branches
Tags
No related merge requests found
......@@ -1794,7 +1794,11 @@ package body wishbone_pkg is
when 'F' => nibble := X"F";
when others => nibble := "XXXX";
end case;
slv(((i+1)*4)-1 downto i*4) := nibble;
if s'ascending then
slv(slv'length-(i*4)-1 downto slv'length-(i+1)*4) := nibble;
else
slv(((i+1)*4)-1 downto i*4) := nibble;
end if;
end loop;
return slv;
end f_string2bits;
......
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