Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Machine A is based on a single-cycle design with a fixed clock. Consider the following operation times for its major functional units: ALU and adders:
- Machine A is based on a single-cycle design with a fixed clock. Consider the following operation times for its major functional units:
- ALU and adders: 200 ps
- Memory Units: 300 ps
- Register file (read or write): 100 ps
Assuming that the control unit, Program Counter (PC) access, multiplexors, sign extension unit, and wires have no delays, determine machine A's clock cycle for executing the following MIPS code:
lw $s1, 100($s2) # $s1 Memory[$s2 + 100]
sw $s3, 100($s4) # Memory[$s4 +100] $s3
add $s1, $s2, $s3 # $s1 $s2 + $s3
beq $s1, $s2, 25 # if ($s1 == $s2) go to PC + 4 + 100
j 2500 # Go to 10000
Step 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