[SOLVED] COL216-Assignment 5&6 Adding MIPS Conditional/Unconditional Branch Instructions & Procedure Call Instructions

24.99 $

Category:

Description

Rate this product

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.

Once the desired modifications are done, you need to simulate and synthesize the modified VHDL processor model