Creating Xilinx FIR '.coe' File with Octave
Friday, June 29, 2012 at 9:00
Jay Kickliter in coe file, electronics, filter, fir, fpga, fpga, xilinx

Tired of cutting and pasting your Finite Impulse Response filter coefficients from Octave to Xilinx ISE? Probably not if you’re a pro and know what you’re doing. But I have been doing it the inefficient way, so I made this Octave script. It should also work with MATLAB with a little modification.

You enter the sampling rate, lowpass cutoff frequency, filter size, and file name. It spits out a ‘.coe’ file you can use with the Xilinx FIR Compiler to create an FIR low pass filter.

If you make any useful modifications please let me know and I’ll post it here.

Download Source

Article originally appeared on Chasing 'trons (http://chasingtrons.com/).
See website for complete article licensing information.