This invention provides a
streaming data management method and apparatus for a reconfigurable processor multi-port cache, relating to the field of large-scale
integrated circuit technology. The method includes: when
processing a
cell array accessing the cache, if a
cache miss occurs, evicting a cache line with a target bit set to a first preset value using a
polling arbitration method, and setting the target bit of subsequent cache lines entering the cache to the first preset value; when
processing a
cell array accessing the cache, if a cache hit occurs, setting the target bit of the currently hit cache line to a second preset value based on the interval between the previously hit cache line and the currently hit cache line. This invention can effectively reduce the probability of cache thrashing under the flushing of
streaming data, thereby reducing the frequency of accessing off-
chip memory, increasing the memory access bandwidth of the PEA, mitigating potential conflicts and misses caused by set-associations, and reducing the
miss rate for
streaming data.