Homework 3 f08

Homework 3 f08 - LSU EE 4720 Homework 3 Solution Due 29...

This preview shows pages 1–3. Sign up to view the full content.

LSU EE 4720 Homework 3 Solution Due: 29 October 2008 Problem 1: Two MIPS implementations appear below, the frst is the one presented in class, it will be called the mux-in-EX implementation . The second, the mux-in-ID implementation , has the ALU input multiplexers in the ID stage, to better balance critical paths. The clock Frequency oF the mux-in-EX implementation is 1 GHz and the clock Frequency oF the mux-in-ID implementation is 1 . 1 GHz. format immed IR Addr 25:21 20:16 IF ID EX WB ME rsv rtv IMM NPC ALU Addr Data Data Addr D In +1 PC Mem Port Addr Data Out Addr Data In Mem Port Data Out rtv ALU MD dst dst dst Decode dest. reg NPC = 30 2 2’b0 + 15:0 25:0 29:26 29:0 0 1 15:0 format immed IR Addr 25:21 20:16 IF ID EX WB ME NPC ALU Addr Data Data Addr D In +1 PC Mem Port Addr Data Out Addr Data In Mem Port Data Out rtv ALU MD dst dst Decode dest. reg a l u 1 = 30 2 2’b0 + 15:0 25:0 29:26 29:0 0 1 15:0 alu1 alu2 dst NPC ( a ) With this change some oF the ALU multiplexer inputs are unnecessary. Show which inputs are unnecessary and explain why. The WB bypass multiplexer inputs are unnecessary because the register fle can already bypass From the data in port (which connects to WB) to the data out port. Problem continued on next page. 1

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

View Full Document
( b ) The code below computes the sum of the low 12 bits of elements in an integer array. Compute the performance, in array elements per second, of this code for both the mux-in-EX system and
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/01/2009 for the course EE 4720 taught by Professor Staff during the Spring '08 term at LSU.

Page1 / 3

Homework 3 f08 - LSU EE 4720 Homework 3 Solution Due 29...

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

View Full Document
Ask a homework question - tutors are online