hottub.patents
US 12,451,206 B2#3413508 Most CitedActiveUnited States (USPTO)Utility

Extending functionality of memory controllers using a loopback mode for testing in a processor-based device

0Forward Citations (#3413508 Global)
0.0/yrCitation Velocity (#3413508 Global)
0.00Citation PageRank (#3413508 Global)
14Prior Art Cited
20Claims (2 Indep. · 18 Dep.)
10Drawings / Sheets

Abstract

Apparatus and methods for extending functionality of memory controllers using a loopback mode for testing are disclosed herein. In one aspect, a processor-based device provides a memory access intercept circuit configured to receive a memory write request that is directed to and received by a memory controller. The memory access intercept circuit transmits proxy write data to the memory controller, and intercepts write data directed to the memory controller for the memory write request. The memory access intercept circuit stores the write data in a write data buffer, and, upon intercepting the proxy write data from the memory controller directed to a physical (PHY) interface circuit, retrieves the write data from the write data buffer and transmits the write data to the PHY interface circuit. The memory access intercept circuit subsequently receives, from the PHY interface circuit, loopback data, and stores the loopback data in a read data buffer.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.

Claims (20 — 2 Independent, 18 Dependent)

  1. Claim 1Independent Claim

    A processor-based device, comprising: a memory controller; a physical (PHY) interface circuit communicatively coupled to the memory controller, wherein the PHY interface circuit is configured to operate in a loopback mode; and a memory access intercept circuit configured to operate in the loopback mode by being configured to: receive, from a requestor, a memory write request that is directed to and received by the memory controller; transmit proxy write data to the memory controller; intercept write data from the requestor directed to the memory controller for the memory write request; store the write data in a write data buffer; intercept the proxy write data from the memory controller directed to the PHY interface circuit; retrieve the write data from the write data buffer; transmit the write data to the PHY interface circuit; receive, from the PHY interface circuit, loopback data directed to the memory controller in response to a read signal from the memory access intercept circuit; and store the loopback data in a read data buffer.

  2. Claim 2Depends on #1

    The processor-based device of claim 1, wherein: the memory access intercept circuit is further configured to: generate a write transaction identifier (ID) for the memory write request; and generate a read transaction ID for the read signal; and the memory access intercept circuit is configured to: transmit the proxy write data to the memory controller by being configured to transmit the write transaction ID to the memory controller as the proxy write data; store the write data in the write data buffer by being configured to store the write data in the write data buffer in association with the write transaction ID; retrieve the write data from the write data buffer by being configured to retrieve the write data from the write data buffer based on the write transaction ID of the proxy write data; and store the loopback data in the read data buffer by being configured to store the loopback data in the read data buffer in association with the read transaction ID.

  3. Claim 3Depends on #2

    The processor-based device of claim 2, wherein the memory access intercept circuit is further configured to: transmit the read transaction ID to the memory controller as proxy read data; intercept the proxy read data from the memory controller directed to the requestor; retrieve the loopback data from the read data buffer based on the read transaction ID of the proxy read data; and transmit the loopback data to the requestor.

  4. Claim 4Depends on #3

    The processor-based device of claim 3, wherein the requestor comprises a testing circuit configured to: perform a comparison of the write data and the loopback data; and generate a test result indication based on the comparison.

  5. Claim 5Depends on #1

    The processor-based device of claim 1, wherein: the memory access intercept circuit is further configured to perform a first data transformation on the write data to generate first transformed data; and the memory access intercept circuit is configured to transmit the write data to the PHY interface circuit by being configured to transmit the first transformed data as the write data.

  6. Claim 6Depends on #5

    The processor-based device of claim 5, wherein the memory access intercept circuit is configured to perform the first data transformation by being configured to encrypt the write data.

  7. Claim 7Depends on #5

    The processor-based device of claim 5, wherein the memory access intercept circuit is configured to perform the first data transformation by being configured to encode a custom error correction code (ECC) based on the write data.

  8. Claim 8Depends on #1

    The processor-based device of claim 1, wherein the memory access intercept circuit is configured to receive the loopback data by being configured to: receive, from the PHY interface circuit, second transformed data; and perform a second data transformation on the second transformed data to obtain the loopback data.

  9. Claim 9Depends on #8

    The processor-based device of claim 8, wherein the memory access intercept circuit is configured to perform the second data transformation by being configured to decrypt the second transformed data.

  10. Claim 10Depends on #8

    The processor-based device of claim 8, wherein the memory access intercept circuit is configured to perform the second data transformation by being configured to decode a custom error correction code (ECC).

  11. Claim 11Independent Claim

    A method for extending functionality of memory controllers using a loopback mode for testing in a processor-based device, comprising: receiving, by a memory access intercept circuit of the processor-based device from a requestor, a memory write request that is directed to and received by a memory controller of the processor-based device; transmitting, by the memory access intercept circuit, proxy write data to the memory controller; intercepting, by the memory access intercept circuit, write data from the requestor directed to the memory controller for the memory write request; storing, by the memory access intercept circuit, the write data in a write data buffer; intercepting, by the memory access intercept circuit, the proxy write data from the memory controller directed to a physical (PHY) interface circuit of the processor-based device; retrieving, by the memory access intercept circuit, the write data from the write data buffer; transmitting, by the memory access intercept circuit, the write data to the PHY interface circuit; receiving, by the memory access intercept circuit from the PHY interface circuit, loopback data directed to the memory controller in response to a read signal from the memory access intercept circuit; and storing, by the memory access intercept circuit, the loopback data in a read data buffer.

  12. Claim 12Depends on #11

    The method of claim 11, wherein: the method further comprises: generating, by the memory access intercept circuit, a write transaction identifier (ID) for the memory write request; and generating, by the memory access intercept circuit, a read transaction ID for the read signal; transmitting the proxy write data to the memory controller comprises transmitting the write transaction ID to the memory controller as the proxy write data; storing the write data in the write data buffer comprises storing the write data in the write data buffer in association with the write transaction ID; retrieving the write data from the write data buffer comprises retrieving the write data from the write data buffer based on the write transaction ID of the proxy write data; and storing the loopback data in the read data buffer comprises storing the loopback data in the read data buffer in association with the read transaction ID.

  13. Claim 13Depends on #12

    The method of claim 12, further comprising: transmitting, by the memory access intercept circuit, the read transaction ID to the memory controller as proxy read data; intercepting, by the memory access intercept circuit, the proxy read data from the memory controller directed to the requestor; retrieving, by the memory access intercept circuit, the loopback data from the read data buffer based on the read transaction ID of the proxy read data; and transmitting, by the memory access intercept circuit, the loopback data to the requestor.

  14. Claim 14Depends on #13

    The method of claim 13, wherein: the requestor comprises a testing circuit; and the method further comprises: performing, by the testing circuit, a comparison of the write data and the loopback data; and generating, by the testing circuit, a test result indication based on the comparison.

  15. Claim 15Depends on #11

    The method of claim 11, wherein: the method further comprises performing, by the memory access intercept circuit, a first data transformation on the write data to generate first transformed data; and transmitting the write data to the PHY interface circuit comprises transmitting the first transformed data as the write data.

  16. Claim 16Depends on #15

    The method of claim 15, wherein performing the first data transformation comprises encrypting the write data.

  17. Claim 17Depends on #15

    The method of claim 15, wherein performing the first data transformation comprises encoding a custom error correction code (ECC) based on the write data.

  18. Claim 18Depends on #11

    The method of claim 11, wherein receiving the loopback data comprises: receiving, from the PHY interface circuit, second transformed data; and performing a second data transformation on the second transformed data to obtain the loopback data.

  19. Claim 19Depends on #18

    The method of claim 18, wherein performing the second data transformation comprises decrypting the second transformed data.

  20. Claim 20Depends on #18

    The method of claim 18, wherein performing the second data transformation comprises decoding a custom error correction code (ECC).

Technical Overview & Description

BACKGROUND I. Field of the Disclosure The technology of the disclosure relates generally to memory controllers in a processor-based device, and specifically to extending or augmenting the functionality of a memory controller without directly modifying the memory controller. II. Background Modern processor-based devices provide a specialized digital circuit known as a memory controller for managing memory access operations (e.g., memory write operations and memory read operations) to a memory device such as system memory. Because the logic for managing the flow of data to and from the memory device is embodied by the memory controller, conventional approaches for extending or augmenting the functionality of the memory controller necessarily involve directly modifying the circuitry of the memory controller itself. However, such direct modifications may be rendered impossible or infeasible due to technical limitations or, in the case of third-party manufacturers, restrictions on access to the underlying intellectual property. Accordingly, a mechanism for extending the functionality of the memory controller without the need to alter the memory controller itself is desirable. It is further desirable for such a mechanism to provide additional functionality to enable functional validation and screening of integral elements of the mechanism before incurring the cost of integrating the mechanism into a processor-based device. SUMMARY OF THE DISCLOSURE Aspects disclosed in the detailed description include apparatus and methods for extending functionality of memory controllers using a loopback mode for testing in a processor-based device. In one aspect, a processor-based device provides a memory access intercept circuit that is communicatively coupled to a memory controller and a physical (PHY) interface circuit, where the memory access intercept circuit and the PHY interface circuit are configured to operate in a loopback mode. In the loopback mode, the memory access intercep

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

Non-Patent Literature (2)

  • Notice of Allowance for U.S. Appl. No. 17/856,299, mailed Aug. 5, 2024, 9 pages.
  • Non-Final Office Action for U.S. Appl. No. 17/856,299, mailed Mar. 6, 2024, 10 pages.