![Xilinx Virtex-II Pro PPC405 Скачать руководство пользователя страница 444](http://html1.mh-extra.com/html/xilinx/virtex-ii-pro-ppc405/virtex-ii-pro-ppc405_user-manual_3410279444.webp)
752
March 2002 Release
1-800-255-7778
Virtex-II Pro™ Platform FPGA Documentation
Chapter 11:
Instruction Set
R
tlbsx
TLB Search Indexed
Description
This is a privileged instruction.
An effective address (EA) is calculated by adding an index to a base address, which are
formed as follows:
•
The contents of register
r
B are used as the index.
•
If the
r
A field is 0, the base address is 0.
•
If the
r
A field is not 0, the contents of register
r
A are used as the base address.
The TLB is searched for a valid entry that translates the combination of the EA and current
PID (PID
24:31
). If a valid entry is found, the corresponding TLB index is loaded into
r
D.
The TLB is searched regardless of whether address translation is enabled.
If Rc
=
1, CR[CR0] is updated to reflect the search result. If a valid entry is found,
CR[CR0]
EQ
is set to 1. If a valid entry is not found, CR[CR0]
EQ
is cleared to 0.
Pseudocode
EA
←
(
r
A|0) + (
r
B)
if Rc
=
1
then CR[CR0]
LT
←
0
CR[CR0]
GT
←
0
CR[CR0]
SO
←
XER[SO]
if Valid TLB entry matching EA and PID is in the TLB
then (
r
D)
←
Index of matching TLB Entry
if Rc
=
1
then CR[CR0]
EQ
←
1
else
(
r
D)
←
Undefined
if Rc
=
1
then CR[CR0]
EQ
←
0
Registers Altered
•
r
D.
•
CR[CR0]
LT, GT, EQ, SO
if Rc
=
1.
Exceptions
•
Program—Attempted execution of this instruction from user mode.
tlbsx
r
D,
r
A,
r
B
(Rc=0)
tlbsx.
r
D,
r
A,
r
B
(Rc=1)
X Instruction Form
31
r
D
r
A
r
B
914
Rc
0
6
1
1
1
6
2
1
3
1
Содержание Virtex-II Pro PPC405
Страница 1: ...R Volume 2 a PPC405 User Manual Virtex II Pro Platform FPGA Developer s Kit March 2002 Release...
Страница 14: ...322 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation Preface R...
Страница 252: ...560 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 260: ...568 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...
Страница 562: ...870 www xilinx com March 2002 Release 1 800 255 7778 Virtex II Pro Platform FPGA Documentation R...