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

3 次查看(过去 30 天)
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,

采纳的回答

Muthu Annamalai
Muthu Annamalai 2015-8-4
编辑:Muthu Annamalai 2015-8-4
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 个评论
Ankit Gupta
Ankit Gupta 2015-8-4
编辑:Ankit Gupta 2015-8-4
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.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by