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
阅读全文
摘要:近似计算的小程序: 就是把 0.607252941 分解为 0.5 0.25 0.125 ...... 这样的和 这样可以利用左移右移加快运算速度,而精度损失非常小... double tmpY = 2.0; double tmp = 0.0; double xx = 0.607252941; fo
阅读全文
摘要:核心算法,是用 的那个 cordic 算法.. http://www.cnblogs.com/signal/archive/2012/11/13/2768140.html 这里主要是想把算法弄到FPGA中去写的测试代码... 这里主要是贴关键代码: void CTestImgDlg::OnImage
阅读全文