Native floating point setting in HDL coder simulink
3 views (last 30 days)
Show older comments
Hello,
From some tutorial I came to know that if I set Native floating point setting in Simulink then Matlab will take care conversion of single data type to appropriate fixed point data type. It works for all the blocks except look up table, where it fails with the error that "native floating point is not supported by lookup table".
Please suggest me a solution or workaround for it.
Thank you
0 Comments
Answers (1)
Kiran Kintali
on 16 Jul 2017
With native floating-point capability you generate HDL code directly from floating-point model (in single precision) without requiring fixed-point conversion. This can be very useful when targeting high dynamic range algorithms onto FPGAs. The direct lookup table and lookupND blocks are supported in 17b release (and area available for preview in 17b pre-release software). If you do not have access to 17b pre-release please convert LUT data fixed-point.
If you do not need high dynamic range support features available with Native Floating Point please consider using fixed-point conversion workflow to convert your algorithms to fixed-point.
See Also
Categories
Find more on Native Floating Point in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!