PDF (277K)
摘要
三值光学计算机(Ternary Optical Computer,TOC)运算器位数多,可重构,可动态分配,但专用 SZG(运算 数据)文件格式复杂,手工编写效率低,易出错.为此设计并实现一款可视化 SZG 文件生成软件.软件基于 C++/Qt 开发,提供新建文件,数据定时保存,文件查看与修改等功能,通过图形界面屏蔽底层格式细节,用户仅需输入运算规则与操作数即可自动生成合规文件.测试表明,软件可稳定完成 SZG 文件创建,保存与修改,显著降低 TOC 使用门槛,为三值光学计算机编程平台提供实用工具。
Abstract
Ternary Optical Computer (TOC) has the advantages of numerous operation bits, reconfigurability and dynamic allocation. However,its dedicated SZG (operation-data) file has complex specifications, and manual preparation is inefficient and error-prone. This paper designs and implements a visual SZG file generation software. Based on C++/Qt, the software supports file creation, timed data saving, file viewing and modification. It shields underlying format details through a graphical interface, allowing users to generate standard files by only inputting operation rules and operands. Tests show that the software can create, save and modify SZG files stably, reduce the usage threshold of TOC, and provide a practical tool for the TOC programming platform.
关键词
Key words
[Author(id=1331550409718575135, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1331550409781489697, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, authorId=1331550409718575135, language=EN, stringName=Chenyi Wen, firstName=Chenyi, middleName=null, lastName=Wen, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=School of Electronic Information, Xijing University,Xi’an, Shaanxi, 710021, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1331550409831821346, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, authorId=1331550409718575135, language=CN, stringName=文晨漪, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=西京学院电子信息学院, 中国·陕西 西安 710021, bio={"content":"文晨漪(2001-),女,中国陕西西安人,硕士,从事图像识别处理研究。
"}, bioImg=null, bioContent=文晨漪(2001-),女,中国陕西西安人,硕士,从事图像识别处理研究。
, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1331550409638883355, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, xref=null, ext=[AuthorCompanyExt(id=1331550409651466268, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, companyId=1331550409638883355, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=School of Electronic Information, Xijing University,Xi’an, Shaanxi, 710021, China), AuthorCompanyExt(id=1331550409668243485, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, companyId=1331550409638883355, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=西京学院电子信息学院, 中国·陕西 西安 710021)])]), Author(id=1331550409882152996, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1331550409945067558, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, authorId=1331550409882152996, language=EN, stringName=Xuqi Wang, firstName=Xuqi, middleName=null, lastName=Wang, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=School of Electronic Information, Xijing University,Xi’an, Shaanxi, 710021, China, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null), CN=AuthorExt(id=1331550409991204903, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, authorId=1331550409882152996, language=CN, stringName=王旭启, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=null, address=西京学院电子信息学院, 中国·陕西 西安 710021, bio=null, bioImg=null, bioContent=null, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1331550409638883355, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, xref=null, ext=[AuthorCompanyExt(id=1331550409651466268, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, companyId=1331550409638883355, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=School of Electronic Information, Xijing University,Xi’an, Shaanxi, 710021, China), AuthorCompanyExt(id=1331550409668243485, tenantId=1045748351789510663, journalId=1327663034936098855, articleId=1331359138094518623, companyId=1331550409638883355, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=西京学院电子信息学院, 中国·陕西 西安 710021)])])]
文晨漪,王旭启.
三值光学计算机的SZG文件生成软件的设计与实现[J].
信息科学与工程研究, 2026, 7(5): 13-15 DOI:
| [1] |
金翊, 何华灿, 吕养天. 三值光计算机基本原理[J]. 中国科学E辑, 2003, 33(1):42-49.
|
| [2] |
金翊, 何华灿. 从泛逻辑学生成的三值逻辑运算符的光学实现原理[J]. 计算机工程与应用, 2002, 38(12):34-36.
|
| [3] |
李双, 金翊, 刘跃军, 等. 三值光学计算机的初始SZG文件生成软件[J]. 上海大学学报(自然科学版), 2018, 24(2):181-191.
|
| [4] |
金翊, 王宏健, 欧阳山, 等. 可重构三值光学处理器的原理,结构与实现[J]. 中国科学:信息科学, 2011, 41(6):717-728.
|