D U A L X O R O P E R A T I O N - Intel 81342 Developer's Manual

Table of Contents

Advertisement

A p p l i c a t i o n D M A U n i t — I n t e l
5 . 7 . 4

D u a l X O R O p e r a t i o n

F i g u r e 6 3
g e n e r a t e s n e w v e r s i o n s o f t h e H o r i z o n t a l a n d D i a g o n a l p a r i t y c h e c k d a t a b l o c k s w h e n a
s i n g l e b l o c k w r i t e o c c u r s t o a d a t a s t o r a g e s u b s y s t e m t h a t i s p r o t e c t e d b y t w o -
d i m e n s i o n a l X O R R A I D 6 . I n t h i s i l l u s t r a t i v e e x a m p l e , t h e r e a r e f o u r b l o c k s o f s o u r c e
d a t a t o b e X O R - e d . T h e i n t e r m e d i a t e r e s u l t s a r e k e p t b y t h e X O R s t o r e q u e u e i n t h e
A D M A b e f o r e b e i n g w r i t t e n b a c k t o l o c a l m e m o r y . T h e s o u r c e d a t a i s l o c a t e d a t
a d d r e s s e s 0 A 0 0 0 0 4 0 0 H , 0 A 0 0 0 0 8 0 0 H , 0 A 0 0 0 0 C 0 0 H a n d 0 A 0 0 0 1 0 0 0 H
r e s p e c t i v e l y .
A l l d a t a t r a n s f e r s n e e d e d f o r t h i s o p e r a t i o n a r e c o n t r o l l e d b y c h a i n d e s c r i p t o r s l o c a t e d
i n l o c a l m e m o r y . T h e A p p l i c a t i o n D M A a s a m a s t e r o n t h e i n t e r n a l b u s t h r o u g h i t s '
d e d i c a t e d D D R S D R A M M C U p o r t i n i t i a t e s a d a t a t r a n s f e r . T h e a l g o r i t h m i s i m p l e m e n t e d
s u c h t h a t a s d a t a i s r e a d f r o m l o c a l m e m o r y , t h e b o o l e a n u n i t e x e c u t e s t h e X O R
o p e r a t i o n o n i n c o m i n g d a t a .
F i g u r e 6 3 . T h e B i t - w i s e D u a l X O R A l g o r i t h m
b i t w i s e - X O R
( 6 4 - b i t w i d e )
b i t w i s e - X O R
( 6 4 - b i t w i d e )
b i t w i s e - X O R
( 6 4 - b i t w i d e )
b y t e 8
N o t e : A l l o f t h e S o u r c e D a t a S t r e a m s a r e r e q u i r e d t o b e i n L o c a l M e m o r y f o r t h e D u a l X O R o p e r a t i o n t o
o p e r a t e p r o p e r l y . T h e A D M A d o e s n o t s u p p o r t S o u r c e D a t a s t r e a m s f o r D u a l X O R o p e r a t i o n s t h a t a r e
l o c a t e d i n H o s t M e m o r y o r t h e I n t e r n a l B u s . H o w e v e r , t h e A D M A d o e s p r o v i d e f o r t h e P a r i t y s t r i p e s t o
b e w r i t t e n t o t h e H o s t M e m o r y o r t h e I n t e r n a l B u s .
D e c e m b e r 2 0 0 7
O r d e r N u m b e r : 3 1 5 0 3 7 - 0 0 2 U S
®
8 1 3 4 1 a n d 8 1 3 4 2
d e s c r i b e s t h e D u a l X O R a l g o r i t h m i m p l e m e n t a t i o n . T h e D u a l X O R o p e r a t i o n
M S B
B l o c k 1
1 0 2 4 b y t e s
B l o c k 2
1 0 2 4 b y t e s
H o r i z o n t a l
S o u r c e
1 0 2 4 b y t e s
D i a g o n a l
S o u r c e
1 0 2 4 b y t e s
b y t e 1
. . .
. . .
. . .
H o r i z o n t a l R e s u l t
S A R 2 ( H - S o u r c e ) = 0 A 0 0 0 0 C 0 0 H
S A R 3 ( D - S o u r c e ) = 0 A 0 0 0 1 0 0 0 H
S A R 4 ( D - D e s t i n a t i o n ) = 0 B 0 0 0 0 8 0 0 H
A D A R ( H - D e s t i n a t i o n ) = 0 B 0 0 0 0 4 0 0 H
L o c a l M e m o r y
b y t e s 1 - 8
b y t e s 1 - 8
b y t e s 1 - 8
b y t e s 1 - 8
b y t e 8
0 B 0 0 0 0 4 0 0 H
0 B 0 0 0 0 8 0 0 H
1 K b y t e
1 2 8 - D e e p
S t o r e Q u e u e s
C o n t r o l R e g i s t e r V a l u e s
S A R 0 = 0 A 0 0 0 0 4 0 0 H
S A R 1 = 0 A 0 0 0 0 8 0 0 H
A B C R = 0 0 0 0 0 4 0 0 H
A D C R = 0 0 0 2 0 0 1 F H
I n t e l
L S B
0 A 0 0 0 0 4 0 0 H
0 A 0 0 0 0 8 0 0 H
0 A 0 0 0 0 C 0 0 H
0 A 0 0 0 1 0 0 0 H
b y t e 1
. . .
. . .
. . .
D i a g o n a l R e s u l t
B 6 2 3 0 - 0 1
®
8 1 3 4 1 a n d 8 1 3 4 2 I / O P r o c e s s o r s
D e v e l o p e r ' s M a n u a l
4 9 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents