Forum Discussion
Altera_Forum
Honored Contributor
13 years agosigned conversion
Hi evryone! I build a simple FIR-Filter as described in the attach code. When i simulate it with impulse response as data_in, i get that the first result of the filter (data_out) is -8 and...
Altera_Forum
Honored Contributor
13 years agoyou cannot represent 8 in 4 bits signed, the highest value is 7. "1000" is equal to -8, which is probably whats happening with the to_signed conversion for COEFF0