Native floating point setting in HDL coder simulink
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Kiran Kintali
2017년 7월 16일
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.
참고 항목
카테고리
Help Center 및 File Exchange에서 Native Floating Point에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!