Forum Discussion
Altera_Forum
Honored Contributor
12 years agocontinuous averaging using VHDL
I have a question related to VHDL programming. I want to calculate the continuous average. My example code is:
process (clk, reset)
begin
if (reset = '1') then
state<=idle;
out-v...
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- 1/1024 is the update rate of avg, this then averaged at this slow rate. That is you wanted and shouldn't be a problem , not even in simulation. What is ADC speed then? --- Quote End --- My ADC captures value every 312/20 KHz i-e 15.6 KHz.