Forum Discussion
Altera_Forum
Honored Contributor
8 years agohandling additional streaming-protocol signals in fir filters
Hello all, I am currently working on a FIR filter with streaming interface. Actually its just a moving average filter, so i don't have any coefficients. I do not use any tools like FIR compiler...
Altera_Forum
Honored Contributor
8 years agoThe valid acts an enable to your filter. You ignore the first n valids until the filter is fully loaded, then you can just set output valid whenever the input is valid. If you are filtering a steam of data with no end, then this is fine, but if you need to do something special at the end of a set of data, you'll need extra logic to track of where you are in the data so you can take action at the appropriate time, and maybe flush the filter.