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 --- Thank you kaz. How can I implement such accumulator ?Is there a precompiled standard block or has to be written by hand ? --- Quote End --- just a feedback register on clocke edge sum <= sum + din; --din is I*I + Q*Q you need to read final result, apply reset etc. at the end you carefully get the mean of squares: sum_trunc <= sum(n downto 20); Then you decide for the square rooting issue