JKR1
Junior Member level 3
hi
I am writting a code that I use unsigned data type,now I want to do some comparison with fixed point data like 0.5,and devide by fixed point too,first I convert all data to fixed point with
temp3 is a 10*10 matrix,the array of the matrix is unsigned(7 downto 0).is it right?
for compiling the code,i add the "use ieee.fixed_pkg.all;" package.but I gave the error :
how could I fixe it? thanks
I am writting a code that I use unsigned data type,now I want to do some comparison with fixed point data like 0.5,and devide by fixed point too,first I convert all data to fixed point with
Code:
temp4 := u_fixed(temp3,3,-4);
for compiling the code,i add the "use ieee.fixed_pkg.all;" package.but I gave the error :
Code:
** Error: (vcom-11) Could not find ieee.fixed_pkg.