Entries in xilinx (1)

Friday
Jun292012

Creating Xilinx FIR '.coe' File with Octave

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