|
发表于 2012-3-9 14:05:00
|
显示全部楼层
回复 1# l2002924700
Support for system level caches and other performance enhancing components isprovided by the use of the cache information signals, ARCACHE and AWCACHE.
These signals provide additional information about how the transaction can be
processed.
The ARCACHE[3:0] or AWCACHE[3:0] signal supports system-level caches by
providing the bufferable, cacheable, and allocate attributes of the transaction:
Bufferable (B) bit, ARCACHE[0] and AWCACHE[0]
When this bit is HIGH, it means that the interconnect or any component
can delay the transaction reaching its final destination for an arbitrary
number of cycles. This is usually only relevant to writes.
Cacheable (C) bit, ARCACHE[1] and AWCACHE[1]
When this bit is HIGH, it means that the transaction at the final
destination does not have to match the characteristics of the original
transaction.
For writes this means that a number of different writes can be merged
together.
For reads this means that a location can be pre-fetched or can be fetched
just once for multiple read transactions.
To determine if a transaction should be cached this bit should be used in
conjunction with the Read Allocate (RA) and Write Allocate (WA) bits.
Read Allocate (RA) bit, ARCACHE[2] and AWCACHE[2]
When the RA bit is HIGH, it means that if the transfer is a read and it
misses in the cache then it should be allocated.
The RA bit must not be HIGH if the C bit is low.
Write Allocate (WA) bit, ARCACHE[3] and AWCACHE[3]
When the WA bit is HIGH, it means that if the transfer is a write and it
misses in the cache then it should be allocated.
The WA bit must not be HIGH if the C bit is low. |
|