×

HYBRID ADDRESS MUTEX MECHANISM FOR MEMORY ACCESSES IN A NETWORK PROCESSOR

  • US 20120023295A1
  • Filed: 09/30/2011
  • Published: 01/26/2012
  • Est. Priority Date: 05/18/2010
  • Status: Active Grant
First Claim
Patent Images

1. A method of arbitrating access to a level one (L1) cache of a network processor having a plurality of processing modules and at least one shared memory, the method comprising:

  • generating, by one or more processing modules of the network processor, one or more memory access requests, each memory access request comprising a requested address and an ID value corresponding to the requesting processing module, wherein each memory access request comprises one of a locked access request and one or more simple access requests;

    determining, by an address mutually exclusive (mutex) arbiter of the network processor, whether one or more received memory access requests are simple access requests or locked access requests, wherein, for each locked access request, the address mutex arbiter performs the steps of;

    determining, by the address mutex arbiter, whether two or more of the memory access requests are either conflicted or non-conflicted based on the requested address of each of the one or more memory access requests;

    if one or more of the memory access requests are non-conflicted, determining, by the address mutex arbiter, for each non-conflicted memory access request, whether the requested address of each non-conflicted memory access request is locked out by one or more prior memory access requests based on a lock table of the address mutex arbiter;

    if one or more of the non-conflicted memory access requests are locked-out by one or more prior memory access requests;

    queuing, by the address mutex arbiter, one or more locked-out memory requests;

    granting one or more non-conflicted memory access requests that are not locked-out;

    updating the lock table corresponding to the requested addresses associated with the one or more granted memory access requests.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×