Y86处理器模拟器的设计与实现
发布时间:2018-12-20 15:34
【摘要】:随着信息技术的发展,作为传统实验教学的一种有效补充,虚拟实验教学显现出其直观,便利的优势。其中用于计算机体系结构与组成原理教学的CPU模拟器就是虚拟实验的一个应用实例,真实的处理器内部结构对外界是不可见的,而传统教学模式仅仅通过文字描述和概念讲解的方式对特定处理器结构进行介绍,很难使学生对处理器结构产生整体的理解。模拟器给学生提供了一个了解计算机内部操作的入口,将一个处理器内部的操作表面化,并在这上面执行程序,观察指令执行过程,来理解真实的机器。 本毕业设计以深入理解计算机系统一书为基础,在分析IA32指令集简单子集“Y86”的基础上,实现了功能层次的Y86指令集模拟器YIS,以便与其他版本模拟器运行结果相比较,检测其设计运行的正确性。在功能模拟的基础上,通过对顺序及流水线技术的理解,设计完成三个版本的周期精度性能模拟器。本文遵循“从简单到复杂的循序渐进的”基本思路,论述了这三个版本的硬件模型:顺序Y86处理器模拟器ssim及其重排扩展ssim+,流水线化Y86处理器模拟器psim。此外,完成了配套的指令汇编器,方便学生输入汇编语言生成二进制文件。以上所有工具运行在windows操作系统上,具有终端与用户图形接口两种模式,用于观察Y86指令执行过程中处理阶段信号、寄存器内容、条件码等状态信息,,从而作为教学实验平台。
[Abstract]:With the development of information technology, as an effective supplement to the traditional experimental teaching, virtual experimental teaching shows its intuitive and convenient advantages. The CPU simulator used in the teaching of computer architecture and composition principle is an application example of virtual experiment, and the real internal structure of the processor is invisible to the outside world. However, the traditional teaching mode only introduces the specific processor architecture by the way of word description and concept explanation, so it is very difficult for the students to have an overall understanding of the processor architecture. The simulator provides a way for students to understand the internal operation of a computer, to surface the operation inside a processor, and to execute the program on it and observe the execution process of the instruction to understand the real machine. This graduation design is based on a deep understanding of computer systems. On the basis of analyzing the simple subset of IA32 instruction set "Y86", the functional level Y86 instruction set simulator YIS, is implemented in order to compare the running results with other versions of simulator. Check the correctness of its design and operation. Based on the functional simulation and the understanding of sequence and pipeline technology, three versions of the cycle accuracy performance simulator are designed. This paper follows the basic idea of "from simple to complex step by step", and discusses the three versions of the hardware model: sequential Y86 processor simulator ssim and its rearrangement extended ssim, pipeline Y86 processor simulator psim. In addition, a complete set of instruction assembler is completed, which is convenient for students to input assembly language to generate binary files. All of the above tools run on the windows operating system and have two modes of interface between terminal and user. They are used to observe the state information of processing phase signal, register content, condition code and so on during the execution of Y86 instruction, so as to serve as the teaching experiment platform.
【学位授予单位】:中国地质大学(北京)
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332
本文编号:2388190
[Abstract]:With the development of information technology, as an effective supplement to the traditional experimental teaching, virtual experimental teaching shows its intuitive and convenient advantages. The CPU simulator used in the teaching of computer architecture and composition principle is an application example of virtual experiment, and the real internal structure of the processor is invisible to the outside world. However, the traditional teaching mode only introduces the specific processor architecture by the way of word description and concept explanation, so it is very difficult for the students to have an overall understanding of the processor architecture. The simulator provides a way for students to understand the internal operation of a computer, to surface the operation inside a processor, and to execute the program on it and observe the execution process of the instruction to understand the real machine. This graduation design is based on a deep understanding of computer systems. On the basis of analyzing the simple subset of IA32 instruction set "Y86", the functional level Y86 instruction set simulator YIS, is implemented in order to compare the running results with other versions of simulator. Check the correctness of its design and operation. Based on the functional simulation and the understanding of sequence and pipeline technology, three versions of the cycle accuracy performance simulator are designed. This paper follows the basic idea of "from simple to complex step by step", and discusses the three versions of the hardware model: sequential Y86 processor simulator ssim and its rearrangement extended ssim, pipeline Y86 processor simulator psim. In addition, a complete set of instruction assembler is completed, which is convenient for students to input assembly language to generate binary files. All of the above tools run on the windows operating system and have two modes of interface between terminal and user. They are used to observe the state information of processing phase signal, register content, condition code and so on during the execution of Y86 instruction, so as to serve as the teaching experiment platform.
【学位授予单位】:中国地质大学(北京)
【学位级别】:硕士
【学位授予年份】:2013
【分类号】:TP332
【参考文献】
相关期刊论文 前5条
1 叶继华;郭帆;余敏;马丽红;陶玲;;Intel X86系列CPU模拟器的研究与实现[J];江西师范大学学报(自然科学版);2007年06期
2 赵明波;陈平;林浩;徐文正;李爱华;;DLX模拟器在计算机系统结构课教学实验中的应用研究[J];教育探索;2007年12期
3 刘振安,张培仁;CPU仿真技术开创教学和实验的新途径[J];实验室研究与探索;1991年03期
4 邓立波;龙翔;高小鹏;;ArmSim全系统模拟器的设计与实现[J];微计算机信息;2008年02期
5 许建卫;陈明宇;杨伟;潘晓雷;郑规;赵健博;孙凝晖;;计算机体系结构模拟器技术和发展[J];系统仿真学报;2009年20期
本文编号:2388190
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/2388190.html