MATLAB Answers

HDL Code Generation Error

19 views (last 30 days)
How to solve this error?
Signals of type 'Double' will not generate synthesizable HDL. Consider enabling Native Floating-Point mode and retyping all 'Double' typed signals to 'Single' to generate synthesizable code

Accepted Answer

stozaki
stozaki on 6 Oct 2020
Hello kameshwar,
Which MATLAB version are you using?
The block type that supports code generation of double floating point data types depends on the MATLAB version. It looks like your model contains blocks that don't support HDL code generation for "double" data types.
Please see the release notes and support block table for details.
stozaki
  6 Comments

Sign in to comment.

More Answers (1)

Kiran Kintali
Kiran Kintali on 6 Oct 2020
See resolution in https://www.mathworks.com/matlabcentral/answers/606331-hdl-code-generation-erros
  1 Comment
kameshwar saini
kameshwar saini on 7 Oct 2020
Thank You sir. You helped me a lot.

Sign in to comment.

Tags

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by