Question: These ares still wrong in some aspect please help 1 2 pts ) Consider a datapath similar to the one in Figure 4 . 2

These ares still wrong in some aspect please help
12 pts) Consider a datapath similar to the one in Figure 4.21 or slide 24. Assume that logic
blocks needed to implement a processors datapath have the following latencies:
I-Mem Add Mux ALU Regs D-Mem Sign-Extend Shift-Left-2
I-Mem Add Mux ALU Regs D-Mem Imm-Gen Shift-Left-1
250ps 150ps 25ps 200ps 150ps 250ps 50ps 30ps
a.(2 pts) What is the latency of a R-type instruction (i.e., how long must the clock period be
to ensure that this instruction works correctly)?
250ps (I-Mem)+150ps (Add)+25ps (Mux)+200ps (ALU)+150ps (Regs)+250ps (D-
Mem)=1025ps
b.(2 pts) What is the latency of ld?
250ps (I-Mem)+150ps (Add)+25ps (Mux)+200ps (ALU)+250ps (D-Mem)+150ps
(Regs)=1025ps
c.(2 pts) What is the latency of beq?
250ps (I-mem)+150ps (Add)+200ps (ALU)+25ps (Mux)+50ps (Imm-Gen)+30ps
(Shift-L-I)+150ps (Add)=855ps
d.(2 pts) What is its latency of the following I-type instruction?
addi x10, x11,128
What is its latency?
250ps (I-Mem)+150ps (Add)+25ps (Mux)+200ps (ALU)+150ps (Regs)+50ps
(Imm-Gen)+30ps (Shift-L-1)=855ps
e.(4 pts) Describe the execution flow of a sd instruction. What is its latency?
250ps (I-Mem)+150ps (Add)+25ps (Mux)+200ps (ALU)+150ps (Regs)+50ps
(Imm-Gen)+30ps (Shift-L-1)+150ps (Add)+25ps (Mux)+200ps (ALU)+150(Regs)
+250ps (Imm-Gen)=1630ps

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!