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 . 2

X O R O p e r a t i o n

F i g u r e 5 7
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 i s 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 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 5 7 . T h e B i t - w i s e 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 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 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 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 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 . 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 ,
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
B l o c k 3
1 0 2 4 b y t e s
B l o c k 4
1 0 2 4 b y t e s
b y t e
1
. .
. .
. .
.
.
.
L o c a l M e m o r y
M S B
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
C o n t r o l R e g i s t e r V a l u e s
0 B 0 0 0 0 4 0 0 H
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
1 K b y t e
S A R 2 = 0 A 0 0 0 0 C 0 0 H
1 2 8 - D e e p
S A R 3 = 0 A 0 0 0 1 0 0 0 H
S t o r e Q u e u e
A D A R = B 0 0 0 0 4 0 0 H
A B C R = 0 0 0 0 0 4 0 0 H
A D C R = 0 0 0 0 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 6 2 2 6 - 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 1

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents