Intel 81342 Developer's Manual page 615

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents