Question: Problem # 2 The following is a typical assembly language instruction from the MIPS instruction set architecture. ADD $s 3 , $t 2 , $s

Problem #2
The following is a typical assembly language instruction from the MIPS instruction set architecture.
ADD $s3, $t2, $s1
This instructs the CPU to add the contents of registers t2 and s1 together and to store the result in s 3.
In order to execute this instruction in one instruction cycle, the CPU needs to simultaneously read from
two independently-specified registers (meaning that they may or may not be the same register), and
write to a third independently-specified register. This is usually referred to as a triple-ported register file.
Using the standard Hack parts, design a triple-ported register file containing eight 16-bit registers. The
interface to this part is as follows:
IN: rae[3],ra1[3],wa[3],wd[16], load;
OUT: rde[16],rd1[16];
Problem # 2 The following is a typical assembly

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!