×

Page address translation cache replacement algorithm with improved testability

  • US 5,155,825 A
  • Filed: 12/27/1989
  • Issued: 10/13/1992
  • Est. Priority Date: 12/27/1989
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a memory management unit which translates each of a plurality of logical addresses into a corresponding physical address using a respective one of a plurality of resident logical-to-physical translation descriptors, during a translation cycle, and which retrieves a replacement descriptor from an external memory, during a replacement cycle, a replacement method for determining which of said plurality of resident logical-to-physical translation descriptors to replace comprising the steps of:

  • shifting a single data bit through a circular shift register, in response to a shift clock signal, when a valid bit contained in a first one of said translation descriptors is a first logic value, thereby advancing a shift register pointer from said first one of said plurality of translation descriptors to a next one of said plurality of translation descriptors, after each translation cycle;

    reading said valid bit contained in said next one of said plurality of translation descriptors, and shifting said shift register pointer to a subsequent one of said plurality of translation descriptors, if said valid bit of said next one of said plurality of translation descriptors is said first logic value;

    disabling advancement of said circular shift register pointer if any of the following conditions occur;

    said circular shift register pointer points to an invalid translation descriptor, wherein said valid bit is a second logic value;

    orsaid circular shift register pointer points to a valid translation descriptor and an address translation miss occurs in said memory management unit;

    whereby if said address translation miss occurs when said circular shift register pointer is disabled, said replacement descriptor replaces said invalid translation descriptor pointed to by said circular shift register pointer, and if said address translation miss occurs while said circular shift register pointer is enabled then said replacement descriptor replaces said valid translation descriptor pointed to by said shift register pointer.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×