The present application provides an
address mapping unit that efficiently looks up a
data descriptor of a cache unit. The
address mapping unit comprises a plurality of register groups, the plurality of register groups correspond to a plurality of data block descriptor groups, the plurality of data block descriptor groups correspond to a plurality of cache unit groups, and each cache
unit group comprises at least one cache unit; each register group comprises a group
base address register, a group base
index register and a data block descriptor mode register, and the
address mapping unit accesses one of the plurality of register groups according to a group serial number of a cache
unit group where the cache unit index is located to obtain a first group
base address, a first group base index and a first data block descriptor mode; and calculating a
data descriptor address corresponding to the cache unit index according to the cache unit index, the first group of base addresses, the first group of base indexes and the first data block descriptor mode. According to the application, mapping from the cache unit index to the
data descriptor address can be realized based on the address mapping unit, hardware resources are reasonably utilized, and the cost is controlled.