联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-23:00
  • 微信:codinghelp

您当前位置:首页 >> C/C++编程C/C++编程

日期:2020-12-13 12:31

Project:


The goal of this term-project is to implement a simulator of MIPS pipelined processors for handling data hazards. For the implementation, you can use C, C++, python.However, your processor simulator should work as follows:

The execution command of your data hazard handler:

dhh_simulator <input_file_name>

Input: <input_file_name>: the file contains MIPS instruction sequences

In an assembly language level

Only ADD, ADDI, OR, ORI, LW, SW are used

Suppose that only register $1 ~ $8 are used

Example:


Output: <intput_file_name.out>

In the output file, the following information must be contained.

Control signal values at each clock cycle

Considerations

You MUST consider pipeline stalls caused by load-use data hazards

When the signal value is invalid, then write 0

You can change the format of output files


Term-project schedule and submission

„ The compressed file should contain

The source code of your simulator with detailed comments

Documentation (the most important thing!)

It must include all about your implementation

Test input files and outputs which you used in this project

The test input files are not given. You should make the test files, by yourself,which can examine all the token patterns.


版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp