# US 2023/0056492 A1 · Hazard detection in a multi-memory device

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0056492 A1
- Document ID: US20230056492A1
- Status: Published application
- Kind: A1
- Application number: 17/584,104
- Filed: 2022-01-25
- Published: 2023-02-23
- Earliest claimed: 2021-08-17
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Taeksang Song; Saira Samar Malik; Chinnakrishnan Ballapuram
- Web page: https://patentgrep.com/patent/US20230056492A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G11C 29/52: Protection of memory contents; Detection of errors in memory contents
- G06F 3/0614: {Improving the reliability of storage systems}
- G06F 3/068: {Hybrid storage device}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G11C 29/44: Indication or identification of errors, e.g. for repair
- G11C 2029/0409: {Online test}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Methods, systems, and devices for hazard detection in a multi-memory device are described. A device may receive a first command that indicates a first bank address, a first row address, and a first column address. Based on the first bank address, the device may select a buffer for a hazard detection procedure that detects hazardous commands. The device may compare, as part of the hazard detection procedure, the first row address and the first column address from the first command with a second row address and a second column address from a second command in the buffer. The device may determine whether the first command and the second command are hazardous commands based on comparing the first row address and the first column address from the first command with the second row address and the second column address from the second command.

## Claims

### Claim 1

An apparatus, comprising:
a non-volatile memory;
a volatile memory; and
an interface controller coupled with the non-volatile memory and the volatile memory, the interface controller operable to cause the apparatus to:
receive a first command indicating a first bank address, a first row address, and a first column address;
select, based at least in part on the first bank address and from a set of buffers each associated with a respective bank of the volatile memory, a buffer for a hazard detection procedure that detects hazardous commands that are subject to ordering conditions for execution;
compare, as part of the hazard detection procedure and based at least in part on selecting the buffer, the first row address and the first column address from the first command with a second row address and a second column address from a second command in the buffer; and
determine whether the first command and the second command are hazardous commands subject to an ordering condition for execution based at least in part on comparing the first row address and the first column address from the first command with the second row address and the second column address from the second command.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein hazardous commands comprise commands with matching bank addresses, row addresses, and column addresses.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the interface controller is operable to:
determine that the first command and the second command are hazardous commands based at least in part on the first row address matching the second row address and based at least in part on the first column address matching the second column address.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the interface controller is operable to:
replace the second command in the buffer with the first command based at least in part on determining that the first command and the second command are hazardous commands.

### Claim 5 (depends on 4)

The apparatus of claim 4, further comprising:
a command queue, in the interface controller, that is operable to store commands for the volatile memory and commands for the non-volatile memory, wherein the interface controller is operable to cause the apparatus to:
add the first command to the command queue based at least in part on receiving the first command; and
update the command queue based at least in part on determining that the first command is a hazardous command.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the interface controller is operable to cause the apparatus to update the command queue by being operable to cause the apparatus to:
add a transaction identifier of the first command to a first field for the second command; and
update a second field for the second command to indicate that the second command is a hazardous command.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the interface controller is operable to:
determine that the first command and the second command are not hazardous commands based at least in part on the first row address being different than the second row address, based at least in part on the first column address being different than the second column address, or both.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the interface controller is operable to:
add the first command to the buffer based at least in part on determining that the first command and the second command are not hazardous commands.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein the volatile memory comprises a plurality of banks, and wherein each buffer in the set of buffers is configured to store commands for a respective bank of the plurality of banks.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the buffer stores commands with bank addresses that match the first bank address and does not store commands with bank addresses that do not match the first bank address.

### Claim 11 (depends on 1)

The apparatus of claim 1, wherein the buffer comprises a collapsing buffer that is configured to remove entries regardless of storage duration in the buffer, addition order to the collapsing buffer, or both.

### Claim 12

A method, comprising:
receiving a first command indicating a first bank address, a first row address, and a first column address;
selecting, based at least in part on the first bank address and from a set of buffers each associated with a respective bank of a volatile memory, a buffer for a hazard detection procedure that detects hazardous commands that are subject to ordering conditions for execution;
comparing, as part of the hazard detection procedure and based at least in part on selecting the buffer, the first row address and the first column address from the first command with a second row address and a second column address from a second command in the buffer; and
determining whether the first command and the second command are hazardous commands subject to an ordering condition for execution based at least in part on comparing the first row address and the first column address from the first command with the second row address and the second column address from the second command.

### Claim 13 (depends on 12)

The method of claim 12, wherein hazardous commands comprise commands with matching bank addresses, row addresses, and column addresses.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
determining that the first command and the second command are hazardous commands based at least in part on the first row address matching the second row address and based at least in part on the first column address matching the second column address.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
replacing the second command in the buffer with the first command based at least in part on determining that the first command and the second command are hazardous commands.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
adding the first command to a command queue based at least in part on receiving the first command, wherein the command queue stores commands for the volatile memory and commands for a non-volatile memory; and
updating the command queue based at least in part on determining that the first command is a hazardous command.

### Claim 17 (depends on 16)

The method of claim 16, wherein updating the command queue comprises:
adding a transaction identifier of the first command to a first field for the second command; and
updating a second field for the second command to indicate that the second command is a hazardous command.

### Claim 18 (depends on 12)

The method of claim 12, further comprising:
determining that the first command and the second command are not hazardous commands based at least in part on the first row address being different than the second row address, based at least in part on the first column address being different than the second column address, or both.

### Claim 19 (depends on 18)

The method of claim 18, further comprising:
adding the first command to the buffer based at least in part on determining that the first command and the second command are not hazardous commands.

### Claim 20

A non-transitory computer-readable medium storing code comprising instructions which, when executed by a processor of an apparatus, cause the apparatus to:
receive a first command indicating a first bank address, a first row address, and a first column address;
select, based at least in part on the first bank address and from a set of buffers each associated with a respective bank of a volatile memory, a buffer for a hazard detection procedure that detects hazardous commands that are subject to ordering conditions for execution;
compare, as part of the hazard detection procedure and based at least in part on selecting the buffer, the first row address and the first column address from the first command with a second row address and a second column address from a second command in the buffer; and
determine whether the first command and the second command are hazardous commands subject to an ordering condition for execution based at least in part on comparing the first row address and the first column address from the first command with the second row address and the second column address from the second command.

### Claim 21 (depends on 20)

The non-transitory computer-readable medium of claim 20, wherein the instructions, when executed by the processor of the apparatus, cause the apparatus to:
determine that the first command and the second command are hazardous commands based at least in part on the first row address matching the second row address and based at least in part on the first column address matching the second column address.

### Claim 22 (depends on 21)

The non-transitory computer-readable medium of claim 21, wherein the instructions, when executed by the processor of the apparatus, cause the apparatus to:
replace the second command in the buffer with the first command based at least in part on determining that the first command and the second command are hazardous commands.

### Claim 23 (depends on 22)

The non-transitory computer-readable medium of claim 22, wherein the instructions, when executed by the processor of the apparatus, cause the apparatus to:
add the first command to a command queue based at least in part on receiving the first command, wherein the command queue stores commands for the volatile memory and commands for a non-volatile memory; and
update the command queue based at least in part on determining that the first command is a hazardous command.

### Claim 24 (depends on 23)

The non-transitory computer-readable medium of claim 23, wherein the instructions that cause the apparatus to update the command queue comprise instructions that cause the apparatus to:
add a transaction identifier of the first command to a first field for the second command; and
update a second field for the second command to indicate that the second command is a hazardous command.

### Claim 25 (depends on 20)

The non-transitory computer-readable medium of claim 20, wherein the instructions, when executed by the processor of the apparatus, cause the apparatus to:
determine that the first command and the second command are not hazardous commands based at least in part on the first row address being different than the second row address, based at least in part on the first column address being different than the second column address, or both; and
add the first command to the buffer based at least in part on determining that the first command and the second command are not hazardous commands.
