EP2437177A1

Memory accelerator buffer replacement method and system

Abstract

A microcontroller using an optimized buffer replacement strategy comprises a memory configured to store instructions, a processor configured to execute said program instructions, and a memory accelerator operatively coupled between the processor and the memory. The memory accelerator is configured to receive an information request and overwrite the buffer from which the prefetch was initiated with the requested information when the request is fulfilled by a previously initiated prefetch operation.

EP2437177A1, drawing sheet 1
Sheet 1 of 7

Term

Projected expiry 27 September 2031.

  1. Priority
  2. Filed
  3. Published
  4. Today
  5. Projected expiry

14 claims: 3 independent, 11 dependent

  1. 1
    A microcontroller comprising:a memory configured to store instructions;a processor configured to execute said instructions;and a memory accelerator operatively coupled between the processor and the memory, the memory accelerator configured to prefetch a new instruction of a current instruction stream of said instructions and to store the new instruction in a buffer containing a previous instruction from a previously initiated prefetch when said prefetch of the new instruction is initiated as a result of the previously initiated prefetch.
  2. 7
    A memory accelerator comprising:a bus interface for communicating with a processor coupled to said bus;a memory interface for communicating with a memory, said memory including instructions;a buffer array coupled between said bus interface and said memory interface;and a memory accelerator control module operatively coupled to said bus interface, buffer array, and memory interface, the memory accelerator control module configured to fulfill a prefetch operation of a current instruction stream of said instructions and to store information from said prefetch operation in a buffer of the buffer array that caused said prefetch operation only when said prefetch operation is a result of a previously initiated prefetch operation of said current instruction stream.
  3. 13
    A method for operating a memory system, the method comprising:receiving a request for information from a memory, said request being part of a prefetch of a current instruction stream;storing said information in a buffer that caused said prefetch only when said prefetch is a result of a previously initiated prefetch operation of said current instruction stream;and storing said information in a least recently used buffer when no previously initiated prefetch operation of said current instruction stream is present.