A D M A O P E R A T I O N S - 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

A D M A O p e r a t i o n s

T h e A D M A c a n b e c o n f i g u r e d o n a p e r d e s c r i p t o r b a s i s t h r o u g h t h e D e s c r i p t o r C o n t r o l
W o r d ( D C ) t o p e r f o r m s s e v e n d i s t i n c t o p e r a t i o n s i n a d d i t i o n t o a s i m p l e d a t a t r a n s f e r :
1 . I n a n
o f t h e X O R o f u p t o 1 6 d i s t i n c t d a t a s t r e a m s i n l o c a l m e m o r y o n a p e r b y t e b a s i s .
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 n d t h e p a r i t y d a t a s t r e a m c a n b e u p t o 1 6 M B l o n g .
2 . I n a n
s t r e a m , P , t h a t i s c o m p r i s e d o f t h e X O R o f u p t o 1 6 d i s t i n c t d a t a s t r e a m s i n l o c a l
m e m o r y o n a p e r b y t e b a s i s . I n a d d i t i o n , t h e A D M A g e n e r a t e s a d a t a s t r e a m , Q ,
w h e r e b y t h e s o u r c e d a t a s t r e a m s h a v e e a c h b e e n G a l o i s f i e l d m u l t i p l i e d f o l l o w e d b y
a n X O R o f t h e r e s u l t a n t d a t a s t r e a m s o n a p e r b y t e b a s i s . 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 , t h e P d a t a s t r e a m , a n d t h e Q d a t a s t r e a m c a n b e u p t o 1 6 M B l o n g .
3 . I n a
c o m p r i s e d o f t h e X O R o f t w o s o u r c e d a t a s t r e a m s , a H o r i z o n t a l d a t a s t r e a m , a n d a
D i a g o n a l d a t a s t r e a m o n a p e r b y t e b a s i s . A l l f o u r d a t a s t r e a m s m a y b e u p t o
1 6 M B l o n g .
4 . I n a
s t r e a m s . T h e u p d a t e d P c h e c k d a t a s t r e a m i s c o m p r i s e d o f t h e X O R o f t w o s o u r c e
d a t a s t r e a m s a n d a P c h e c k d a t a s t r e a m o n a p e r b y t e b a s i s . T h e u p d a t e d Q c h e c k
d a t a s t r e a m i s c o m p r i s e d o f t h e X O R o f t h e s a m e t w o s o u r c e d a t a s t r e a m s t h a t
h a v e b e e n G a l o i s f i e l d m u l t i p l i e d , a n d a Q c h e c k d a t a s t r e a m o n a p e r b y t e b a s i s .
A l l f o u r d a t a s t r e a m s m a y b e u p t o 1 6 M B l o n g .
5 . W i t h t h e
o f a l l t h e b y t e s o f t h e p a r i t y s t r i p e w i t h t h e i r a s s o c i a t e d b y t e s i n t h e s t r e a m s o f
s o u r c e d a t a r e s u l t s i n 0 0 H f o r t h e e n t i r e b y t e c o u n t . A l l t h e s o u r c e d a t a s t r e a m s
a n d t h e p a r i t y d a t a s t r e a m c a n b e u p t o 1 6 M B l o n g . T h e r e s u l t s o f t h e c h e c k a r e
w r i t t e n b a c k t o t h e D e s c r i p t o r C o n t r o l W o r d i n l o c a l m e m o r y .
6 . W i t h t h e
X O R o f a l l t h e b y t e s o f t h e p a r i t y s t r i p e , P , w i t h t h e i r a s s o c i a t e d b y t e s i n t h e
s t r e a m s o f s o u r c e d a t a r e s u l t s i n 0 0 H f o r t h e e n t i r e b y t e c o u n t . A l s o , t h e A D M A
c o n f i r m s t h a t t h e X O R o f a l l t h e b y t e s o f t h e Q d a t a s t r e a m , w i t h t h e i r a s s o c i a t e d
b y t e s i n t h e s t r e a m s o f s o u r c e d a t a a f t e r t h e y h a v e b e e n G a l o i s f i e l d m u l t i p l i e d
r e s u l t s i n 0 0 H f o r t h e e n t i r e b y t e c o u n t . 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 , t h e P d a t a
s t r e a m , a n d t h e Q d a t a s t r e a m c a n b e u p t o 1 6 M B l o n g . T h e r e s u l t s o f t h e c h e c k
a r e w r i t t e n b a c k t o t h e D e s c r i p t o r C o n t r o l W o r d i n l o c a l m e m o r y .
7 . P e r f o r m a
c o n s t a n t ( C R C A d d r e s s / D a t a ) .
8 . P e r f o r m a
v a l u e a t C R C A d d r e s s a s a s e e d ( C R C A d d r e s s / D a t a ) . W r i t e t h e r e s u l t b a c k t o C R C
A d d r e s s . I t i s o p t i o n a l t o w r i t e t h e d a t a t r a n s f e r s t r e a m t o t h e d e s t i n a t i o n a d d r e s s
d u r i n g t h i s o p e r a t i o n .
T h e f o l l o w i n g s e c t i o n s d e s c r i b e t h e s e v e n A D M A o p e r a t i o n s i n d e t a i l a n d s u p p o r t p e r
A D M A C h a n n e l .
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
X O R o p e r a t i o n
, t h e A D M A g e n e r a t e s a p a r i t y d a t a s t r e a m t h a t i s c o m p r i s e d
X O R o p e r a t i o n w i t h P + Q R A I D 6
D u a l X O R o p e r a t i o n
, t h e A D M A g e n e r a t e s t w o p a r i t y d a t a s t r e a m s t h a t i s
P + Q U p d a t e o p e r a t i o n
Z e r o R e s u l t B u f f e r C h e c k O p e r a t i o n
P + Q Z e r o R e s u l t B u f f e r C h e c k O p e r a t i o n
M e m o r y B l o c k F i l
C R C G e n e r a t i o n
, t h e A D M A g e n e r a t e s a p a r i t y d a t a
, t h e A D M A g e n e r a t e s u p d a t e d P a n d Q c h e c k d a t a
, t h e A D M A c o n f i r m s t h a t t h e X O R
l o f u p t o 1 6 M B o f l o c a l m e m o r y w i t h a 3 2 - b i t
o n u p t o 1 6 M B o f a d a t a t r a n s f e r s t r e a m u s i n g t h e
, t h e A D M A c o n f i r m s t h a t t h e
®
I n t e l
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 8 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents