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 > Problema esercizio - registri pipeline
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
-Oblivion-
.primate.

User info:
Registered: Nov 2006
Posts: 67 (0.01 al dì)
Location: Seriate
Corso: Informatica
Anno: Quarto [Furoi corso]
Time Online: 22:52:11 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Problema esercizio - registri pipeline

Ciao a tutti, ion son svampito e non mi è chiaro un esercizio, come svolgerlo.

Per esempio:

Dato il seguente segmento di codice:
add $s0, $t1, $t2
beq $t2, $s2, oltre
sub $t0, $t1, $s2
sw $t2, 0($s0)
addi $s3, $s3, 64

Scrivere il contenuto di tutti i registri di pipe-line quando l’istruzione addi $s3, $s3, $s3 si trova al termine
della fase di fetch [5]. I codici operativi sono: sw: 43, beq: 4, addi: 8, add (funct) 32, sub (funct) 34, $t0 =
$8, $s0 = $16.
--------------------------------------------

Tralasciamo il fatto che credo avesse voluto scrivere addi s3, s3, 64 invece di s3, s3, s3 ... cmq


Prendiamo il registro if/id
COntinete pc+4 e l'istruzione s3, s3. 64 non acnora codificata, giusto?! questo devo scrivere?

Prendiamo ex/mem
All'interno vi è il risultato dell'alu ches volge l'operazione t1-s2 e rd (in questo caso t0)

Scritto così va bene? se no cosa dovrei scrivere?
Inoltre se ci dov'essere essere un hazard, devo dirlo? Devo specificare che in quel caso i contenuti di un determinato registro sono a 0 per via dell'hazard?


Spero di essere stato chiaro e in un vostre delucidazioni.
Ciao

19-02-2008 10:54
Click Here to See the Profile for -Oblivion- Click here to Send -Oblivion- a Private Message Visit -Oblivion-'s homepage! Find more posts by -Oblivion- Add -Oblivion- 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

Tra le esercitazioni di Marchi del 2007 (http://marchi.usr.dsi.unimi.it/Teaching/Architetture07/), all'esercizio 9 (e qualcosa anche nel 10) è spiegato tutto...

02-09-2008 08:55
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 18:29.    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.038 seconds (63.96% PHP - 36.04% MySQL) con 23 query.