Question

In: Computer Science

A RISC processor that uses the five-stage instruction fetch and execution design is driven by a...

A RISC processor that uses the five-stage instruction fetch and execution design is driven by a 1-GHz clock. Instruction statistics in a large program are as follows:

Branch                                                20%

Load                                                    30%

Store                                                    10%

Computational instructions                40%

Please answer the following questions.

1-Assume 80% of the memory access operations are in the cache, and 20% are in the main memory. A cache miss has a 3-cycle penalty. What is the instruction throughput for non-pipelined execution?

2- Assume there are an instruction cache and a data cache. For both caches, a cache miss stalls the pipeline for 3 cycles. Assume the cache hit rate for the instruction cache is 85%. 80% of the Load instructions load data from the data cache, while 20% of them load data from the main memory. 40% of the Store instructions store data into the data cache, while 60% of them store data into the main memory. What is the instruction throughput for pipelined execution?

3-Assume all memory accesses are cache hit. 20% of the Load instructions are followed by a dependent computational instruction, and 30% of the computational instructions are also followed by a dependent computational instruction. 20% of the branch instructions are unconditional, while 80% are conditional. 40% of the conditional branches are taken, 60% are not taken. The penalty for taking the branch is one cycle. If data forwarding is allowed, what is the instruction throughput for pipelined execution?

Solutions

Expert Solution



Related Solutions

At the initial stage of each instruction cycle, the processor fetches an instruction from memory. The...
At the initial stage of each instruction cycle, the processor fetches an instruction from memory. The processor interprets the instruction and performs the required action. Provide illustration of the process with a thorough explanation on the rudimentary instruction cycles the processor follows to execute fundamental instructions. Discuss how this processor interacts with the cache memory to give output speedily.
Design and write a verilog code and testbench for a 16-bit RISC MIPS Processor on vivado...
Design and write a verilog code and testbench for a 16-bit RISC MIPS Processor on vivado and show waveform.
Consider the design of a processor, with a max instruction length of 600 ps. The propagation...
Consider the design of a processor, with a max instruction length of 600 ps. The propagation delay to load a register is 25 ps What is the minimum clock cycle time, the instruction latency and CPU throughput using serial execution? What is the minimum clock cycle time, the instruction latency and CPU throughput using a pipelined execution with 8 equal stages? Consider a design which used n equal stages. What is the minimum clock cycle time, the instruction latency and...
How does pipelining a processor affect instruction latency and throughput? Compare a basic 5 stage pipelined...
How does pipelining a processor affect instruction latency and throughput? Compare a basic 5 stage pipelined processor to a non-pipelined processor, show equations if necessary
Design a16-bit RISC MIPS Processor. Develop modules, a block diagram, Verilog codes used, and the waveforms...
Design a16-bit RISC MIPS Processor. Develop modules, a block diagram, Verilog codes used, and the waveforms screen-prints.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT