Will ask question twice so the question will be worth 3000 points. 6 instruction
ID: 2988148 • Letter: W
Question
Will ask question twice so the question will be worth 3000 points.
6 instruction processor circuit --Extending the Control-Unit and Datapath
The load constant instruction requires that the register file be able to load data from IR[7..0], in addition to data from data memory or the ALU output. Thus, we widen the register file's multiplexer from 2 times 1 to 3 times 1, add another mux control signal, and also create a new signal coming from the controller labeled RF_W_data, which will connect with IR[7..0]. The subtract instruction requires that we use an ALU capable of subtraction, so we add another ALU control signal. The jump-if-zero instruction requires that we be able to detect if a register is zero, and that we be able to add IR[7..0] to the PC. We insert a datapath component to detect if the register file's Rp read port is all zeros (that component would just be a NOR gate). We also upgrade the PC register so it can be loaded with PC plus IR[7..0]. The adder used for this also subtracts 1 from the sum, to compensate for the fact that the Fetch state already added 1 to the PC.Explanation / Answer
Not sure
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.