CORDIC(Coordinate Rotation Digital Computer)算法即坐标旋转数字计算方法,是J.D.Volder1于1959年首次提出,主要用于三角函数、双曲线、指数、对数的计算。该算法通过基本的加和移位运算代替乘法运算,使得矢量的旋转和定向的计算不再需要三角函数、乘法、开方、反三角、指数等函数。
里面包含了sin,cos运算以及反正弦余弦运算,有文档,代码,个人仿真也没问题。cyclone4编译占用1050le。
SHOW FULL COLUMNS FROM `jrk_downrecords` [ RunTime:0.001456s ]
SELECT `a`.`aid`,`a`.`title`,`a`.`create_time`,`m`.`username` FROM `jrk_downrecords` `a` INNER JOIN `jrk_member` `m` ON `a`.`uid`=`m`.`id` WHERE `a`.`status` = 1 GROUP BY `a`.`aid` ORDER BY `a`.`create_time` DESC LIMIT 10 [ RunTime:0.097062s ]
SHOW FULL COLUMNS FROM `jrk_tagrecords` [ RunTime:0.000897s ]
SELECT * FROM `jrk_tagrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 20 [ RunTime:0.001110s ]
SHOW FULL COLUMNS FROM `jrk_member` [ RunTime:0.001003s ]
SELECT `id`,`username`,`userhead`,`usertime` FROM `jrk_member` WHERE `status` = 1 ORDER BY `usertime` DESC LIMIT 10 [ RunTime:0.003002s ]
SHOW FULL COLUMNS FROM `jrk_searchrecords` [ RunTime:0.000916s ]
SELECT * FROM `jrk_searchrecords` WHERE `status` = 1 ORDER BY `num` DESC LIMIT 5 [ RunTime:0.003652s ]
SELECT aid,title,count(aid) as c FROM `jrk_downrecords` GROUP BY `aid` ORDER BY `c` DESC LIMIT 10 [ RunTime:0.017196s ]
SHOW FULL COLUMNS FROM `jrk_articles` [ RunTime:0.001072s ]
UPDATE `jrk_articles` SET `hits` = 2 WHERE `id` = 328602 [ RunTime:0.022270s ]