Info

This question is closed. Reopen it to edit or answer.

How to remove errors of Verify Fixed Point Design step of HDL Coder?

1 view (last 30 days)
Hello, I am trying to convert MATLAB code of QRS detection algorithm into Verilog code. In HDL Coder, the first three steps of Float to Fixed Workflow are running well. But I am getting errors in the 4th step, i.e., Verify Fixed Point Design. Since, these errors are in the files created by MATLAB itself, I wonder how to correct these errors. Please suggest me how to remove the errors in Verify Fixed Point Design step. Screen shot of the error messages is attached here. Thank you.

Answers (1)

Kiran Kintali
Kiran Kintali on 5 Sep 2020
Fixed-point conversion is an assisted process. Automated conversion of fixed-point can fail if best practices of conversion are not followed as suggested by the automated workflow.
https://www.mathworks.com/help/hdlcoder/examples/floating-point-to-fixed-point-conversion.html

Products

Community Treasure Hunt

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

Start Hunting!