Name:____________________________ Name:_ CMIS 310 HOMEWORK #5 – Week #5 This homework is worth 10% of your course grade. Read each problem carefully. Failure to follow the instructions for a problem...

All details attached in the documents.


Name:____________________________ Name:_ CMIS 310 HOMEWORK #5 – Week #5 This homework is worth 10% of your course grade. Read each problem carefully. Failure to follow the instructions for a problem will result in a zero score for that problem. Submit the completed Homework via Assignment in LEO. 1. Do Exercise 2 in Chapter 6 (Memory) of Null and Lobur · 2^32/^2^5=227blocks · 32 bit address with 17 bit in the tag field, 10 block field and 5 in the word field Tag= 10 Block=10 word=5 · To which cache block will the memory reference 000063FA16 map? 000063FA = 1100011111 11010 —> Block 799 2. Do Exercise 5 in Chapter 6 (Memory) of Null and Lobur 3. Do Exercise 8 in Chapter 6 (Memory) of Null and Lobur · If this cache is 2-way set associative, what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, set, and word fields? Number of Lines in Set = 2 Number of Sets = 2^t / (2^w * k) = 256 / (4*2) = 32 —> 5 bits therefore set bits = 5, word bits = 2, tag = 1 bit 4. Do Exercise 10 in Chapter 6 (Memory) of Null and Lobur 5. Do Exercise 18 in Chapter 6 (Memory) of Null and Lobur PAGE 1 Name:____________________________ Name: Fathu-deen Njai CMIS 310 HOMEWORK #4 – Week #4 This homework is worth 10% of your course grade. Read each problem carefully. Failure to follow the instructions for a problem will result in a zero score for that problem. Submit the completed Homework via Assignment in LEO. 1. Do Exercise 2 in Chapter 5 (A Closer Look at Instruction Set Architectures) of Null and Lobur a. Address 1016 1116 1216 1316 BE 45 67 89 A1 LE A1 89 67 45 b. Address 1016 1116 1216 1316 BE 00 00 05 8A LE 8A 05 00 00 c. Address 1016 1116 1216 1316 BE 14 14 88 88 LE 88 88 14 14 2. Do Exercise 12 in Chapter 5 (A Closer Look at Instruction Set Architectures) of Null and Lobur a. X Y x W Z x V U x + + b. W X x W U V x Z + x + c. W X Y U V x x + x U X Y + x / 3. Do Exercise 14 in Chapter 5 (A Closer Look at Instruction Set Architectures)of Null and Lobur a. W x (X + Y - Z) b. U + (V x (W + (X x (Y + Z)))) c. X + ((Y + Z) x (V - W) + Z) 4. Do Exercise 22 in Chapter 5 (A Closer Look at Instruction Set Architectures) of Null and Lobu Mode Value Loaded into AC Immediate 500 Direct 100 Indirect 600 Indexed 800 5. Do Exercise 28 in Chapter 5 (A Closer Look at Instruction Set Architectures)of Null and Lobur a. 3 bits (23 = 8) b. 6 bits (26 = 64) c. 256K = 28210 = 218, or 18 bits d. 32 - (3 + 6 + 18) = 5 bits PAGE 1
Sep 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here