fixed.cordicDivide
基于 CORDIC 的定点除法
说明
使用基于 CORDIC 的算法将 y = fixed.cordicDivide(num,den,OutputType)num 除以 den,输出数据类型由 OutputType 指定。
注意
embblk.divide.cordicDivide 函数还执行基于 CORDIC 的定点除法,并输出与 Real Divide HDL Optimized 和 Complex Divide HDL Optimized 模块在位上完全一致的解。fixed.cordicDivide 函数使用比 embblk.Divide.cordicDivice 函数更大的数据类型,这会提供更准确的结果,但需要额外的硬件资源和计算时间。
示例
输入参数
算法
参考
[1] Volder, Jack E. “The CORDIC Trigonometric Computing Technique.” IRE Transactions on Electronic Computers EC-8, no. 3 (Sept. 1959): 330–334.
[2] Andraka, Ray. “A Survey of CORDIC Algorithm for FPGA Based Computers.” In Proceedings of the 1998 ACM/SIGDA Sixth International Symposium on Field Programmable Gate Arrays, 191–200. https://dl.acm.org/doi/10.1145/275107.275139.
[3] Walther, J.S. “A Unified Algorithm for Elementary Functions.” In Proceedings of the May 18-20, 1971 Spring Joint Computer Conference, 379–386. https://dl.acm.org/doi/10.1145/1478786.1478840.
[4] Schelin, Charles W. “Calculator Function Approximation.” The American Mathematical Monthly, no. 5 (May 1983): 317–325. https://doi.org/10.2307/2975781.