Question: Make any additions or changes to the datapath which are needed in order to make the RTLs for the instructions possible. The base datapath should

Make any additions or changes to the datapath which are needed in order to make the RTLs for the instructions possible. The base datapath should be in black, with changes marked in red and other colors (one color per new instruction).
New Instructions:
New: bcon,xnori
bcon (Branch if consecutive): This I-type instruction branches to the target address only if RF[rt] has the value of a consecutive address value held in RF[rs](When the value in RF[rt] is RF[rs]+4, and word- aligned, i.e., divisible by 4). Otherwise, the branch is not taken. Usage: bcon rs, rt, label. Example: bcon $a1, $a0, loopStart (when $a1 is 8 and $a0 is 12, the branch is taken).
xnori: This I-type instruction zero-extends the given immediate then bitwise XNORs it with RF[rs](XNOR is the complement of the XOR operation, returns 1 if either both bits are zero or both bits are one)
The result is written into RF[rt]. Example: xori $t0, $t1,0x0040.
Make any additions or changes to the datapath

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!