:
chegg.com
ENUS
RISCV
RISCV
Consider the design of the stage RISCV pipeline shown below. Suppose we want to add a new Rtype instruction to this design:
Reg Reg
Its binary representation follows. Note the code same add, sub, and and.
From Chapter also know that the ALU can support the setlessthan operation setting the ALUctr signals
need add any new circuit blocks wires the design? Give your reasons.
need make any change the main control "Control"? need only describe your ideas. There need show the truth table logic design.
need make any change the "ALU control"? need only describe your ideas. There need show the truth table logic design.
Suppose want stall the instruction the stage and all the instructions following for one cycle and insert a "bubble" before What should the pipeline registers?
Explain why setting the control signals turns instruction into a NOP instruction?
Suppose can only determine the outcome and target address a beq the stage. How many "bubbles" need insert ensure correct execution when branch taken? Why?
Suppose when the stage tries fetch instruction from the instruction memory, encounters a miss and exception raised, how does the processor circuit work handle the exception? that the pipeline has two extra registers: SCAUSE and SEPC handle exceptions.
Show Image Transcript