

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Information about quiz 4 for the ece 337 fall 2008 course, focusing on microarchitecture improvements and pipelining stages in mic-2, mic-3, and mic-4. It includes questions about the differences between these microarchitectures, true dependencies, and microcode for implementing a jvm instruction.
Typology: Quizzes
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Name: ECE 337 Fall 2008
Quiz 4 (25 points)
10/31/2007, Friday
–Remove decoder to speed execution –Reduce interpreter loop with microcode –Three bus architecture –Instruction fetch unit
There are four-stage pipeline in Mic-3. Instruction Fetch Unit ALU Input Buses ALU/Shifter ALU Output Bus
There are seven-stage pipeline in Mic-4. Three of them are in the control unit, four of them are in the data path.
Instruction Fetch Unit Decoding Unit Queuing Unit ALU Input Buses ALU/Shifter ALU Output Bus Write back to Memory
Mic-3 has Compiled Control Store Addresses Mic-4 has Look up Control Store Addresses in two ROMs.
The situation that a microstep cannot start because it is waiting for a result that a previous microstep has not yet produced is called true dependence or a RAW dependence.
One possible solution is:
dstore 1 MAR = MBR1U + LV + 1 // local variable i+1 location dstore 2 MDR = TOS, wr // save the top-of-stack data to local //variable i+ dstore 3 MAR = SP = SP-1, rd // SP point to the next-to-top, read // data from next-to-top dstore 4 (empty) dstore 5 MAR = MBR1U + LV; wr // data from next-to-top is saved to // local variable i dstore 6 MAR = SP = SP-1, rd // update SP and TOS dstore 7 (empty) dstore 8 TOS = MDR; go to (MBR1)