Sale!

COL 216: Computer Architecture Assignment 5 solved

Original price was: $35.00.Current price is: $30.00.

Category:

Description

5/5 - (5 votes)

Problem

In this assignment, you will be adding MIPS conditional/unconditional branch instructions and procedure call
instructions to the processor designed in Assignment 4. Make appropriate modifications to your code:
1. Implement the following branch instructions using J-type instruction format: bne, beq, blez, bgtz, j.
2. Implement the instructions used for procedure calls: jal, jr.
3. Implement non-leaf procedures (procedures that can call other procedures) using stack.
4. The stack should be implemented in memory and should grow downwards.
5. You can assume that a maximum of four arguments can be passed to a procedure.
6. You can use https://courses.cs.washington.edu/courses/cse410/09sp/examples/MIPSCallingCo
nventionsSummary.pdf, as a reference document to understand MIPS procedure calls and stack layout.
Once the desired modifications are done, you need to simulate and synthesize the modified VHDL processor
model. The output instructions remain the same as for Assignment 4.

Submissions

This assignment will be submitted in two parts.
1. Submission Deadline 1: The simulated VHDL processor model is to be submitted on moodle with the
submission deadline 23 February
2. Submission Deadline 2: The synthesized VHDL processor model is to be submitted on moodle with
the submission deadline 01 March
1