Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

4.7: Problems in this exercise assume that the logic blocks used to implement a processor's datapath have the following latencies. Register read is the time

4.7: Problems in this exercise assume that the logic blocks used to implement a processor's datapath have the following latencies. Register read is the time needed after the rising clock edge for the new register value to appear on the output. This value applies to the PC only. Register setup is the amount of time a registers data input must be stable before the rising edge of the clock. This value applies to both the PC and Register File.

4.7.1 [20] Although the control unit as a whole requires 50 ps, it so happens that we can extract the correct value of the Reg2Loc control wire directly from the instruction. Thus, the value of this control wire is available at the same time as the instruction. Explain how we can extract this value directly from the instruction. (Hints: Carefully examine the opcodes shown in Figure 2.20. Also, Remember that LSR and LSL do not use the Rm field. Finally, ignore STXR.)

4.7.2 [5] What is the latency of an R-type instruction (i.e., how long must the clock period be to ensure that this instruction works correctly)?

4.7.3 [10] What is the latency of LDUR?

4.7.4 [10] What is the latency of STUR?

4.7.5 [5] What is the latency of CBZ?

4.7.6 [5] What is the latency of B?

4.7.7 [5] What is the latency of an I-type instruction?

4.7.8 [5] What is the minimum clock period for this CPU?

image text in transcribed

Figure 2.20 is shown below:

image text in transcribed

The problem also appears to reference the datapath shown in Figure 4.15:

image text in transcribed

4.7 Problems in this exercise assume that the logic blocks used to implement a processors datapath have the following latencies: -Mem Register D-Mem File Mux ALU Adder gate Read Setup extend Control Single Register Register Sign 250ps 150ps 25ps 200ps 150ps 5ps 30ps 20 ps 50ps 50ps "Register read" is the time needed after the rising clock edge for the new register value to appear on the output. This value applies to the PC only. "Register setup" is the amount of time a registers data input must be stable before the rising edge of the clock. This value applies to both the PC and Register File. 4.7.1 [20] Although the control unit as a whole requires 50ps, it so happens that we can extract the correct value of the Reg2Loc control wire directly from the instruction. Thus, the value of this control wire is available at the same time as the instruction. Explain how we can extract this value directly from the instruction. Hints: Carefully examine the opcodes shown in Figure 2.20. Also, remember that LSR and LSL do not use the Rm field. Finally, ignore STXR. 4.7.2 [5] What is the latency of an R-type instruction (i.e., how long must the clock period be to ensure that this instruction works correctly)? 4.7.3 [10] What is the latency of LDUR? (Check your answer carefully Many students place extra muxes on the critical path.) 4.7.4 [10] What is the latency of STUR? (Check your answer carefully Many students place extra muxes on the critical path.) 4.7.5 [5] What is the latency of CBZ? 4.7.6 [5] What is the latency of B? 4.7.7 [5] what is the latency of an I-type instruction? 4.7.8 [5] What is the minimum clock period for this CPU

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems On GPUs In Databases

Authors: Johns Paul ,Shengliang Lu ,Bingsheng He

1st Edition

ISBN: 1680838482, 978-1680838480

More Books

Students also viewed these Databases questions

Question

1. Which is the most abundant gas presented in the atmosphere?

Answered: 1 week ago

Question

4. Support and enliven your speech with effective research

Answered: 1 week ago

Question

3. Choose an appropriate topic and develop it

Answered: 1 week ago