Preliminary
www.ti.com
System MMU
1.4.4.1.2 Subsequence - Configure a TLB entry
Table 1-16. Configure a TLB Entry
Step
Registe/Bitfield/Programming Model
Value
Load the Virtual Address Tag
MMU_CAM[31:12] VATAG
0x-
Protect the TLB entry against flush
MMU_CAM[3] P
0x1
Validate the TLB entry
MMU_CAM[2] V
0x1
Define the page size
MMU_CAM[1:0] PAGESIZE
0x-
1.4.4.2
Operational Modes Configuration
1.4.4.2.1 Main Sequence - Writing TLB Entries Statically
Writing TLB entries statically avoids the need to write translation tables in memory and is commonly used
for relatively small address spaces. This method ensures that the translation of time-critical data accesses
execute as fast as possible with entries already present in the TLB. These entries must be locked to
prevent them from being overwritten.
Table 1-17. MMU Writing TLB Entries Statically
Step
Register/ Bitfield / Programming Model
Value
Execute software reset
MMU_SYSCONFIG[1] SOFTRESET
0x1
Wait for reset to complete
MMU_SYSSTATUS[0] RESETDONE
=0x1
Enable power saving via automatic interface clock gating
MMU_SYSCONFIG[0] AUTOIDLE
0x1
Configure TLB entries
Refer to table Configure a TLB Entry
Load the physical Address of the page
MMU_RAM[31:12] PHYSICALADDRESS
0x-
Define the endianness of the page (little endian or big
MMU_RAM[9] ENDIANNESS
0x-
endian)
Select the element size
MMU_RAM[8:7] ELEMENTSIZE
0x-
Define mixed page attribute
MMU_RAM[6] MIXED
0x-
Specify the TLB entry you want to write
MMU_LOCK[8:4] CURRENTVICTIM
0x-
Load the specified entry in the TLB
MMU_LD_TLB[0] LDTLBITEM
0x1
Enable multihit fault and TLB miss
MMU_IRQENABLE[4] MULTIHITFAULT
0x1
MMU_IRQENABLE[0] TLBMISS
0x1
Enable memory translations
MMU_CNTL[1] MMUENABLE
0x1
1.4.4.2.2 Main Sequence - Protecting TLB Entries
The first n TLB entries (with n < total number of TLB entries) can be protected from being overwritten with
new translations. This is useful to ensure that certain commonly used or time-critical translations are
always in the TLB and do not require retrieval using the table walking process.
Table 1-18. Protecting TLB Entries
Step
Register/Bitfield/Programming Model
Value
Locks the TLB entries
MMU_LOCK[14:10] BASEVALUE
0x-
131
SPRUGX9 – 15 April 2011
Chip Level Resources
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...