Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Didattica > Corsi A - F > Architettura degli elaboratori e delle reti > [Pedersini] Esercizio Cache
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Joy88
.consigliere.

User info:
Registered: Jan 2008
Posts: 101 (0.02 al dì)
Location: ~Milano
Corso: Informatica
Anno:
Time Online: 1 Day, 10:27:00: [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Exclamation [Pedersini] Esercizio Cache

Ciao!
Ho alcuni dubbi sull'esercizio n° 5 dell'appello del 28 Set 2007.
Ve lo scrivo:
Si progetti e si disegni lo schema dettagliato (esplicitando le dimensioni di tutti i campi di una memoria cache 2 Associativa che serve un processore con bus dati di 8 bit e bus indirizzi di 20 bit. La capacità totale della cache sia di 16KB e la dimensione del blocco di 16 parole.

Io ho provato a svolgerlo così:
Capacità cache 16KB= 2^14 =2^7 * 2^7;
2^7 /1 = 64 word;
Ogni blocco è di 16 word quindi 64/16= 2^2 blocchi: Da qui so che i bit di indice sono 2.
Nel bus dati ci sono parole da 2^1 bit quindi il BO è di 1 bit.
Il blocco è di 2^4 parole quindi ho 4 bit di WO.
Il tag è uguale a 20-4-1-2= 13 bit.

Ora vi chiedo: l'esercizio è corretto?
E' così che deve essere fatto?! :?:?:?:?
Grazie a tutti!!!:-D
*Joy*

16-06-2008 16:07
Click Here to See the Profile for Joy88 Click here to Send Joy88 a Private Message Find more posts by Joy88 Add Joy88 to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Marcoverga
.precettore.

User info:
Registered: Feb 2006
Posts: 88 (0.01 al dì)
Location: Grignasco
Corso: Informatica
Anno: 3
Time Online: 17:25:44 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged

Ma se la cache è 2-associativa non dovrebbero esserci 2 blocchi?
Se in ogni blocco ci sono 16 word ci sono 32 word, quindi 6 bit per l'indice...
Quindi il tag è di 20 - 6 - 2(unused) = 12 bit...

A me è venuto così, ma non so quanto possa essere giusto...

02-09-2008 15:34
Click Here to See the Profile for Marcoverga Click here to Send Marcoverga a Private Message Visit Marcoverga's homepage! Find more posts by Marcoverga Add Marcoverga to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 15:20.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.026 seconds (80.06% PHP - 19.94% MySQL) con 22 query.