Forum Discussion
Altera_Forum
Honored Contributor
12 years agosignal power estimation
Hello guys.. I'm trying to implement a block that evaluates the signal rms value along n samples. So, using the std definition one must do (x_k is a complex number so I have to take in acc...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- imagine your input is just 1 (one bit), you add up 2^20 samples of 1, what you get? 1*2^20 = 2^20 which needs 20 bits(+1 bit) --- Quote End --- Dear kaz It's ok. But what about working with 16 bits words ? If you add up 2^20 samples of 4 you will get 4*2^20 that needs more than 21 bits.. or not ? My problem is not the overflow of the counter but the one of the sum.