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

8 vues (au cours des 30 derniers jours)
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,

Réponse acceptée

Muthu Annamalai
Muthu Annamalai le 4 Août 2015
Modifié(e) : Muthu Annamalai le 4 Août 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 commentaire
Ankit Gupta
Ankit Gupta le 4 Août 2015
Modifié(e) : Ankit Gupta le 4 Août 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by