Patent ID: 9176885
Filing Date: 2015-11-03
Classification: G06F

Abstract:
1. A method for storing data in a network on a chip (NOC) processing unit, the method comprising: in a first node that includes an integrated processor block including an execution unit and a cache memory coupled to the execution unit, maintaining, for each cache line among a plurality of cache lines stored in the cache memory, each of a software lock flag and a cache inject lock flag associated with said each cache line, wherein the first node is among a plurality of nodes coupled to one another via an on-chip network; in response to detecting communication of a respective cache line from an input/output (I/O) device to a first memory coupled to the on-chip network, determining whether a maximum number of cache lines in the cache memory are cache inject locked by accessing a cache lock counter associated with the cache memory; in response to determining that the maximum number of cache lines are not cache inject locked, performing a cache inject and lock operation by injecting the respective cache line in the cache memory concurrently with communication of the respective cache line to the first memory and automatically locking the respective cache line, wherein locking the respective cache line includes setting the cache inject lock flag for the respective cache line and incrementing the cache lock counter, and wherein setting the cache inject lock flag locks the respective cache line from being evicted from the cache memory.