A microprocessor has Five internal units: IF, ID, OF, EX and ST. Each processing unit takes one unit of time to complete
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
A microprocessor has Five internal units: IF, ID, OF, EX and ST. Each processing unit takes one unit of time to complete
A microprocessor has Five internal units: IF, ID, OF, EX and ST. Each processing unit takes one unit of time to complete. Suppose that hazards are recognized at the ID in the pipeline, but that subsequent instructions are allowed to pass through the pipeline. Assume 2-way memory interleaved. Assume only IF, OF, and ST require memory accesses. Calculate the overall processing unit of time for the following sequence of instructions. Show your work using the matrix provided. 1) LD R1, [100] /* Rs are local register in CPU */ 2) LD R2, [200] /* [xx] means location in memory */ 3) ADD [200], [200], R2 4) ST [300], R1 5) LD R1, [300] 6) ADD [300],[300], R1 7) LD R2, [300] 8) ADD [300],[100], R2 ST EX OF ID IF
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!