Explore BrainMass
Share

add hardware to ALU

This content was STOLEN from BrainMass.com - View the original, and get the solution, here!

The MIPS ALU (see enclosed figure) is extended to support an instruction "set-on-not-equal-signs". The instruction 'snes $rd, $rs, $rt' is similar to 'slt'. It sets $rd to '1' if the sign bit of $rs sign bit of $rt. Your task is to add the minimum required hardware to the ALU so that this instruction is executable in one execute cycle (that is one cycle not counting the fetch and execute).

© BrainMass Inc. brainmass.com September 24, 2018, 4:24 am ad1c9bdddf - https://brainmass.com/computer-science/hardware/add-hardware-to-alu-235547

Solution Summary

The MIPS ALU (see enclosed figure) is extended to support an instruction "set-on-not-equal-signs". The instruction 'snes $rd, $rs, $rt' is similar to 'slt'. It sets $rd to '1' if the sign bit of $rs sign bit of $rt. Your task is to add the minimum required hardware to the ALU so that this instruction is executable in one execute cycle (that is one cycle not counting the fetch and execute).

$2.19