Question
Assume that the new instruction called store sum (SS) needs to be added to LEGv8 instruction set. In this question, you have to describe changes
Assume that the new instruction called store sum (SS) needs to be added to LEGv8 instruction set. In this question, you have to describe changes needed for single-cycle datapath and control logic to implement this new instruction. The instruction description is as follows: SS Rd, Rm, Rn: Mem[Reg[Rd]]=Reg[Rn]+Reg[Rm]; Assume that the positions of the register fields (Rd, Rn, Rm) within the instruction are the same as in the R-format instructions shown on slide 23 of ISA section lecture notes. Answer the following questions: a) [10%] Describe the operation of this new instruction step-by-step showing what data transfers occur and what operations are being performed. b) [10%] Describe the changes needed for the processor datapath (shown on Figure 4.23 and slide 29) to implement this new instruction. Depict these changes on a datapath figure. You can draw only relevant parts. c) [10%] Describe changes needed for the control logic, including any new control signals. Use the format similar to Figure 4.18 in the book to present your changes.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started