milan.km
Member level 3
hi...
I want to add nine usigned,8 bit values,but I have the warning that the length dont match?
how can I fix it?
thanks
a : unsigned(11 downto 0);
a1,a2,a3,a4,a5,a6,a7,a8,a9 : unsigned(7 downto 0)
a=a1+a2+a3+a4+a5+a6+a7+a8+a9 ;
warning :Length of expected is 12; length of actual is 8.
I want to add nine usigned,8 bit values,but I have the warning that the length dont match?
how can I fix it?
thanks
a : unsigned(11 downto 0);
a1,a2,a3,a4,a5,a6,a7,a8,a9 : unsigned(7 downto 0)
a=a1+a2+a3+a4+a5+a6+a7+a8+a9 ;
warning :Length of expected is 12; length of actual is 8.