Fixed-Point tool and an overflow

2 ビュー (過去 30 日間)
Filip
Filip 2019 年 4 月 11 日
回答済み: Ayush 2024 年 9 月 24 日
Dear All,
I am trying to use Fixed-Point Tool to convert my model in Simulink from a double precision to fixed point precision in order to genenrate HDL design. After applying proposed data types I simulate my model with proposed types and I got overflow at the output of the adders and multipliers.
My question is: is there any tool/function/command within Fixed-Point Tool which would 'fix' those blocks with an overflow? How to do it manually? Is there any tutorial for the latest 2019a version of the Fixed-Point tool?
Kind rergards,
F.
  1 件のコメント
mar gian
mar gian 2019 年 5 月 9 日
Have you figured it out? I am having the same problem.

サインインしてコメントする。

回答 (1 件)

Ayush
Ayush 2024 年 9 月 24 日
To diagnose the overflow errors in Fixed Point Tool you can use FixptConstOverflowMsg which was introduced since R2009b.

Community Treasure Hunt

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

Start Hunting!

Translated by