How to convert floating point filter coeffiecients ( generated from FDA tools) to fixed point without Fixed point toolbox

4 views (last 30 days)
Hi All, I am trying to design a decimator and a FIR filter using FDAtool, but I cant generate COE file for xilinx since I don't have fixed point addon, Is there a way to convert all the filter coefficients to fixed point without having fixed-point tool box, if there is any script or function present?. I can export the coefficient to ASCII files or to the workspace but need those coefficients in fixed point. Please let me know how to do that. Thanks,

Accepted Answer

Muthu Annamalai
Muthu Annamalai on 4 Aug 2015
Edited: Muthu Annamalai on 4 Aug 2015
Did you try the fixed point conversion tool ?
It generates fixed point MATLAB code as intermediate output during generation of fixed point C or HDL Code.
  1 Comment
Ankit Gupta
Ankit Gupta on 4 Aug 2015
Edited: Ankit Gupta on 4 Aug 2015
Hi ,
I cannot open the link you sent me. I have Signal processing toolbox, and I used fdatool gui. I was looking if there is a way to convert those coefficients to fixed point without having fixed point designer.I am currently trying to do those manually by using " norm " and multiply it with 2^n-1 where n is number of bits. I am saving all the coefficient in the workspace and then trying to convert them to fixed point.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!