Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- If you are only simulating(functional) then don't worry about adding registers. In all cases don't put any registers between adders as this will affect fir function. I advise you go back to first code. It is ok, you are not testing correctly. Show me few samples of your input and output. --- Quote End --- thnx for the reply and cooperation sir my h=[-2 -1 3 4] im giving inputs x=[0 -3 1 0 ] i shud get y=[0 6 1 -10 ] according to fir formula y0=x0h0, y1=x0h1+x1h0, y2=x0h2+x1h1+x2h0 , y3=x0h3+x1h2+x2h1+x3h0 but when i simulate my code im getting y=[0 6 0 4] y0,y1 are correct. plzz reply me fast sir.......