移位乘法器的输入为两个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
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
W.B.Gragg改进的解微分方程组的解法,为改进中点法,并给出解一个方程组得例子。
上传时间: 2016-09-20
上传用户:wangdean1101
Add myaa.m to your path and enjoy anti-aliased professionally looking graphics in Matlab at any time. Myaa works with any kind of graphic (3-D, plots, scatterplots, ...) and even adds anti-aliasing to text, ui controls and grids. Myaa is ideal for complex, cluttered and saturated plots.
标签: professionally anti-aliased graphics looking
上传时间: 2016-09-22
上传用户:宋桃子
通过RS485端口不停地发送数据0xaa,用示波器观察RS485端口A、B信号线上的波形或者用RS485接收器接收发送的字符。
上传时间: 2013-12-26
上传用户:xcy122677
一种比较好的抗锯齿算法 Add myaa.m to your path and enjoy anti-aliased professionally looking graphics in Matlab at any time. Myaa works with any kind of graphic (3-D, plots, scatterplots, ...) and even adds anti-aliasing to text, ui controls and grids. Myaa is ideal for complex, cluttered and saturated plots. See attached screenshot for a demonstration. More examples included in the code, just run help myaa . Curiosa: For those of you who publish your code often, an undocumented anti-aliasing option is included in the snapnow.m function in Matlab. To publish a file called test.m you can do: opts.figureSnapMethod = antialiased publish( test.m ,opts) However, you will have more control over the process using myaa, which is also the best choice when using Matlab interactively.
标签: professionally anti-aliased graphics looking
上传时间: 2016-09-28
上传用户:txfyddz
实现4种常见波形正弦、三角、锯齿、方波(A、B)的频率、幅度可控输出(方波 A的占空比也是可控的),可以存储任意波形特征数据并能重现该波形,还可完成 各种波形的线形叠加输出。
上传时间: 2016-10-02
上传用户:123啊