Computer Science > QUESTIONS & ANSWERS > CSEE W3827 Fundamentals of Computer Systems Homework Assignment 5 Solutions/ALL ANSWERS CORRECT,100% (All)

CSEE W3827 Fundamentals of Computer Systems Homework Assignment 5 Solutions/ALL ANSWERS CORRECT,100% SCORE

Document Content and Description Below

CSEE W3827 Fundamentals of Computer Systems Homework Assignment 5 Solutions Prof. Stephen A. Edwards Columbia University Due November 29th, 2011 at 10:35 AM Show your work for each problem; we ... are more interested in how you get your answer than whether you get the right answer. his study rce wasshared via CourseHero.com1. (10 pts.) How many seconds would it take to execute a program with 4.5 × 109 instructions on a 3 GHz processor able to run at 0.9 CPI? 4.5 × 109 instructions · 0.9 cycles instruction 3 × 109 cycles second = 1.35 s 2. (30 pts.) Modify the single-cycle MIPS processor shown on the next page to implement the lb (“Load byte”) and lbu (“Load Byte Unsigned”) instructions. They are encoded as shown below lb rt, offset(base) LB base rt offset 1 0 0 0 0 0 lbu rt, offset(base) LBU base rt offset 1 0 0 1 0 0 These instructions add the contents of the base register to a sign-extended offset immediate to form an address, fetch a byte from that address, and finally write the byte into the rt register. The two instructions differ in how they handle the top 24 bits. lb treats the byte as a signed value and sign-extends the most significant bit of the byte across the top 24 bits; lbu treats the byte as unsigned and simply fills the top 24 bits of rt with 0’s. Start from the base single-cycle processor shown on the next page and add components to the datapath, name any new control signals, and show how to add to or modify the main decoder to accommodate these new instructions. his study rce wa [Show More]

Last updated: 2 years ago

Preview 1 out of 14 pages

Buy Now

Instant download

We Accept:

We Accept
document-preview

Buy this document to get the full access instantly

Instant Download Access after purchase

Buy Now

Instant download

We Accept:

We Accept

Reviews( 0 )

$7.00

Buy Now

We Accept:

We Accept

Instant download

Can't find what you want? Try our AI powered Search

87
0

Document information


Connected school, study & course


About the document


Uploaded On

Apr 23, 2021

Number of pages

14

Written in

Seller


seller-icon
Expert Tutor

Member since 4 years

58 Documents Sold

Reviews Received
6
2
0
0
3
Additional information

This document has been written for:

Uploaded

Apr 23, 2021

Downloads

 0

Views

 87

Document Keyword Tags


$7.00
What is Scholarfriends

In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Scholarfriends · High quality services·