Draw a complete datapath for 5 staged (IF, ID, EX, MEM, WB)
Chapter8: Data And Network Communication Technology
Section: Chapter Questions
Problem 11RQ
Related questions
Question
Draw a complete datapath for 5 staged (IF, ID, EX, MEM, WB) single-cycle operation that can perform the MIPS code given below. Show the connectivity and the bus width of the connections (in bits)s. Clearly indicate all ALU and Master control signals necessary to implement the
datapath.
MIPS Code:
lw $t0, 0($zero) % load x from Memory
add $t1, $zero, $zero
add $t2, $zero, $zero
L1: beq $t1, $t0, L2% compare i& x
add $t2,$t2, $t1
add $t2,$t2, $t1
addi$t1,$t1, 1
beq$zero, $zero, L1% go back to the loop
L2:sw $t2, 4($zero) % store result to Memory
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning