Journal of Shanghai Jiaotong University ›› 2019, Vol. 53 ›› Issue (5): 584-592.doi: 10.16183/j.cnki.jsjtu.2019.05.011

Previous Articles     Next Articles

The Computing-Data File: A Key Technology of Applying Ternary Optical Computer

JIN Yi,ZHANG Sulan,LI Shuang,SHEN Yunfu,OUYANG Shan,PENG Junjie   

  1. School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China
  • Online:2019-05-28 Published:2019-05-28

Abstract: This paper proposes a new theory and method of writing application program of ternary optical computer (TOC). The theory is to collect all of raw data and calculation rules into a special file which is called the computing-data file, or SZG file for short, and then send the file to the ternary optical computer by using an expansion command in application program. A multi-center onion diagram is used to show the programming platform’s architecture which involves two computing units, i.e., electronic processor and ternary optical processor. The important role of the SZG file of writing the application program is shown in the multi-center onion diagram. This paper also introduces the origin, history, format and generation method of the SZG file, and describes the main extended commands to programing language. Finally, a specific process of using the SZG file is introduced via a suitable example. The example is also tested in a TOC’s software simulation environment, and the correctness of this theory is proved by the test. The program technique proposed in this paper is an important reference for those computer systems which include various types of processors.

Key words: program of ternary optical computer, computing-data file, programming environment, application program

CLC Number: