IP Library Granted Patent US 10,580,511
Granted Patent B2
US 10,580,511 · App. 15/340,726 · Granted Mar 3, 2020

Hardware monitor to verify memory units

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,580,511
App. No.
15/340,726
Granted
Mar 3, 2020
Kind
B2
Abstract

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.

Claims (32)

1. A hardware monitor configured to verify operation of an instantiation of a memory unit defined in a hardware design, the hardware monitor comprising:

detection logic configured to monitor one or more control signals of the instantiation of the memory unit to detect writes to a symbolic address of the instantiation of the memory unit and reads of the symbolic address of the instantiation of the memory unit, wherein the symbolic address is a variable that represents each possible address value of the instantiation of the memory unit which causes a 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 detection 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 hardware monitor of claim 1 , further comprising a seen symbolic write register and wherein the detection 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 hardware monitor of claim 2 , further comprising a symbolic read request register and wherein the detection 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 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 hardware monitor of claim 3 , wherein the assertion verification logic is further configured to output an error message in response to determining the read data corresponding to the read of the symbolic address does not match the symbolic data.

5. The hardware monitor of claim 3 , further comprising a symbolic mask register, and wherein the detection 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 hardware monitor of claim 3 , further comprising a seen symbolic read register, and wherein the detection 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.

7. The hardware monitor of claim 6 , wherein the assertion verification logic is further configured to perform the comparison only if the seen symbolic read register is set.

8. The hardware monitor of claim 1 , further comprising:

a symbolic read request register, and wherein the detection 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 detection 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.

9. The hardware monitor of claim 8 , wherein the assertion verification logic is configured to verify the 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.

10. The hardware monitor of claim 9 , wherein the assertion verification logic is configured to output an error message in response to determining the read data corresponding to the read of the symbolic address does not match the write data in the last written data register.

11. The hardware monitor of claim 9 , further comprising an initialised register, and wherein the detection logic is configured to, in response to detecting a write to the symbolic address, update the initialised register to indicate which particular bits of a memory block at the symbolic address have been written to at least once.

12. The hardware monitor of claim 11 , 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 initialised 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.

13. The hardware monitor of claim 1 , wherein the memory unit implements one or more of: multiple access ports, partial reads and writes, pipelining, and clock gating.

14. The hardware monitor of claim 1 , wherein the hardware monitor is embodied in hardware on an integrated circuit.

15. A non-transitory computer readable storage medium having stored thereon an integrated circuit definition dataset that, when processed in an integrated circuit manufacturing system, configures the system to manufacture a hardware monitor as set forth in claim 1 .

16. A test system configured to verify a hardware design for a memory unit, the test system comprising:

a hardware monitor comprising:

detection logic configured to monitor one or more control signals of an instantiation of the memory unit to detect writes to a symbolic address of the instantiation of the memory unit and reads of the symbolic address of the instantiation of the memory unit, wherein the symbolic address is a variable that represents each possible address value of the instantiation of the memory unit which causes a 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 detection 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; and

the formal verification tool configured to use the hardware monitor to verify the assertion is true for the hardware design for each of the possible address values of the symbolic address.

17. The test system of claim 16 , further comprising a configuration application program interface configured to identify the one or more control signals of the memory unit to be monitored by the detection logic based on a type of the memory unit, a configuration of the memory unit or both the type of the memory unit and the configuration of the memory unit.

18. A method of verifying operation of an instantiation of a memory unit defined by a hardware design, the method comprising:

monitoring, using detection logic, one or more control signals of the instantiation of the memory unit to detect writes to a symbolic address of the instantiation of the memory unit, wherein the symbolic address is a variable that represents each possible address value of the instantiation of the memory unit which causes a formal verification tool to assess each of the possible address values;

monitoring, using detection logic, one or more control signals of the instantiation of the memory unit to detect reads of the symbolic address of the instantiation of the memory unit; and

verifying operation of the instantiation of the memory unit, using assertion verification logic, 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.

19. A non-transitory computer readable storage medium having stored thereon computer readable instructions, that when executed at a computer system, cause the computer system to perform the steps of the method set forth in claim 18 .

Assignments (2)
SECURITY INTEREST Recorded Jul 31, 2024
From: IMAGINATION TECHNOLOGIES LIMITED
To: FORTRESS INVESTMENT GROUP (UK) LTD
Reel/Frame 068221/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 1, 2016
From: DARBARI, ASHISH; SINGLETON, IAIN
To: IMAGINATION TECHNOLOGIES LIMITED
Reel/Frame 040190/0233 →