移位乘法器的输入为两个4位操作数a和b,启动乘法器由stb控制,clk信号提供系统定时。乘法器的结果为8位信号result,乘法结束后置信号done为1. 乘法算法采用原码移位乘法,即对两个操作数进行逐位的移位相加,迭代4次后输出结果。具体算法: 1. 被乘数和乘数的高位补0,扩展成8位。 2. 乘法依次向右移位,并检查其最低位,如果为1,则将被乘数和部分和相加,然后将被乘数向左移位;如果为0,则仅仅将被乘数向左移位。移位时,被乘数的低端和乘数的高端均移入0. 3. 当乘数变成全0后,乘法结束。
上传时间: 2014-01-03
上传用户:星仔
一个电子产品开发时的部分c代码B!绝对能用!
上传时间: 2013-12-20
上传用户:许小华
一个电子产品开发时的部分c代码B!绝对能用!
上传时间: 2016-09-05
上传用户:515414293
自己的51开发板源代码B,里面包含有LCD1602实验,lcd12864实验,ps2 lcd1602,串口通讯,红外遥控,计算器,继电器控制,矩阵键盘等实验程序,内容丰富
上传时间: 2016-09-06
上传用户:wab1981
fft.c--This computes an in-place complex-to-complex FFT x and y are the real and imaginary arrays of 2^m points. dir = 1 gives forward transform dir = -1 gives reverse transform
标签: complex-to-complex and imaginary computes
上传时间: 2016-09-17
上传用户:ljt101007
This computes an in-place complex-to-complex FFT x and y are the real and imaginary arrays of 2^m points. dir = 1 gives forward transform dir = -1 gives reverse transform
标签: complex-to-complex and imaginary computes
上传时间: 2013-12-18
上传用户:huql11633
Swarm intelligence is an innovative computational way to solving hard problems. This discipline is inspired by the behavior of social insects such as fish schools and bird flocks and colonies of ants, termites, bees and wasps. In general, this is done by mimicking the behavior of the biological creatures within their swarms and colonies.
标签: computational intelligence innovative discipline
上传时间: 2014-01-14
上传用户:小儒尼尼奥
W.B.Gragg改进的解微分方程组的解法,为改进中点法,并给出解一个方程组得例子。
上传时间: 2016-09-20
上传用户:wangdean1101
通过RS485端口不停地发送数据0xaa,用示波器观察RS485端口A、B信号线上的波形或者用RS485接收器接收发送的字符。
上传时间: 2013-12-26
上传用户:xcy122677
M a t l a b 中读取视频avi文件的小程序
上传时间: 2016-09-28
上传用户:xwd2010