Abstract
Multiplication with traditional electronic computers is faced with a low calculating accuracy and a long computation time delay. To overcome these problems, the modified signed digit (MSD) multiplication routine is established based on the MSD system and the carry-free adder. Also, its parallel algorithm and optimization techniques are studied in detail. With the help of a ternary optical computer’s characteristics, the structured data processor is designed especially for the multiplication routine. Several ternary optical operators are constructed to perform transformations and summations in parallel, which has accelerated the iterative process of multiplication. In particular, the routine allocates data bits of the ternary optical processor based on digits of multiplication input, so the accuracy of the calculation results can always satisfy the users. Finally, the routine is verified by simulation experiments, and the results are in full compliance with the expectations. Compared with an electronic computer, the MSD multiplication routine is not only good at dealing with large-value data and high-precision arithmetic, but also maintains lower power consumption and fewer calculating delays.
© 2017 Optical Society of America
Full Article | PDF ArticleMore Like This
Kai Song, Yongjun Sun, Huaqiong Ma, and Liping Yan
Appl. Opt. 62(36) 9591-9598 (2023)
Wang Zhehe and Shen Yunfu
Appl. Opt. 60(30) 9254-9262 (2021)
Kai Song, Yi Zhang, Liping Yan, Qingqing Jin, and Gong Chen
Appl. Opt. 59(16) 4953-4963 (2020)