Native floating point setting in HDL coder simulink
Mostra commenti meno recenti
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
Risposte (1)
Kiran Kintali
il 16 Lug 2017
1 voto
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.
1 Commento
Mohammed Shameem Hussain
il 17 Lug 2017
Categorie
Scopri di più su Code Generation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!