Jump to content

Computer Architecture [Cache Memory]


Recommended Posts

Posted

Can anyone solve this exercise? 

[GR]

4. Έστω μία κρυφή μνήμη με τις παρακάτω παραμέτρους. Μέγεθος γραμμής
(cache block/line) b λέξεις, Αριθμός σετ S, Associativity (αριθμός ways) N, Αριθ-
μός bit διεύθυνσης A.
(αʹ) Χρησιμοποιώντας τις παραπάνω παραμέτρους, ποιά είναι η χωρητικότητα
της κρυφής μνήμης, C; [5 βαθμοί ]
(βʹ) Ποιός είναι ο συνολικός αριθμός bits που απαιτούνται για να αποθηκευθούν
τα tags; [5 βαθμοί ]
(γʹ) Υπολογίστε τα S, N για μία fully-associative κρυφή μνήμη με χωρητικότητα
C λέξεις και μέγεθος γραμμής b. [5 βαθμοί ]
(δʹ) Υπολογίστε το S για μια direct-mapped κρυφή μνήμη χωρητικότητας C
λέξεων με μέγεθος γραμμής b. [5 βαθμοί ]

 

[EN]

Assume a cache memory with the following parameters:

cache block/line: b words

Number of sets: S

Associativity (ways number): N

Number of bits per address: A

a) Using these parameters whats the capacity of this cache?

b) What is the total number of bits that required in order to save/store the tags?

c) Calculate S,N for a fully-assiciative cache with capacity C words and line size b

d) Calculate S for a direct-mapped cache memory with capacity C words with line size b.

Posted
6 hours ago, bravetobe said:

Αστο φιλε πολυ αργα κοπηκα ηδη :P 

 

thanks anyway :)

 

#locktopic

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..