0% found this document useful (0 votes)
11 views18 pages

COA Unit 5

The document discusses RISC pipeline architecture, focusing on instruction execution and the challenges of delayed loads and branch operations. It highlights the importance of parallel processing and the use of multiple processors to enhance performance and efficiency. Additionally, it covers cache coherence issues and the significance of memory management in a multi-processor environment.

Uploaded by

jnananya2006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views18 pages

COA Unit 5

The document discusses RISC pipeline architecture, focusing on instruction execution and the challenges of delayed loads and branch operations. It highlights the importance of parallel processing and the use of multiple processors to enhance performance and efficiency. Additionally, it covers cache coherence issues and the significance of memory management in a multi-processor environment.

Uploaded by

jnananya2006
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

RISC Ppline

Conmpalor
nstruchon Sot
RISC: Roducod
teqisee.
memox4 wod do
:Teansfer
Load
less

3. Soqmnent pipline
Deloyed Load
means d e Coespondhg

5|c|
clakayche Conhin 3 seqnot
inchn
IA
Load RI Dashuckon fotch
T A
. Load R2
Segnot-2 A
peskorm ALU oph

Sore Rs saq-eut3

Eeete oph
yde1
|3
lok " Tnstruchon are
exeuted sialkaneoyy

TA
&. hood R2
3. NO-Opozhm

H. Add RHR2 A
5- Sore R3 Ry
depend!
on Load exeuked
doesdt
" Daa Conit
Add Rt RsB u t k o n d R2
kood R2
ill nouw

problem bu
oveicone ttis opesahbn
ToNo-cpouakon O vng any
Doloyed Branch RR- Branch

cycle
A+ g"clokkis exeuted.

AE insto Potch et
BR
A shouldat

SADD twe
during
qh c l k
H

A ineth
AYerg c o c kGfcle
H
CHcle elch
weneed
b
2. NO-o h o n o n y w e k h o w

Ony inath
o
A kt
wlatis e r e c t e
brarrh. his prob be
we can olve
ighution
NO-cph
oih out
veonanqjg

Load T A
INC
Ae
L|AJE

ADD
ALE

A
6
fo
deperd

clock ycle.
doent
ADD& sUB duting 6
next5Ta,
Fotch
ARRAY PROCESSOR
accay
,we will 4e oP
procesor fornante
Singe per
E Iakad o
procers07S inocher
ho inprove

Syatem
proceso
Aray Compke
O
Attacked
atached to
pOceKor is
fbimaneh
addikonal
"An improve
prer
to
inor dey
Atlached

To
Geneuol ArYoy
Procesor

paxpose

Corpdor

loa
HighSpeed nenory
Main
memory to
menmory
Taderfoce is used to oeslve he poblerm
Tlo
gtow
glow Ond procoKOY is
and Is Past
Conpuer is
puspose momptor sored in
. Corders eh boneual proceKOr in local memoy
Memoy- asay inth
Moin bus all
Lilh hclp of High spood nemouy monoy
emory rarttos ho local
in main thote
proCessoY
axe cutep
Atached Qsa
mernory
in docal main noo
Nctn's hich oe ogan
ho
will tratke shecn
Qual oenlt
Rot sheam Mulh plo Data
Trtruchon
() Sinqle
(STAO)

PE
Marher
Conto)

Unit

Pen
Main
momory

nemory
iale Main
ose skored in PE,PE
ch.
Tashris Iike reqithee, eke
Mulkple
procesors
have
tLU, p90XCSOx n
proceROT
asoiatod
witn
Each
menory
lotal ontrels all te procersoYS.
" onit co,whol tigaf
Maghoc Conhol and genesat
decoder de intms tranjted
T opesahon Comcgodiy
based on Main locnryl

C= AiB
PeoRorm
cpetahYn&

trartke
Rpleising
AproCK is dividod into sevesa 3ub opoalon

S e g r e n t

ndepordonty
AU seqmens yoork
"
Tsarsexinq info om Sy to ss Arough ragisor.
A; *B; + C;

Ryt-G
Sog-e-t
Segmat
fow Dogsar

Pibnrn ioBi,

Tnlkplies
R

Add

R5
Seg3
clak Gyele
R2 Rs

& A B2
AStc
As Ag B2t c
Au By

sequirg 3 clock pdee,


TKs=2/ Clok
oupt i
ky axeubng piogdn t sequires
corplele
exeute
So to
Bv
seoqiskg
but not
only
oplied fo
elock puses Qee

Sequenks. Arithnetic plpline ay,


aposatoo

mance
oP efos

pertor hme.

makey
te equirey
leK
onpube
D4 and
elRcient p e r k n a n c e
o
Tnucosej

SKople

(04
032x

o32Y
x(o edjut
powe.

).
&hit
ot
wnderow
Expone Manisa

Alignanhia
Compare alb

Add /Subhact
Choose exporeat
Loesult
R
Normalis

ox00%-3
choachecishcs op CISC &RIsC
CISC RisC
Corpke
Inshuchon set lompte DRoduco Trahuchon Co
OConplex.oP Tnsos rom Pouep
Si Rolavey fo to
O TnshuchoN (30
00 to Q5 Snple Inshucion sch
Tnshuchon set
Coplex Saple Arehiteduwe
3O Complex Architechure
Rolavcly Pouse hidkesing
Losqe
no-o Addressing opodes

lenq h Trahuch on Fora


shuchon ) Fixed
Vacioble long Tasrchon decoding is
Trshuchon
slecsling s Sinple. is
O Compler Apoine
iaplennenahon

is
Pipelire inplementahon i! hat Siple .oP
lasg e
Complex
oooncocl puxpose Tegires.
@ ses gecio
reqisters and laqs Hasdwred Costiol.
D a-days.
pvtqianed Conhd in ND0-
( Hico O Used
claus.
( 2 ) o o d S h o r e i n s h u h o n y

O Used in oloenDashuchons acess


Menory.
sed to
(0 T ses all Apt oai b ove
Chosatecshcg sf Mulhprocegsor
Paocsos cpu+T0
exe ateT
Trput Opt

Tshuche)
ahichone
). LmpeoNE Reiabi liy o ore Syatem
oSystemot
9 Enhan ces per oy manle
3 Nalhtasking
Tncveaseg thrcughpt
Que 6ed
cesorS,
Nulkple pro
en other procesor EKeak,
Rils de exeuhon
o\|l 6e
Josk - aay dask lnercgy
procosor
dae failod eliabi likyOP Slem
potfoved Jhat
ace present.tten ty
TP ulhple cRu's
psocesors exeue imulkanco
executes all
res
xeuhon, e dereager aa
So trat mulkple tasks
vided into
is
Peocess
Siaullaneoye

’ exeukes
fe kasks
al Ae oil be
given task
Oukput el te
Tntes Con nedion Shuctweg to Connes
Main enory wi
laLBprooS OY - Mthple pro cosorS.
procoKOYS.

Tine shatcd Common Bu


rletiport menoy
9 Cosbar Susitey
( ui thabe suoikhing nehoork
(6) H pao cube Sstem
Comon Sut
Shated
Tsog
|.
memory Urit

Common bus d
Conneched
with
Al procesors

Shascd single merorY in ido sta


aee
mU en othee tnote
cpU) Qcos
muni cohiag idol sate-dis
device tom
ohen one aoe
hen oter devicor
dovice
9iuhaneo.
comnicale
9U devjces canit
Hutsport menorg

mm
Mouoy div;dod into nodaler
hat modele ,
modude ten it enablar
<AU he Cous Can
Smlhneoih
no d.ee gs
" Data trakee Vat )s ve
o it require rmary
Cables

kesbas soileh

Data tranfee is fast


Petfo man s h i g h a
Cor-pley nuchure

Mlhi Soqe Ssoilching ekcork

4 Comeked
A Gonnecked o

BConnected 6 B conneed |
Binocy ree olh ax Soj toy

Hyperube Irteomeso
3.

Cownicale
pgoenos
Commulicahon &Syochronizatan
Lte paoceKor
DlesprocesOY Comuricakon

Shased momosy
memoy
Shore

Rocei ver
psoekox
Sende
Precess

cossors ghacod
mailbox
remory ohich oTk! lihe
memory
mail box wohich
Sender proceKoY ekres mg in eeiver proesor
bis Evey e
Con tajs skahy Satg bilk ohetteo tis brhis
chesde poocersoY OY nof
"T is vay hoe taking prccces
we can avoid gs tng inteeupts
. whenever intssp is te ceived by Tecoi
proLOK ftuen mtg ei it receiver Coy
-kg kom mail box
bo
reg
eccived beeeive atces nail
nay
dhen Cone Confütk oil ocu
Sutaneaug

Doteyproceo Syohroni zalos


lonsuner pocbem.
Pocduer
tongum

Preduces

Batleeis

Pacduces prcdu ces gloueo guot


Cons4rv¬p
Contuee
tesults.
kwrorg
i s laode memoy
.To avoid dais Shased
Aces dhen one pot
Seckon ondy
ibca
Puyal Exeuhon

boto owly Pe Car entre


Comes out
en
SNL P
Cache Checence Paode
Mulbpoccsovy
naiy oceurs in
lis pooblerm
Syalen
Main Momory xlo hag tuer Cache

CHI

write updato
updatad in
once procg
uethte
be
then
in
T4 woill
ohe0 psocesor

orite though ten


updata
ini ache
updatod
in
Tae
inhuchon
X10 mainbe
oill memor{ Sinla
tuat
ead &dood
cpcatios rcIonot
P necusy
io
probem: ia P . But
X=||
Coheren ce
value
ten
nodiBed
-
Cade inaeners
x will not
value
CeKOYS
X fonk back value in
aining
pYO upaaho
be
jMain memory also, TP we should

Cace it main
Mnoy

datad
on
in
y apteg ropaing
p
valuo in
orife do a cache
ie Back:
orik fuly gupi
ed
osik vpdate
-

hrogh wrihe Tnvalidatr"


-lorik
Invalidae
- wrik back 0apdoled a
orite TP we
o i k e T h v a l d a o

cache en neeta

Cache cat be
uptrted.
Ofeo caches aee
invalicate.
Tatuchon Pipeline

Cark Cyole1 345

13
FoEx
1 |DA

Bravchy 3
f1| DAfo|Ex
-FDA fo E
F DA fol

lfDA fo

Ft-feching of Tnsh
Sndiag efe ocdd
Decode Tato
&
DA-
fo- ferching opcard
Exeuking inth
Ex -
Ethuchon pipelin
sioubra
all AE Scqnonk eredeg
Ja a dock cucle aorect ten execkeg
Condihon te i Roandh is omkd
BR -) check whon
is ecencd ay
+
et Trtuche
Trstructa
cPRechue nonne.
Pipeline
pipcine in
he
ot useinq
suters 3 protb
Ithuhon piplae moiny
seqroas rging
okan lhpe
wrong reruy
ten loade k
Data dopondeny ConfGet bu
arohei t
depeds on
Soshh no
when an exeubed ill
is ot
Jut iastn
When Branch incho ereukeo if de
huen progamm Genhe Coubep
Condi bon is sahched brô odd TP Condi folse on
Icodod oitn neo
next insh ereued
dee eti g
g e pacolay
Con sle all RISCI piplire -

Haudway

AxB
A-altipliand
lalhgicand
8-Mulhlier

opensaleç

paralle Aide? represent

ihal A=o.

As 1
APoqishe
Jmulhplie

to pocallel Adde
4ve

A9cgithe Alde,
oh k poallel branfer
trasker conenkt
Conpkrere 8 reqiske
corrcpordirg &
porfaaddikon

poalal adde
Quocult o A-reqche

q p o o a h o n - S

Loical shit right lo011

otollo/letas
Flow Chat

Nulkpy opcsahor

Mathipliee in Q

A 0, Eto

shr EAG
Cacy'zE

+0

A x19 (io011)
twalhiglie)

I i kakd

Qnl ado A+8


Shr EAG

Qn=l, add A48 3


Shr EAG
o 1000 Iol1o
an=0, sh EAG

G h , Qdd
A B
Shr EAG
Booh Nalkplicakon
Ufed on Sgncd - 's Complont dala
H a d o a s
BR Adoe,
nulkglica.nd A c A d d e o

o l o t e r

Paald Ader On n+)


1
(Aca QR)
SHR

3Miplie,

BR
|Mulhplicod in
Malhplief in@R

AceACt 8R

ACEAHG2 +|

ashr (AC& QR)

SC&SC

Sc

ASh
9 (lo||| )
(OooLOIo)

Iri kakd poooo to01| 5

You might also like