logo资料库

移位相加实现乘法.doc

第1页 / 共1页
资料共1页,全文预览结束
移位相加实现乘法
移位相加实现乘法 repeat(SIZE) begin if(shift_opb[1])result=result+shift_opa; shift_opa=shift_opa<<1; shift_opb=shift_opb>>1; end 实现 result=shift_opa*shift_opb 的乘法结果
分享到:
收藏