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 agoThank you kaz..
the 'pad' was not intended to be there it was written down in a previus attempt. I have not updated the 'i' signal after it equals 2**ACCBIT because for testing pourpose I want to stop the sum when the ready bit is set. By the way I always have XXXX... as output when the ready bit is set... mumble mumble.. It seems that the problem is in the recursion.. If i set: sum<=32767+sum ==> the rms is 32767 as expected