- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.jpgLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did not have too many problems with FIR 6.1. However, having said that, I haven't played much with the enable signal.
While I was browsing through the user guide, I did came across the following statement: " Avalon-ST registers are NOT connected to this clock enable signal." Unfortunately, starting from version 6.1, the FIR core is now mainly controlled by Avalon-ST interfaces. Therefore, it would seem like you probably need to build extra logics to control these Avalon-ST registers. Without these extra control logics, I imagine you would see some anomalies (and I suspect this is also the source of your problem...) Hope that helps...- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I suggest that DO NOT play much with the enable signal and don't use as a control signal for reducing the clock rate.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page