Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- The code is multiplying same data?? by all coeffs then summing up products. I don't know what this means in DSP sense. It is discarding MSB bit(22) from each product. If you are sure this bit is never used then you might as well use it instead of bit 23 i.e. use (22 down 0) directly. @tricky, I don't know if resize can remove a specific msb you target. This case is msb discarding andkeeping sign bit rather than sign extension. --- Quote End --- Thanks kaz, I think you're right.But I feel confused why the designer don't directly use the varaible CSRealReg(Its length is 0 to 22) instead of using a intermediate varaible(its length is 0 to 23) . I will show the integrity code as a attachment. It is a reciver for data acquistion .