Cache diagnostic techniques

US11023342B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11023342-B2
Application numberUS-201916264118-A
CountryUS
Kind codeB2
Filing dateJan 31, 2019
Priority dateNov 30, 2018
Publication dateJun 1, 2021
Grant dateJun 1, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

Techniques are disclosed relating to cache debug using control registers based on debug commands. In some embodiments, an apparatus includes a processor core, debug circuitry, and control circuitry. In some embodiments, the debug circuitry is configured to receive external debug inputs and send abstract commands to the processor core based on the external debug inputs. In some embodiments, the control circuitry is configured to, in response to an abstract command to read data from the cache: write cache address information to a first control register, assert a trigger signal to cause a read of the data from the cache to a second control register, based on the cache address information in the first control register, and send data from the second control register to the debug circuitry. In various embodiments, this may facilitate hardware cache debug using debug circuitry that also controls software debugging.

First claim

Opening claim text (preview).

What is claimed is: 1. An apparatus, comprising: a processor core that includes a cache; debug circuitry configured to receive external debug inputs and send abstract commands to the processor core based on the external debug inputs; and control circuitry in the processor core configured to, in response to an abstract command to read data from the cache: write cache address information to a first control register; assert a trigger signal to cause a read of the data from the cache to a second control register, based on the cache address information in the first control register, wherein the data includes tag data for one or more cache lines of the cache and status data for one or more cache lines of the cache; and send the data from the second control register to the debug circuitry. 2. The apparatus of claim 1 , wherein the trigger signal is a register read. 3. The apparatus of claim 1 , wherein the data includes cached instruction data and error protection information for the cached instruction data. 4. The apparatus of claim 1 , wherein the cache address information specifies an array, a way, and an index. 5. The apparatus of claim 1 , wherein the control circuitry is further configured to, in response to an abstract command from the debug circuitry to write data to the cache: write data to a control register; and assert a trigger signal to cause a write of the data from the control register to the cache, based on the cache address information. 6. The apparatus of claim 5 , wherein the control circuitry is further configured to write error protection information to the cache for the written data. 7. The apparatus of claim 1 , wherein the control registers are accessible only in a debug mode of the processor core. 8. A method, comprising: receiving, by debug circuitry, external debug inputs and sending abstract commands to a processor core based on the external debug inputs; and in response to an abstract command to read data from a cache in the processor core: writing, by control circuitry, cache address information to a first control register; asserting, by the control circuitry, a trigger signal to cause a read of the data from the cache to a second control register, based on the cache address information in the first control register, wherein the data includes tag data for one or more cache lines of the cache and status data for one or more cache lines of the cache; and sending the data from the second control register to the debug circuitry. 9. The method of claim 8 , wherein the trigger signal is a register read. 10. The method of claim 8 , wherein the data includes cached instruction data and error protection information for the cached instruction data. 11. The method of claim 8 , further comprising, in response to an abstract command from the debug circuitry to write data to the cache: writing, by the control circuitry, data to a control register; and asserting, by the control circuitry, a trigger signal to cause a write of the data from the control register to the cache, based on the cache address information. 12. A non-transitory computer readable storage medium having stored thereon design information that specifies a design of at least a portion of a hardware integrated circuit in a format recognized by a semiconductor fabrication system that is configured to use the design information to produce the circuit according to the design, including: a processor core that includes a cache; debug circuitry configured to receive external debug inputs and send abstract commands to the processor core based on the external debug inputs; and control circuitry in the processor core configured to, in response to an abstract command to read data from the cache: write cache address information to a first control register; assert a trigger signal to cause a read of the data from the cache to a second control register, based on the cache address information in the first control register, wherein the data includes tag data for one or more cache lines of the cache and status data for one or more cache lines of the cache; and send the data from the second control register to the debug circuitry. 13. The non-transitory computer readable storage medium of claim 12 , wherein the trigger signal is a register read. 14. The non-transitory computer readable storage medium of claim 12 , wherein the data includes cached instruction data and error protection information for the cached instruction data. 15. The non-transitory computer readable storage medium of claim 12 , wherein the cache address information specifies an array, a way, and an index. 16. The non-transitory computer readable storage medium of claim 12 , wherein the control circuitry is further configured to, in response to an abstract command from the debug circuitry to write data to the cache: write data to a control register; and assert a trigger signal to cause a write of the data from the control register to the cache, based on the cache address information. 17. The non-transitory computer readable storage medium of claim 16 , wherein the control circuitry is further configured to write error protection information to the cache for the written data.

Assignees

Inventors

Classifications

  • using a dedicated service processor for test · CPC title

  • to test CPU or processors · CPC title

  • G06F11/263Primary

    Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers} · CPC title

  • Special purpose registers · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11023342B2 cover?
Techniques are disclosed relating to cache debug using control registers based on debug commands. In some embodiments, an apparatus includes a processor core, debug circuitry, and control circuitry. In some embodiments, the debug circuitry is configured to receive external debug inputs and send abstract commands to the processor core based on the external debug inputs. In some embodiments, the …
Who is the assignee on this patent?
Western Digital Tech Inc
What technology area does this patent fall under?
Primary CPC classification G06F11/2236. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jun 01 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).