Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 5: The Negator (group, 20 points) - Lecture 11 needed You have decided to replace the noop in the the LC2K ISA with a
Problem 5: The Negator (group, 20 points) - Lecture 11 needed You have decided to replace the noop in the the LC2K ISA with a new instruction, neg, defined as follows: negregBoffset//mem[offset]=regB Read the value of regB and store negative regB into the memory address offset. Example: neg 244//mem[4]=r2 To support this new instruction, you have to modify the above multicycle datapath. (1) To support neg instruction, you can only modify the MUXes and add only one new MUX (and add any necessary connections to them) in the table below. Note that none of the MUXes should have more than four inputs to them. Describe your changes to datapath below. To receive full credit, the new datapath should be able to execute neg in 5 cycles. (2) Write the control signals for all the cycles needed for the "neg" instruction on the modified datapath after your connections have been added. You can assume the following things: - The top mux input is selected when all mux control bits are 0 - All connections added to any mux are added at the bottom of the mux - The number of select bits for extended muxes may need to be increased from the original mux - Mem (r/w): 0 for read, 1 for write - ALU (op): 0 for add and 1 for nor Note:. If you've added more inputs to the MUX, make sure the number of control bits for the modified mux is correct
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