Altera_Forum
Honored Contributor
12 years agoFilter iir trasposed structure
Hello everybody,
I have a problem... I try to relized a simple iir filter (to simply this i choose the first order) with one tap, only one mobile average coeff (b0=1) and only one auto-regressive coeff (a1=2), so implement this using std_logic_vector signal to realize the delay for every clock impulse. I implement two lpm moltiplicator to realized input moltiplication (b*input) and output moltiplication (a*output).. so these performe moltiplication always (because i don't use the clock with pipeline). So when i sum the mobile part (pnum) with autoregressive part (pden) there is a delay due to signal in the adder operation because the autoregressive part depend of the output y.. See program iir_1 with image 01:confused: I think to resolve this problem introduce a delay in the mobile part but i can't resolve this problem with this.. because then i don't sum the auto regressive part in the first adder so the output don't change and go to 0... See program iir_1_delay with image 02:( Someone can help me, please? thank you! The program is structured with array because i had tried to implement an 3 order iir filter.. so in this case (1°order) i use only the first element..