ICS (Architecture)

Fudan University / 2020 Spring

Assignment 1

Note: This is the first assignment for this course, you should read the guidelines first. This assignment will make up 20% of the final score.

This assignment will due on Apr 6 before the course start, and you must pass all the tests before submitting your work, for detailed information about checker configuration, also refer to the guidelines.

Description

In this assignment, you are going to implement Single-Cycle MIPS CPU according to slides and textbook. Your CPU need support instructions including: add,sub,and,or,slt,addi,andi,ori,slti,sw,lw,j,nop,beq,bne, jal, jr, sra, sll, srl. For unfamiliar instructions, please refer to our textbook Digital Design and Computer Architecture's Appendix B.

You have to follow our variable naming rules and framework as shown in cpu_tb.sv, which mainly refer to our textbook, since our graders are based on them.

After finishing CPU, you must run simulation to check if your CPU works well. This assignment's tests are all listed in assignment/benchtest

Report Requirements