10 2014 档案

摘要:module cordic_core( input wire clk, input wire reset_n, output wire ready_out, input wire [19:0] PosX_in, // 当前位置 input wire [19:0] PosY_in, output wi 阅读全文
posted @ 2014-10-17 14:19 睡觉的虫 阅读(724) 评论(0) 推荐(0)
摘要:近似计算的小程序: 就是把 0.607252941 分解为 0.5 0.25 0.125 ...... 这样的和 这样可以利用左移右移加快运算速度,而精度损失非常小... double tmpY = 2.0; double tmp = 0.0; double xx = 0.607252941; fo 阅读全文
posted @ 2014-10-13 16:48 睡觉的虫 阅读(274) 评论(0) 推荐(0)
摘要:核心算法,是用 的那个 cordic 算法.. http://www.cnblogs.com/signal/archive/2012/11/13/2768140.html 这里主要是想把算法弄到FPGA中去写的测试代码... 这里主要是贴关键代码: void CTestImgDlg::OnImage 阅读全文
posted @ 2014-10-11 16:06 睡觉的虫 阅读(1190) 评论(0) 推荐(0)

点击右上角即可分享
微信分享提示