Abstract
This paper presents a method for building a programming platform for ternary optical computer(TOC). Firstly, the reasons why the existing programming platform can not be directly applied to the ternary optical computer are analyzed. Then, the theoretical basis and core technologies for building the programming platform of the ternary optical computer are given, including: building a model—simple structured data type computer to express the application characteristics of the ternary optical computer, building an operation-data file containing data and computational requirements, expanding the operation-data file transfer instructions. According to our proposed theory, the implementation mechanism of the TOC programming platform is constructed. Finally, the effectiveness of the programming platform is verified by experiments. The programming platform simplifies the application of the TOC and bridges the gap between the user and the TOC.
Highlights
As electronic computers have matured since their inception, scientists have been exploring and developing other types of computers
SIMPLE STRUCTURED DATA TYPE COMPUTER The number of data bits in a ternary optical computer is on the order of thousands, and the long delay caused by the rounding process in a serial rounding adder is undoubtedly a waste of resources, so it is necessary to construct a full adder with no rounding operation
The ternary optical computer provides us with a massively data-parallel computing tool through three major application features: the large number of data bits, the fact that the data bus can be used independently in arbitrary groups, and the fact that the computational function of each data bit can be reconfigured at runtime
Summary
As electronic computers have matured since their inception, scientists have been exploring and developing other types of computers. Li et al.: Theoretical Basis and Implementation Mechanism of Programming Platform for TOC feature is not seen at the application level [12] These dictate that current programming environments built on conventional processors cannot produce applications that take advantage of the characteristics of ternary optical processors. The main difference between the programming platform of the ternary optical computer constructed in this paper and the traditional computer programming platform is that the programmer no longer uses a single instruction to arrange the working order of each part of the processor and the timing and direction of data transmission to match it. According to the polarization direction of polarizers P1 and P2, the main optical path is divided into four types: P1 is a vertical polarizer while P2 is a horizontal polarizer called VH type, P1 is a horizontal polarizer while P2 is a vertical polarizer called HV type, P1 and P2 are both vertical polarizers called VV type, and P1 and P2 are both horizontal polarizers called HH type
Published Version (
Free)
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have