FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
5882 Discussions

FIR II Compiler v10.1 Coefficients txt file

Altera_Forum
Honored Contributor II
762 Views

Hi everyone, 

 

I'm using the FIR II Compiler 10.1 and I noticed a little inconsistency between the manual and the compiler on how to import coefficients through a textfile. 

 

According to the manual:  

The contents of your coefficient file must have each coefficient on a separate line  

and no carriage returns at the end of the file. You can use floating-point or  

fixed-point numbers, as well as scientific notation. Multiple coefficient sets is  

supported by specifying an array of coefficient sets. The number of rows specifies  

the number of banks needed. All coefficient sets must have the same symmetry  

type and number of taps.  

 

When actually importing a text file with coefficients, containing a single coefficient set, I get the error: 'Invalid coefficient, make sure they are not all zeros.'  

 

I entered coefficients like so: 

<start of file> 

1<cr,lf> 

2<cr,lf> 

3<cr,lf> 

<end of file> 

 

If I enter the coefficients in the following manner, I get no error: 

<start of file> 

1,2,3,4 

<end of file> 

 

This is mentioned in the manual as the manner in which you have to enter coefficients for multiple banks, where each line represents a new set. 

 

Grtz, 

 

Olaf
0 Kudos
0 Replies
Reply