Jump to content

Computer Architecture [Cache Memory]


Solomun

Recommended Posts

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.

Link to comment
Share on other sites

6 hours ago, bravetobe said:

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

 

thanks anyway :)

 

#locktopic

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...