Atan2
CORDIC 近似手法を使用して Atan2 演算を計算し、レイテンシを加味してシミュレートする
ライブラリ:
HDL Coder
説明
Atan2 ブロックは、COordinate Rotation DIgital Computer (CORDIC) の近似手法を使用して、実数値の入力信号の 4 象限逆正接を実行します。詳細については、アルゴリズムの CORDIC 近似手法を参照してください。このブロックには入出力データが有効かどうかを示す制御信号があります。また、アルゴリズムの反復回数およびレイテンシ手法も指定できます。
Simulink® モデルでこのブロックを使用するには、MATLAB® コマンド ウィンドウで以下のコマンドを入力して HDLMathLib ライブラリを開きます。
open_system("HDLMathLib")Atan2 ブロックをレイテンシを加味してシミュレートできます。詳細については、レイテンシの考慮事項を参照してください。
例
端子
入力
出力
パラメーター
アルゴリズム
参照
[1] Volder, Jack E., “The CORDIC Trigonometric Computing Technique.” IRE Transactions on Electronic Computers EC-8 (1959); 330–334.
[2] Andraka, Ray “A Survey of CORDIC Algorithm for FPGA Based Computers.” Proceedings of the 1998 ACM/SIGDA Sixth International Symposium on Field Programmable Gate Arrays. Feb. 22–24 (1998): 191–200.
[3] Walther, J.S., “A Unified Algorithm for Elementary Functions,” Proceedings of the Spring Joint Computer Conference, May 18-20, 1971: 379–386.
[4] Schelin, Charles W., “Calculator Function Approximation,” The American Mathematical Monthly 90, no. 5 (1983): 317–325.