Intel 81342 Developer's Manual page 517

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 . 1 2 . 2 . 2
D a t a P a r i t y C h e c k i n g
A s a n i n i t i a t o r , t h e A D M A i n t e r n a l b u s i n t e r f a c e c h e c k s f o r d a t a p a r i t y w h i l e r e c e i v i n g
r e a d c o m p l e t i o n d a t a f r o m t h e i n t e r n a l b u s o n l y d u r i n g d e s c r i p t o r f e t c h e s .
A s a t a r g e t , t h e A D M A i n t e r n a l b u s d o e s n o t c h e c k f o r d a t a p a r i t y w h e n r e c e i v i n g d a t a
f r o m t h e i n t e r n a l b u s d u e t o m e m o r y - m a p p e d r e g i s t e r w r i t e s .
D a t a p a r i t y i s c h e c k e d o n t h e d a t a b u s o n a b y t e b y b y t e b a s i s . T h e d a t a p a r i t y
c a l c u l a t i o n i n c l u d e s p a r i t y o n t h e d a t a b y t e a n d t h e c o r r e s p o n d i n g b y t e e n a b l e s i g n a l .
T h e p a r i t y b i t s a r e c h e c k e d b y f i r s t c a l c u l a t i n g t h e p a r i t y b i t s o n t h e i n c o m i n g d a t a
b y t e s a n d t h e c o r r e s p o n d i n g b y t e e n a b l e s i g n a l s f o r e a c h d a t a b y t e s h o w n i n
a n d v e r i f y i n g t h e r e s u l t s a g a i n s t t h e c o r r e s p o n d i n g i n c o m i n g d a t a p a r i t y b i t s . A s a n
e x a m p l e , t h e p a r i t y c a l c u l a t i o n f o r t h e l o w e s t o r d e r b y t e o f t h e d a t a b u s D [ 7 : 0 ] i s
c a r r i e d a s f o l l o w s :
E q u a t i o n 1 8 . D A T A _ P A R I T Y _ R E S U L T = D _ P A R I T Y 0 X O R D [ 0 ] X O R D [ 1 ] X O R D [ 2 ] X O R D [ 3 ]
X O R D [ 4 ] X O R D [ 5 ] X O R D [ 6 ] X O R D [ 7 ] X O R B E 0
A n o n - z e r o r e s u l t f r o m t h e a b o v e o p e r a t i o n i n d i c a t e s a p a r i t y e r r o r .
T h e p a r i t y l o g i c u s e s t h e f o l l o w i n g a l g o r i t h m , a n d t h i s a l g o r i t h m l o g s t h e e r r o r w h e n a n
e r r o r i s d e t e c t e d .
check data_parity_result
if parity is good
done
else {error}
create an error log
Interrupt the core (if enabled)
5 . 1 2 . 2 . 3
P a r i t y D i s a b l e d
W h e n s o f t w a r e d i s a b l e s d a t a p a r i t y , t h e A D M A w o u l d s i m p l y n o t v e r i f y d a t a p a r i t y o n
d e s c r i p t o r f e t c h e s . N o t e t h a t a d d r e s s p a r i t y i s a l w a y s e n a b l e d .
5 . 1 2 . 2 . 4
P a r i t y T e s t i n g
T h e S y s t e m C o n t r o l l e r p r o v i d e s t h e a b i l i t y f o r t h e p r o g r a m m e r t o t e s t e r r o r h a n d l i n g
s o f t w a r e b y f o r c i n g a d d r e s s o r d a t a p a r i t y e r r o r . R e f e r t o t h e
C o n t r o l l e r ( S C ) a n d I n t e r n a l B u s B r i d g e "
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
C h a p t e r 6 . 0 , " S y s t e m
f o r m o r e d e t a i l s .
®
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
T a b l e 3 1 2
D e v e l o p e r ' s M a n u a l
5 1 7

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents