×

History buffer control to reduce unnecessary allocations in a memory stream buffer

  • US 5,388,247 A
  • Filed: 02/16/1994
  • Issued: 02/07/1995
  • Est. Priority Date: 05/14/1993
  • Status: Expired due to Term
First Claim
Patent Images

1. A method, comprising the steps of:

  • receiving from a processor a read command and an address together specifying a memory location to be read;

    testing whether said read command is accompanied by an additional indication that said processor will be unable to accept data from said memory location for at least a predetermined time after the issuance of said read command by said processor;

    storing an address value corresponding to said memory location into a history buffer and marking the stored value as a valid history buffer entry if said read command is not accompanied by said additional indication, and otherwise refraining from said storing and marking;

    repeating the foregoing steps until there is at least one address value stored in said history buffer;

    receiving another read command and an address together from said processor specifying another memory location to be read;

    testing whether the address of said other memory location has a predetermined relationship with any one of the address values stored in valid entries in said history buffer, the existence of said predetermined relationship indicating that said other memory location sequentially follows the memory location corresponding to the stored address value for which said predetermined relationship exists;

    if the address of said other memory location has said predetermined relationship with any of the address values stored in valid entries in said history buffer, asserting a stream detect signal, and otherwise refraining from asserting said stream detect signal;

    upon the assertion of said stream detect signal, fetching from a memory the data stored at the memory location sequentially following said other memory location and storing the fetched data in a stream buffer; and

    fetching the data stored in said stream buffer and returning it to said processor upon the receipt of a subsequent processor read command specifying said sequentially following memory location.

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