3055fb - Score Name Count Final_Y_N ECE 3055 Final Exam...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Score:__________ Name:__________________________ Count Final:___Y___N ECE 3055 Final Exam – August 1, 2001 1 . (5 points) Discuss the approaches that could be taken with deadlocks in an 0S. Explain each approach. 2. (5 points) Discuss the advantages and disadvantages of an indexed file . 3. (5 points) How could the burst time be estimated in a real system?
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
4 . ( 10 points ) The following sequence of MIPS instructions is clocked into the MIPS single cycle pipeline shown on page 472-476. Examine this figure carefully to see exactly where each signal is located (i.e. before or after pipeline registers). After Clock cycle 5, Indicate the resulting register values in the spaces provided below. All numbers are in hex. Memory location 1 contains 5A5A5A5A. Assume that each register contains a value equal to the register number prior to execution of this code. addi $4,$6,32 xor $3,$5,$2 sw $3,1 and $8,$5,$2 srl $8,$7,3 Instruction = __________________________________ Read Data 1 = _________________________________ Read Data 2 = _________________________________ ALU Result = __________________________________ (Data Memory) Word Address = ______________ Write Register (Address) = _____________________ Write Data (input at register file after mux) = __________________________________ Memread = ________________________ RegWrite = _____________________ Memtoreg = ________________________
Background image of page 2
5. ( 20 points ) The program below is executed on the 5 stage pipelined MIPS described in chapter 6. Answer the following questions about this program. loop: sw $5,100($0) lw $3,200($5) or $8,$2,$3 sub $5,$8,$2 add $8,$7,$5 lw $8,100($5) bne $8,$0,loop Part I ( 5 points ) If the control unit does not have any hazard detection, forwarding or branch flushing, rewrite the code sequence by adding the minimum number of NOP instructions to eliminate all potential
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/10/2009 for the course ECE 3055 taught by Professor Staff during the Fall '08 term at Georgia Tech.

Page1 / 8

3055fb - Score Name Count Final_Y_N ECE 3055 Final Exam...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online