Problems in this exercise assume that logic blocks needed to implement a processors datapath have the following

Question:

Problems in this exercise assume that logic blocks needed to implement a processor€™s datapath have the following latencies:

Add Sign-Extend I-Mem Mux ALU Regs D-Mem Shift-Left-2 200ps 70ps 20ps 90ps 250ps 15ps 10ps 90ps

1. If the only thing we need to do in a processor is fetch consecutive instructions (Figure 4.6), what would the cycle time be?

Figure 4.6

Add Read PC address Instruction Instruction memory

2. Consider a datapath similar to the one in Figure 4.11, but for a processor that only has one type of instruction: unconditional PC-relative branch. What would the cycle time be for this datapath?

3. Repeat 4.4.2, but this time we need to support only conditional PC-relative branches. The remaining three problems in this exercise refer to the datapath element Shift - left -2:

4. Which kinds of instructions require this resource?

5. For which kinds of instructions (if any) is this resource on the critical path?

6. Assuming that we only support beq and add instructions, discuss how changes in the given latency of this resource affect the cycle time of the processor. Assume that the latencies of other resources do not change.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: