ECE 313 Computer Organization Name FINAL EXAM December 14 ...
ECE 313 Computer Organization Name FINAL EXAM December 14 ...
ECE 313 Computer Organization Name FINAL EXAM December 14 ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>ECE</strong> <strong>313</strong> <strong>Computer</strong> <strong>Organization</strong><strong>Name</strong><strong>FINAL</strong> <strong>EXAM</strong> <strong>December</strong> <strong>14</strong>, 20044. Pipelined Processor Design 20 PointsAssume that the register file is modified to add a second write port, with inputs WN2(selects the register to be written), WD2 (write data), and RegWrite2 (write enable). Modifythe pipelined processor datapath and control to implement the l_inc instruction .(a) Mark any changes to the datapath (including any additional hardware that you need) onthe diagram on the next page. In addition, show all control outputs in the table below:Instr.l_incRegDstALUOp1EX StageControl LinesALUOp0ALUSrcBranchMEM StageControl LinesMemReadMemWriteRegWriteWB StageControl LinesMemtoReg(b) Suppose that an additional write port cannot be added to the register file. Brieflydescribe how the l_inc instruction could still be implemented with the pipelineddesign. What impact would this change have on performance?Page 4 of 8