Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Problem 3 15 points Suppose we have a single-cycle datapath implementation (refer to the previous figure) with the following properties Reading or writing to instruction
Problem 3 15 points Suppose we have a single-cycle datapath implementation (refer to the previous figure) with the following properties Reading or writing to instruction or data memory takes 8ns Reading or writing to register file takes 5ns ALU operations take 4ns Assume that all other operations take negligible time a) Calculate how long it takes for a sw instruction to finish (approximately). b) Calculate how long it takes for a lw instruction to finish (approximately). c) Based on these answers, what is the minimum cycle time possible for a single-cycle implementation that can handle both instructions? d) Now suppose use a pipelined datapath with 5 stages (IF, ID, EX, MEM, WB). Assume that the time required for reading/writing to instruction memory, data memory, register file, ALU operations remains unchanged, and the time required for new operations (e.g., reading writing to pipeline registers) is negligible. What should be the minimum cycle time for the five-stage pipelined architecture? Why? e) Calculate how long it takes for a lw and sw instructions to execute (from the time they enter pipeline to the time they leave it)
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