- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 08:46 AM
Hello,
I'm trying to migrate my design, from ISE 9.1 to ISE 13.4 and a lot of things have change.
I have a Digital Down Converter, and I implement it whit DAFIR, now in the new System Generator, I have to choose FIR COMPILER 5, with the Distributed Aritmethic ta checked. If I try to generate a first decimator by a factor of 2 with the Systolic, or acumulative mult I have no problems, but if I try to generate a decimator with Distributed arithmetic I have no decimation at the output of the filter. I can´t use Systolic, because I have not enought DSP 48 in my spartan 3ADSP, I attach an image of an example of what is happening. Althougt I do a decimation, at the output of the filter I have the same freq.
Any help will be very gratefull.
Solved! Go to Solution.
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 10:34 AM
In the SysGen block, in the General tab, can you select 'Normalized Sample Periods' for the block icon display and see what happens?
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-24-2012 06:01 PM
Take a look at the thread below:
robotiker007 wrote:
Hello,
I'm trying to migrate my design, from ISE 9.1 to ISE 13.4 and a lot of things have change.
I have a Digital Down Converter, and I implement it whit DAFIR, now in the new System Generator, I have to choose FIR COMPILER 5, with the Distributed Aritmethic ta checked. If I try to generate a first decimator by a factor of 2 with the Systolic, or acumulative mult I have no problems, but if I try to generate a decimator with Distributed arithmetic I have no decimation at the output of the filter. I can´t use Systolic, because I have not enought DSP 48 in my spartan 3ADSP, I attach an image of an example of what is happening. Althougt I do a decimation, at the output of the filter I have the same freq.
Any help will be very gratefull.
Jim
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 02:22 AM
Hello.
The output is decimated. Look at RDY port of the filter. The problem is that different configurations of FIR compiler produce different implementations of decimated signal: in one case output is decimated (in sense of Simulink sample time) and RDY value is always true, in other case output signal of the filter doesn't seem to be decimated, but if you check RDY port, you'll see the pulses at decimated sample time.
Look at a thread suggested by Jim for more information.
Hope it will help you. If not, feel free to ask questions.
Vitaly.
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 02:48 AM
Thank you very much for the answers.
The results of the decimation as you can see in the image attached, are correct, I have to fight to obtain good results in the upsampling. I only can achive an upsampling x2, when I try to upsample for another factor of 2 I obtain an extrange result as you can see in the last scope channel, wher the signal is not synchronised,.
Any Idea?
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 02:49 AM
The design is very simple 3 downsample chain an at least 2 upsample not working at all.
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 03:08 AM
Hmm...
Why you are not using link "RDY -> ND" for all filters?
Vitaly.
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 03:24 AM
The problem is that if in the first upsampler I use the rdy output of the last downsampler, I obtain this scope.
The upsampler doesn`t work fine. You can check that the first upsampler is not working.
I left the new scope and the new design changing the rdy connection.
The first upsampler only works if I introduce in its nd a boolean '1' signal whit 4/fs freq.
If you want I can attach the design?
Thank you very much for your help.
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 03:24 AM
design
Re: FIR COMPILER 5 Decimation problem
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-25-2012 03:28 AM
I attach the design, if anyone have couriosity.
The fs is 121.76 Mhz.
Thanks











