Answered step by step
Verified Expert Solution
Question
1 Approved Answer
lw $2, 100($1) add $3, $1, $2 lw $4, 100($2) and $1, $4, $2 slt $2, $1, $5 How many clock cycles are required to
lw $2, 100($1)
add $3, $1, $2
lw $4, 100($2)
and $1, $4, $2
slt $2, $1, $5
How many clock cycles are required to execute the instructions on the given datapath?
I think the answer is 11 cycles, not sure. PLEASE SHOW ALL WORK.
PC Instruction memory FID Hazard ID/EX MemRead detection A unit D/EX EX/MEM Control uH M WB MEM/WB WB u Registers ALU Data memory F/ID.Re sterRs FID.Re sterRt FID.Re sterRt IF/ID. RegisterRd DIEX.Re sterRt RS Forwarding unitStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started