{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# Q6 Solution - Name Student Number Trent University Computer...

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

Name: ______________________ Student Number: _____________________ Trent University Computer Science 230H Fall 2007 Quiz #6 Memory Total of 15 marks Open Text Book Duration: 1 hour 1) Consider a computer system that uses a 64-bit word and has the following main memory address format when using direct mapping: Tag Line Word 13 10 3 a) [1 mark] What is the format of the main memory address using associative mapping? Tag Word 23 3 b) [1 mark] What is the format of the main memory address using set associative mapping with 4 lines per set? Tag Set Word 15 8 3 c) [2 marks] What is the size of a block in bytes? 2 3 * 2 3 = 2 6 = 64 bytes d) [2 marks] What is the size of the cache in bytes? 2 10 * 2 6 = 2 16 = 64 Kbytes e) [2 marks] What is the size of the main memory in bytes? 2 23 * 2 6 = 2 29 = 512 Mbytes f) [2 marks] Give the address format for direct mapping if we double the size of the block. Block has 16 words Cache has 2 9 lines Tag Line Word 13 9 4 1

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

View Full Document
Name: ______________________ Student Number: _____________________ g) [1 mark] In a two-level memory system access time to Level 1 is 2ns and access time to
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern