Forum Discussion
Multichannel Fir Compiler ii problem.
Dear Sirs and Madams,
I have some problem with Fir Compiler II. When i set max number of channels 2, Clock Rate 120MHz and Input Sample Rate 60MSPS filter works perfect but when i change input sample rate to 1MSPS the results are invalid. Maybe somebody know something about this? Maybe somebody have working example with multiple channels and single wire? I check on quartus II 15.0 and quartus prime and on arria v and cyclone v devices. Best regards Adam19 Replies
- Altera_Forum
Honored Contributor
Yes sop is first channel and eop is last channel. Maybe i can find some examples somwere? Maybe somebody can show me screen how to control signal when i have 120mhz system clock, 1MSPS, two channels? Maybe i need to set something more in quartus?
I make some more test and when i set 120MHZ system clock, 1MSPS sampling and 120 channels results are perfect for all 120 channels. Maybe there is some timing problems? Best regards Adam - Altera_Forum
Honored Contributor
I have a similar issue.
I have a 2 channel decimating filter. Decimate by 5 220 coefficients system clock is 150MHz F sample is 1MHz F out is 200kHz When I apply an impulse to it i get a single non-zero output value towards the end of the filters delay. I'm fairly certain I'm correctly driving the valid, sop, and eop lines. (previous similar designs have worked) I'm currently using Quartus 15.0 (Tried 15.1, had some issues went back to 15.0) Thinking about it the previous working designs were probably in 14.something. I'd be interested if you make any progress on this issue. Paul - Altera_Forum
Honored Contributor
Is your input and coeff scaling correct. I suggest use impulse input at max value(not just 1) due to internal truncation.
- Altera_Forum
Honored Contributor
I think this is not truncation problem because when i use 60MSPS in some test results is ok.
Pchittenden can you check results without decimation? I use quartus 15 and 16 but problem is in both. Still noo progess. - Altera_Forum
Honored Contributor
Ok I recompiled the filter as a single rate filter. (all other parameters the same as before)
It works correctly without decimation. - Altera_Forum
Honored Contributor
I think there is some bug in FIr Compiler when MSPS to clock ratio is high.
- Altera_Forum
Honored Contributor
Looks like a bug to me too.
I decided to go back and generate the same filter in Quartus 14.0. Works correctly, with or without decimation. - Altera_Forum
Honored Contributor
Thanks for info. I just start talking with support so maybe they will give some answers.
Of course i update forum as soon as i get some new information. I you have some more info please post it. Regards Adam - Altera_Forum
Honored Contributor
Dear Sirs,
problem solved with service request help. Problem was in reset_n signal. After power up filter must be reseted! Also after filter reset we need to wait few clock cycle before we assert sink_SOP signal. Best regards Adam