Hi,
I 'm trying to count the number of '1' in a std_logic_vector of 64 bits. In fact, I want ot know if there are more '1' or '0'.
I want to use 10 slices(MAX). So I write the following line
SUM = IN(0)+IN(1)+..+IN(63);
These is a error with the compilatot, so I try :
SUM = '0'&IN(0) + '0'&IN(1) + .. + '0'&IN(63);
no error with the compilator, but result(SUM) is false.
thank for your help
Cedric