Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- EXPx63_LTCHD <= std_logic_vector(unsigned(EXP_LTCHD) * unsigned(COEFF)); --- Quote End --- Yes this solves the first problem involved with the code. --- Quote Start --- Pay attention to x"3F" that might be considered as a negative number. --- Quote End --- There's no reason to expect this. But x"3F" is 8 bit length where 6 bits are needed. "111111" is the intended 6-Bit value. Third problem, the product bit length must be increased by one.