Formal verification tool to verify hardware design of memory unit

US11250927B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11250927-B2
Application numberUS-202016792582-A
CountryUS
Kind codeB2
Filing dateFeb 17, 2020
Priority dateNov 11, 2015
Publication dateFeb 15, 2022
Grant dateFeb 15, 2022

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.

Hardware monitors which can be used by a formal verification tool to exhaustively verify a hardware design for a memory unit. The hardware monitors include detection logic to monitor one or more control signals and/or data signals of an instantiation of the memory unit to detect symbolic writes and symbolic reads. In some examples a symbolic write is a write of symbolic data to a symbolic address; and in other examples a symbolic write is a write of any data to a symbolic address. A symbolic read is a read of the symbolic address. The hardware monitors also include assertion verification logic that verifies an assertion that read data corresponding to a symbolic reads matches write data associated with one or more symbolic writes preceding the read.

First claim

Opening claim text (preview).

What is claimed is: 1. A formal verification tool configured to verify operation of an instantiation of a hardware unit for storing data defined in a hardware design, the formal verification tool comprising: monitoring logic configured to monitor one or more control signals of the instantiation of the hardware unit to detect writes to a symbolic address of the instantiation of the hardware unit and reads of the symbolic address of the instantiation of the hardware unit, wherein the symbolic address is a variable that represents each possible address value of the instantiation of the hardware unit which causes the formal verification tool to assess each of the possible address values; and assertion verification logic configured to verify a formal assertion that establishes that when the monitoring logic detects a read of the symbolic address that occurs after one or more writes to the symbolic address, read data corresponding to the read of the symbolic address matches write data corresponding to the one or more writes to the symbolic address. 2. The formal verification tool of claim 1 , further comprising a seen symbolic write register and wherein the monitoring logic is further configured to, in response to detecting a write to the symbolic address, determine if write data corresponding to the write to the symbolic address matches symbolic data, and in response to determining the write data matches the symbolic data, set the seen symbolic write register. 3. The formal verification tool of claim 2 , further comprising a symbolic read request register and wherein the monitoring logic is further configured to, in response to detecting a read of the symbolic address when the seen symbolic write register is set, set the symbolic read request register; and wherein the assertion verification logic is configured to verify the formal assertion by, in response to determining the seen symbolic write register is set and the symbolic read request register is set, comparing the read data corresponding to the read of the symbolic address to the symbolic data. 4. The formal verification tool of claim 3 , wherein the assertion verification logic is further configured to output an error message in response to determining that the read data corresponding to the read of the symbolic address does not match the symbolic data. 5. The formal verification tool of claim 3 , further comprising a symbolic mask register, and wherein the monitoring logic is configured to, in response to detecting a write of the symbolic data to the symbolic address, record in the symbolic mask register which particular bits of a memory block were written to; and wherein the assertion verification logic is configured to combine each of the read data corresponding to the read of the symbolic address and the symbolic data with the data in the symbolic mask register prior to comparing the read data corresponding to the read of the symbolic address and the symbolic data. 6. The formal verification tool of claim 1 , further comprising: a symbolic read request register, and wherein the monitoring logic is further configured to, in response to detecting a read of the symbolic address, set the symbolic read request register; and a last written data register, and wherein the monitoring logic is further configured to, in response to detecting a write to the symbolic address, store write data corresponding to the write to the symbolic address in the last written data register. 7. The formal verification tool of claim 6 , wherein the assertion verification logic is configured to verify the formal assertion by, in response to determining the symbolic read request register is set, comparing the read data corresponding to the read of the symbolic address to the write data in the last written data register. 8. The formal verification tool of claim 7 , wherein the assertion verification logic is configured to output an error message in response to determining that the read data corresponding to the read of the symbolic address does not match the write data in the last written data register. 9. The formal verification tool of claim 7 , further comprising an initialized register, and wherein the monitoring logic is configured to, in response to detecting a write to the symbolic address, update the initialized register to indicate which particular bits of a memory block at the symbolic address have been written to at least once. 10. The formal verification tool of claim 9 , wherein the assertion verification logic is configured to combine each of the read data corresponding to the read of the symbolic address and the write data in the last written data register with the data in the initialized register prior to comparing the read data corresponding to the read of the symbolic address and the write data in the last written data register. 11. The formal verification tool of claim 3 , further comprising a seen symbolic read register, and wherein the monitoring logic is further configured to, monitor the one or more control signals to detect that read data corresponding to the read of the symbolic address has been output, and in response to detecting that read data corresponding to the read of the symbolic address has been output, set the seen symbolic read register. 12. The formal verification tool of claim 11 , wherein the assertion verification logic is further configured to perform the comparison only if the seen symbolic read register is set. 13. The formal verification tool of claim 1 , wherein the hardware unit implements one or more of: multiple access ports, partial reads and writes, pipelining, and clock gating. 14. A test system configured to verify a hardware design for a hardware unit for storing data, the test system comprising: the formal verification tool as set forth in claim 1 ; and a configuration application program interface configured to identify the one or more control signals of the hardware unit to be monitored by the monitoring logic based on a type of the hardware unit, a configuration of the hardware unit or both the type of the hardware unit and the configuration of the hardware unit. 15. A method of verifying operation of an instantiation of a hardware unit for storing data defined by a hardware design, the method comprising: monitoring, using a formal verification tool, one or more control signals of the instantiation of the hardware unit to detect writes to a symbolic address of the instantiation of the hardware unit, wherein the symbolic address is a variable that represents each possible address value of the instantiation of the hardware unit which causes a formal verification tool to assess each of the possible address values; monitoring, using the formal verification tool, one or more control signals of the instantiation of the hardware unit to detect reads of the symbolic address of the instantiation of the hardware unit; and verifying operation of the instantiation of the hardware unit, using the formal verification tool, by verifying a formal assertion that establishes that when a read of the symbolic address occurs after one or more writes to the symbolic address, read data corresponding to the read of the symbolic address matches write data corresponding to the one or more writes to the symbolic address. 16. The method of claim 15 , further comprising in response to detecting a write to the symbolic address, storing write data corresponding to the write to the symbolic address in a last written data register; and wherein verifying the formal assertion comprises comparing the read data corresponding to the read of the symbolic ad

Assignees

Inventors

Classifications

  • to test input/output devices or peripheral units · CPC title

  • Arrangements for selecting an address in a digital store (for stores using transistors G11C11/407, G11C11/413) · CPC title

  • by simulating additional hardware, e.g. fault simulation · CPC title

  • Design verification, e.g. functional simulation or model checking · CPC title

  • Online test · 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 US11250927B2 cover?
Hardware monitors which can be used by a formal verification tool to exhaustively verify a hardware design for a memory unit. The hardware monitors include detection logic to monitor one or more control signals and/or data signals of an instantiation of the memory unit to detect symbolic writes and symbolic reads. In some examples a symbolic write is a write of symbolic data to a symbolic addre…
Who is the assignee on this patent?
Imagination Tech Ltd
What technology area does this patent fall under?
Primary CPC classification G06F11/2221. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 15 2022 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 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).