虚拟硬件算术和逻辑运算语义模型

Igor dos Santos Santana, César Alberto Bravo Pariente
{"title":"虚拟硬件算术和逻辑运算语义模型","authors":"Igor dos Santos Santana, César Alberto Bravo Pariente","doi":"10.5747/ce.2024.v16.e417","DOIUrl":null,"url":null,"abstract":"The objective of this project was to develop a semantic model of arithmetic and logical operations for virtual hardware; this goal was achieved through three main steps: Implement logic gates and arithmetic and logic units in Nand2tetris virtual hardware simulator software; Implement recursive and iterative functions to check the correct functioning of logical and arithmetic operations in the p-code machine virtual machine. In the first stage, implementations of the elementary logic gates were developed in the hardware simulator software Nand2tetris. From these logic gates, combinational circuits and sequential circuits were built as logical and arithmetic unit, Half Adder, Full Adder, 16-bit Addition, 16-bit logical negation, 16-bit logical AND, 16-bit logical OR, among others. The second stage involved experimenting at a high level with arithmetic and logical operations, provided by the virtual machine p-code machine, which was implemented in the C programming language, as addition, subtraction, greater than, less than. In the third stage, having already implemented logical and arithmetic operations, iterative and recursive programs were developed to calculate the nth value of the Fibonacci Sequence and the factorial of any number n.","PeriodicalId":30414,"journal":{"name":"Colloquium Exactarum","volume":"43 16","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-03-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"MODELO SEMÂNTICO DE OPERAÇÕES ARITMÉTICAS E LÓGICAS PARA HARDWARE VIRTUAL\",\"authors\":\"Igor dos Santos Santana, César Alberto Bravo Pariente\",\"doi\":\"10.5747/ce.2024.v16.e417\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The objective of this project was to develop a semantic model of arithmetic and logical operations for virtual hardware; this goal was achieved through three main steps: Implement logic gates and arithmetic and logic units in Nand2tetris virtual hardware simulator software; Implement recursive and iterative functions to check the correct functioning of logical and arithmetic operations in the p-code machine virtual machine. In the first stage, implementations of the elementary logic gates were developed in the hardware simulator software Nand2tetris. From these logic gates, combinational circuits and sequential circuits were built as logical and arithmetic unit, Half Adder, Full Adder, 16-bit Addition, 16-bit logical negation, 16-bit logical AND, 16-bit logical OR, among others. The second stage involved experimenting at a high level with arithmetic and logical operations, provided by the virtual machine p-code machine, which was implemented in the C programming language, as addition, subtraction, greater than, less than. In the third stage, having already implemented logical and arithmetic operations, iterative and recursive programs were developed to calculate the nth value of the Fibonacci Sequence and the factorial of any number n.\",\"PeriodicalId\":30414,\"journal\":{\"name\":\"Colloquium Exactarum\",\"volume\":\"43 16\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-03-18\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Colloquium Exactarum\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.5747/ce.2024.v16.e417\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Colloquium Exactarum","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.5747/ce.2024.v16.e417","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

该项目的目标是为虚拟硬件开发算术和逻辑运算语义模型;这一目标通过三个主要步骤实现:在 Nand2tetris 虚拟硬件模拟器软件中实现逻辑门、算术和逻辑单元;在 p 代码机虚拟机中实现递归和迭代功能,以检查逻辑和算术运算的正确运行。在第一阶段,在硬件模拟器软件 Nand2tetris 中开发了基本逻辑门的实现。根据这些逻辑门,建立了逻辑和算术单元、半加法器、全加法器、16 位加法、16 位逻辑否定、16 位逻辑 AND、16 位逻辑 OR 等组合电路和顺序电路。第二阶段是对算术和逻辑运算进行高水平的实验,由虚拟机 p-code machine 提供,用 C 编程语言实现加法、减法、大于、小于等运算。在第三阶段,在实现了逻辑和算术运算后,开发了迭代和递归程序,以计算斐波那契数列的 n 次方值和任意数字 n 的阶乘。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
MODELO SEMÂNTICO DE OPERAÇÕES ARITMÉTICAS E LÓGICAS PARA HARDWARE VIRTUAL
The objective of this project was to develop a semantic model of arithmetic and logical operations for virtual hardware; this goal was achieved through three main steps: Implement logic gates and arithmetic and logic units in Nand2tetris virtual hardware simulator software; Implement recursive and iterative functions to check the correct functioning of logical and arithmetic operations in the p-code machine virtual machine. In the first stage, implementations of the elementary logic gates were developed in the hardware simulator software Nand2tetris. From these logic gates, combinational circuits and sequential circuits were built as logical and arithmetic unit, Half Adder, Full Adder, 16-bit Addition, 16-bit logical negation, 16-bit logical AND, 16-bit logical OR, among others. The second stage involved experimenting at a high level with arithmetic and logical operations, provided by the virtual machine p-code machine, which was implemented in the C programming language, as addition, subtraction, greater than, less than. In the third stage, having already implemented logical and arithmetic operations, iterative and recursive programs were developed to calculate the nth value of the Fibonacci Sequence and the factorial of any number n.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
17
审稿时长
12 weeks
期刊最新文献
ESTUDO DE TRÁFEGO DE VEÍCULOS, INTERVENÇÕES DE SINALIZAÇÕES E URBANISMO TÁTICO NO ENTORNO DO HOSPITAL DA VIDA COMO POLO GERADOR DE VIAGENS ENGLISHVR: USO DE REALIDADE VIRTUAL NO ENSINO DA LÍNGUA INGLESA NAS ESCOLAS DE ENSINO FUNDAMENTAL ESTADUAL BRASILEIRO ANÁLISE DE METAIS POTENCIALMENTE CONTAMINANTES NOS PEIXES DO RIO TAQUARI, BACIA DO RIO PARAGUAI, MUNICÍPIO DE COXIM-MS MODELO SEMÂNTICO DE OPERAÇÕES ARITMÉTICAS E LÓGICAS PARA HARDWARE VIRTUAL PHYSIOVR: FERRAMENTA DE REALIDADE VIRTUAL APLICADO NA REABILITAÇÃO CARDIOVASCULAR
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1