Specifications
46 TMS320C6457 Fixed-Point Digital Signal Processor Silicon Errata SPRZ293A—November 2009
Appendix B—Determining If Two Addresses are a Set Match
www.ti.com
Silicon Revisions 1.0, 1.1, 1.2, 1.3, 1.4 Submit Documentation Feedback
Appendix B—Determining If Two Addresses are a Set Match
Determining if two addresses are a set match can be done by comparing certain bits of
two addresses. The mapping of an address to a location in L1D cache is shown in
Figure 7.
The value X in Figure 7 is determined by how large the L1D cache is in the particular
application (see Table 10).
If the user uses the default configuration, 32 KB, as an example, bits [13:6] are a set
match if they are identical in two different addresses. Some examples of set matches are
shown below:
• 0x0080 2A80 - 0b00000000100000000010101010000000
• 0x8000 2A80 - 0b10000000100000000010101010000000
• 0x0080 2A8A - 0b00000000100000000010101010001010
Figure 7 L1D Cache Address Mapping
31
X+1
X
6
5
4
3
2
1
0
Tag Set
Offset
Sub-line Bank Byte
Table 10 Value of X for L1D Cache
Amount of L1D Cache X Bit Position
0 KB N/A
4 KB 10
8 KB 11
16 KB 12
32 KB 13
End of Table 10










