HDL Coder atan / atan2
4 ビュー (過去 30 日間)
古いコメントを表示
Hi, I want to implement an algorithm containing atan2 in HDL with the HDL Coder. The trigonomic function block is supported (hdllib). Atan2 is avaiable for use with CORDIC and fixed point, yet the HDL Coder states that the Block is not supportet. How so?
If the block realy is not supportet, what are my options to implement atan2 or at least atan in HDL using the HDL Coder?
0 件のコメント
採用された回答
Kiran Kintali
2017 年 6 月 23 日
currently, atan2 is supported with single inputs.
CORDIC Atan2 with fixpt inputs is on the roadmap. What is the fixpt input wordlength you expect to use? if it is small wordlength you can use a lookup table. if it is large you are better off using the single precision solution which supports a large dynamic range.
thanks
0 件のコメント
その他の回答 (2 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!