论文部分内容阅读
本文建立了三值光学计算机第一个除法例程的算法,设计了该例程的操作步骤.该算法根据三值光学计算机数据位众多、按位可分配、每一位的计算功能可随时配置、采用MSD并行加法器等特点,选用MSD迭代除法算法为数学模型.该算法设计的后台模块分别与三值光学计算机监控软件中的任务管理模块、三值光学处理器重构模块和三值光学处理器的底层硬件控制软件相融合,构成了软硬件结合的计算例程.实现MSD迭代除法算法的例程将纳入三值光学计算机的底层软件系统,供应用程序调用.文中详细讨论了这个算法需要的三值光学处理器的数据位数、对处理器的重构策略、与三值光学计算机监控软件各部分的协作方式、迭代次数、商的小数点位置,并对相应例程的工作过程做了详尽描述.文中还介绍了模拟实验系统的设置和实验用例,并通过模拟实验证实了实现该算法的例程的有效性.本文提出用有效数字位数作为确定用户所需数据位资源的依据,并以此来确定MSD迭代除法计算方法中的迭代次数.本文描述的工作为开发三值光学计算机其他常用计算例程提供了技术路线和例证.
In this paper, the algorithm of the first division routine of ternary optical computer is established, and the operation steps of this routine are designed.According to the ternary optical computer, the algorithm has many data bits and can be allocated bit by bit, each bit’s computing function can be configured at any time , Using MSD parallel adder and other features, choose MSD iterative division algorithm for the mathematical model.The background of this algorithm design module and three-valued optical computer monitoring software task management module, ternary optical processor reconstruction module and ternary optics The processor’s underlying hardware control software is combined to form a software and hardware combination of the calculation routines to achieve MSD iterative division algorithm routines will be included in the ternary optical computer’s underlying software system for application calls.This article discusses in detail the algorithm The number of data bits needed for the ternary optical processor, the reconstructing strategy of the processor, the cooperation mode with each part of the ternary optical computer monitoring software, the number of iterations, the position of the decimal point of the quotient and the working process of the corresponding routine A detailed description of the article also describes the simulation experiment system settings and experimental cases, and confirmed by the simulation experiments to achieve The validity of the routine of the law.This paper proposes to use the effective number of bits as the basis for determining the data bits required by the user and to determine the number of iterations in the MSD iterative division method of calculation.This paper describes the work for the development of three- Other commonly used computer routines provide technical routines and examples.