Altera_Forum
Honored Contributor
18 years agoClock enable bug with FIR compiler v3.3.1 and v6.1
I have found a clock enable bug with FIRs generated with FIR compiler v3.3.1 and v6.1. The bug is not present in FIR compiler v3.3.0 when fixed coefficients are used. With clken always high the FIR generates the correct output, however if input samples are repeated for two clocks, and a clock enable is used to reduce the effective clock rate by a factor of 2, a strange response results. Note however that the impulse response is still correct.
clken always 1 time domain response to LFM input obtained via ModelSim/Matlab: http://home.pacific.net.au/~nlbrine/ClkEn1_plot.jpg impulse response obtained via ModelSim: http://home.pacific.net.au/~nlbrine/ClkEn1_impulse.jpg clken 1,0,1,0,... input samples repeated for two clocks each time domain response to LFM input obtained via ModelSim/Matlab: http://home.pacific.net.au/~nlbrine/ClkEn2_plot.jpg impulse response obtained via ModelSim: http://home.pacific.net.au/~nlbrine/ClkEn2_impulse.jpg