Ternary Optical Computer

Initial SZG file generation software for ternary optical computer

Expand
  • School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China

Received date: 2017-07-10

  Online published: 2018-05-07

Abstract

SZG file is a programming platform for using a ternary optical computer (TOC) with a high-level programming language. SZG file's functions are similar to those of OpenACC in using GPU and MIC, but both are completely different in programming idea and implementation. More importantly, an SZG file is the only way for programmers to present requirements of grouping the processor's bit number and reconfiguring the processor's hardware functions. The method based on SZG file is easy to be understood, and convenient to be used. This paper proposes an initial SZG file generation theory, an algorithm and a generation software. The proposed software can implement some functions such as storing initial SZG file and appending operands to a SZG file. Moreover, the system can store the operands every a few minutes via setting a timer. Therefore, in applying the software, there is no need to understand the SZG file format and the TOC's work process. Users can generate a correct SZG file. Furthermore, in application, TOC can process large amounts of raw data in parallel using the SZG file. Finally, a white box technique is used to test the software. As an example, the software is used by creating an initial SZG file containing two simple calculators. The results confirm validity and correctness of the software.

Cite this article

LI Shuang, JIN Yi, LIU Yuejun, ZHOU Shiqiang . Initial SZG file generation software for ternary optical computer[J]. Journal of Shanghai University, 2018 , 24(2) : 181 -191 . DOI: 10.12066/j.issn.1007-2861.1979

References

[1] 金翊, 何华灿, 吕养天. 三值光计算机基本原理[J]. 中国科学 E 辑, 2003,33(1):111-115.
[2] 包九龙, 金翊, 蔡超. 三值光学计算机百位量级编码器的实现[J]. 计算机技术与发展, 2007,17(2):19-22.
[3] Yan J Y, Jin Y, Zuo K Z. Decrease-radix design principle for carrying/borrowing free multi-valued and application in ternary optical computer[J]. Sci China Ser F: Inf Sci, 2008,51(10):1415-1426.
[4] Jin Y, Wang H J, Ouyang S, et al. Principles, structures, and implementation of reconfigurable ternary optical processor[J]. Sci China Ser F: Inf Sci, 2011,54(11):2236-2246.
[5] 沈云付, 潘磊. 扩展三值纠一检二码原理设计[J]. 电子学报, 2013,41(8):1615-1621.
[6] 包九龙, 金翊, 蔡超. 三值光学计算机百位量级编码器的实现[J]. 计算机技术与发展, 2007,17(2):19-22.
[7] 金翊, 徐群, 欧阳山, 等. 结构量计算机—三值光学计算机的应用特点[J]. 中国科学 F 辑, 2016,46(3):311-324.
[8] 王一超, 秦强, 施忠伟, 等. 在 Intel Knights Corner 和 NVIDIA Kepler 架构上 OpenACC 的性能可移植性分析[J]. 计算机科学, 2015,42(1):75-78.
[9] 胡晓俊, 金翊, 欧阳山. 三值光学计算机的 40 位乘法例程[J]. 上海大学学报(自然科学版), 2014,20(5):645-657.
[10] 张茜, 金翊, 宋凯, 等. 在超算集群中使用三值光计算机的 MPI 编程技术[J]. 上海大学学报(自然科学版), 2014,20(2):180-189.
[11] Jin Y, He H C, Ai L R. Lane of parallel through carry in ternary optical adder[J]. Sci China Ser F: Inf Sci, 2005,48(1):107-116.
[12] Jin Y. Management strategy of data bits in ternary optical computer[J]. Journal of Shanghai University: English Edition, 2007,13(5):519-523.
[13] 王宏健, 金翊, 欧阳山. 一位可重构三值光学处理器的设计和实现[J]. 计算机学报, 2014,37(7):1500-1507.
[14] 欧阳山. 三值光学处理器控制电路设计和实现[D]. 上海: 上海大学, 2012: 62-69.
[15] 金翊, 欧阳山, 宋凯, 等. 三值光学处理器的数据位管理理论和技术[J]. 中国科学 F 辑, 2013,43(3):361-373.
[16] 李双凤, 金翊. 三值光学计算机数据位与运算部件像素的映射技术[J]. 计算机工程与设计, 2010,31(5):1077-1080.
Outlines

/