Intel 81342 Developer's Manual page 244

Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

81341

Table of Contents