摘要
针对三值光学计算机的特点,利用其运算器可重构、数据位数众多、MSD加法器无进位延时等优点,设计并实现了一种用于三值光学计算机的40位乘法例程.该例程采用三值光学计算机中通用的MSD数表示数值,通过三值逻辑中的M变换产生部分积,再运用两两相加迭代的计算方法对部分积进行了MSD加法求和,得到乘积,其中M变换采用了一种比较特殊的快速变换实现方案,而部分积的MSD加法求和则采用流水技术来实现.详细给出了这个乘法例程的具体实现步骤和模拟实验细节,并与电子计算机中类似的乘法器做了运算复杂度对比分析.
According to the advantages of ternary optical computer such as reconfigurable arithmetic unit, large number of data bits and no-carry-delay MSD adder, a 40-bit multiplication routine is designed and developed. In the routine, the numerical value is expressed with the MSD number system as in a ternary optical computer. Partial products are generated via a three-valued logic transform (M). The product is obtained by summing all partial products through an MSD adder using an iterative method. A fast-calculation method is applied in the M transform, and a pipeline technology used in the MSD adder to accumulate the partial products. The operation steps and simulation experiments of the routine are given in detail, and the performance comparing with electronic computer analyzed.
出处
《上海大学学报(自然科学版)》
CAS
CSCD
北大核心
2014年第5期645-657,共13页
Journal of Shanghai University:Natural Science Edition
基金
国家自然科学基金资助项目(61073049)
国家自然科学基金青年基金资助项目(61103054)
上海市教委科研创新基金资助项目(13ZZ074
13YZ005)
上海市自然科学基金资助项目(13ZR1416000)
上海高校青年教师培养基金资助项目(ZZSD13035)