Verilog HDL: Magnitude For a vector (a,b), the magnitude representation is the following: A common approach to implementing these arithmetic functions is to use the Coordinate Rotation Digital Computer (CORDIC) algorithm. The CORDIC algorithm calculates the trigonometric functions of sine, cosine, magnitude, and phase using an iterative process. It is made up of a series of micro-rotations of the vector by a set of predetermined constants, which are powers of two. Using binary arithmetic, this algorithm essentially replaces multipliers with shift and add operations. In a Stratix™ device, it is possible to calculate some of these arithmetic functions directly, without having to implement the CORDIC algorithm.
标签: representation Magnitude the magnitude
上传时间: 2013-12-24
上传用户:金宜
一个旅行家想驾驶汽车从城市A到城市B(设出发时油箱是空的)。给定两个城市之间的距离dis、汽车油箱的容量c、每升汽油能行驶的距离d、沿途油站数n、油站i离出发点的距离d[i]以及该站每升汽油的价格p[i],i=1,2,…,n。设d[1]=0<d[2]<…<d[n]。要花最少的油费从城市A到城市B,在每个加油站应加多少油,最少花费为多少?
上传时间: 2013-12-31
上传用户:redmoons
代入法的启发示搜索 我的代码实现是:按照自然语言各字母出现频率的大小从高到低(已经有人作国统计分析了)先生成一张字母出现频率统计表(A)--------(e),(t,a,o,i,n,s,h,r),(d,l),(c,u,m,w,f,g,y,p,b),(v,k,j,x,q,z) ,再对密文字母计算频率,并按频率从高到低生成一张输入密文字母的统计表(B),通过两张表的对应关系,不断用A中的字母去替换B中的字母,搜索不成功时就回退,在这里回朔是一个关键。
上传时间: 2015-10-24
上传用户:wanqunsheng
b样条曲线,有控制点的求法,还有用OPENGL显示算法
标签:
上传时间: 2014-01-27
上传用户:evil
TMS320C6713用EDMA实现UART通信
上传时间: 2015-10-24
上传用户:trepb001
实现一个类,描述二维平面的直线Line。 描述属性:私有属性 直线所通过的点:Point p; 直线的斜率:double m 实现方法: 直线的构建; 返回直线的两个属性; 返回直线在Y轴上的截距:yIntercept ; 判断两条直线是否相等; 显示直线的内容:y = mx + b isParallelTo(Line line2),判断本直线与直线line2是否平行; isPeroendicularTo(Line line2),判断本直线与直线line2是否垂直; translate(double dx, double dy),将直线向右移动dx单位,向上移动dy单位; rarate(double ta),将直线沿逆时针方向旋转ta度
标签:
上传时间: 2015-10-24
上传用户:Divine
用VHDL实现的通信滑码处理,线路为2.3Mbps,通信终端为2Mbps
上传时间: 2015-10-25
上传用户:s363994250
实现了椭圆曲线的初始化,并当参数生成后,会对参数a和b进行判断,看是否符合椭圆曲线的要求。
上传时间: 2014-01-16
上传用户:firstbyte
本程序用java语言实现了socket通信服务器端程序,经过在jbuilderX上的实际测试得到成功。
上传时间: 2013-12-15
上传用户:waitingfy
本程序用java语言实现了socket通信客户端程序,经过在jbuilderX上的实际测试得到成功。
上传时间: 2015-10-25
上传用户:xjz632