首页> 外文会议>IASTED International Conference on Computers and Advanced Technology in Education >A CONFIGURABLE MIPS SIMULATOR FOR TEACHING COMPUTER ARCHITECTURE
【24h】

A CONFIGURABLE MIPS SIMULATOR FOR TEACHING COMPUTER ARCHITECTURE

机译:用于教学计算机架构的可配置MIPS模拟器

获取原文

摘要

We present Visual-MIPS, a new tool for MIPS processor simulation, which adds a new dimension to teaching of computer architecture. Unlike many available tools for MIPS processor simulation such as SPIM [1], visual MIPS is fully configurable and can be used to teach subtle differences between processor architectures. There are a number of other tools that have been developed for simulating MIPS processor for education [2], [3] but they mainly focus on a fixed processor configuration. In the first experiment, single cycle configuration is used which allows study of processor behaviour for basic instructions as described in [4], [5]. For pipeline studies we have designed three experiments. In the first experiment, students study basic pipelined processor and discover problems with pipelining. Students are gradually asked to introduce hazard detection and forwarding logic. Next two experiments focus on branch hazards. By choosing different static branch strategies, e.g., flush pipeline, predict not taken, delayed branching and cancelled branching, they can write their own simple routines and run them on many different processor configurations. The real challenge has been the simulator to work correctly for all different configurations. This tool is especially useful for understanding and solving problems in course textbooks [4], [5].
机译:我们展示了Visual-MIPS,这是一个用于MIPS处理器仿真的新工具,它为计算机架构的教学增加了一个新的维度。与MIPS处理器仿真的许多可用工具不同,如SPIM [1],Visual MIPS完全可配置,可用于在处理器架构之间教授微妙的差异。已经开发了许多其他工具,用于模拟MIPS处理器进行教育[2],[3],但它们主要关注固定的处理器配置。在第一个实验中,使用单循环配置,其允许研究[4],[5]中所述的基本指令的处理器行为。对于管道研究,我们设计了三个实验。在第一个实验中,学生们研究基本的流水线处理器并发现管道的问题。学生逐渐被要求引入危险检测和转发逻辑。接下来的两个实验专注于分支危险。通过选择不同的静态分支策略,例如,刷新管道,预测未采取,延迟分支和取消分支,它们可以编写自己的简单例程,并在许多不同的处理器配置上运行它们。真正的挑战是模拟器,可以正确地为所有不同的配置工作。该工具对于在课程教科书[4],[5]中的理解和解决问题特别有用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号