上海大学 计算机工程与科学学院, 上海 200444
出版日期:
2019-05-28发布日期:
2019-05-28作者简介:
金翊(1957-),男,陕西省西安市人,教授,主要从事光学计算机研究,电话(Tel.):021-66135377;E-mail: yijin@shu.edu.cn.基金资助:
国家自然科学基金(61572305, 61672006),上海市自然科学基金(15ZR1415400), 上海市科研计划专项 (15700500400)The Computing-Data File: A Key Technology of Applying Ternary Optical Computer
JIN Yi,ZHANG Sulan,LI Shuang,SHEN Yunfu,OUYANG Shan,PENG JunjieSchool of Computer Engineering and Science, Shanghai University, Shanghai 200444, China
Online:
2019-05-28Published:
2019-05-28摘要/Abstract
摘要: 介绍编写三值光学计算机应用程序的关键技术.首先将运算规则和大量原始数据合并在一个特殊文件中,然后在应用程序中使用专门的扩充指令将该文件送至三值光学计算机进行处理.这个特殊文件被称为运算-数据文件(简称SZG文件).采用一个多心洋葱图描述了拥有电子处理器和三值光学处理器的异构系统编程平台,该平台能体现SZG文件的重要作用.介绍了SZG文件的起源、发展、SZG文件的格式和生成方法,以及对程序语言的必要扩充.最后通过一个具体示例,介绍使用SZG文件的过程,并在三值光学计算机软件模拟系统中对该示例进行了测试.测试结果表明,所编制的应用程序运行正常,计算结果正确.这种编程技术对建立包含多种类处理器之异构系统的编程环境有很好的借鉴作用.
关键词: 三值光学计算机编程技术, 运算-数据文件, 编程环境, 应用程序
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
PDF全文下载地址:
点我下载PDF