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@tricky
Sorry that was a mistake. You are right. I mean ('0' & data_in(11 downto 0); Sorry for the confusion. Can you tell me why I am not getting correct ADC values? I used the approach that was given to me in the previous comment by @kaz