Eclip 3. (10 points) Assume you want to add the instruction pop to the MIPS inst
ID: 3736808 • Letter: E
Question
Eclip 3. (10 points) Assume you want to add the instruction pop to the MIPS instruction set. te This instruction interpretation is as follows: where the ".:" in the specification above give the order of the microoperations when the in- struction is executed (i.e. memory access use the value of Rirs] before being decrementecd by 4). In order to allow this instruction to execute on the single cycle datapath, modifications are needed. Find minimum modifications to the datapath to allow for instruction execu- Scree . 2018-01 tion making sure to give the following as part of your solution: A short description of the idea of your solution and why it is needed. Hint: modif cation should still allow other instruction to ezecute correctly by setting appropriate Show the modification to data path using blocek diagrams with control signals (as .If new functional units are needed, give a verilog code that describe the implemen- control signals appropriate). tation of these units. Hint: Multiplezers are not consider as functional units, so no need to give their verilog code PM 2018-03Explanation / Answer
To add POP the value of control signals required is :
RegWrite = 1
ALUSrc = 1
MemWrite = 1
MemRead = 0
MemToReg = 0
PCSrc = 0,
and ALUOp = add
Please ask 2nd question as a separate query.
Hope ans to ques 1 helps u.
Thanks-
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.