# US 2021/0334028 A1 · System for Accelerated Training of Bit Output Timings

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

- Number: US 2021/0334028 A1
- Document ID: US20210334028A1
- Status: Published application
- Kind: A1
- Application number: 16/859,494
- Filed: 2020-04-27
- Published: 2021-10-28
- Earliest claimed: 2020-04-27
- Assignees: Western Digital Technologies, Inc.
- Applicants: Western Digital Technologies, Inc.
- Inventors: Robert Ellis; Atif Hussain; Venugopal Garuda; Kevin O'Toole; Todd Lindberg
- Web page: https://patentgrep.com/patent/US20210334028A1

## CPC

- G06F 11/1028: {Adjacent errors, e.g. error in n-bit (n>1) wide storage units, i.e. package error}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 11/0727: {in a storage system, e.g. in a DASD or network based storage system (drivers for digital recording or reproducing units G06F3/06; circuits for error detection or correction within digital recording or reproducing units G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 13/1678: {using bus width}
- G11C 16/0483: {comprising cells having several storage transistors connected in series}
- G11C 16/08: Address circuits; Decoders; Word-line control circuits
- G11C 16/26: Sensing or reading circuits; Data output circuits
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Aspects of a storage device including a controller memory, a die memory, and a plurality of accumulators corresponding to individual DQs are provided for accelerated DQ training and error detection. A controller stores first data in the controller memory, transfers second data to the die memory over an n-bit bus, and receives n bits of the second data from the die memory based on a DQS. The controller then compares n bits of the first data with n bits of the second data to produce n bit results received into respective accumulators, and the controller simultaneously updates different accumulators in response to bit mismatches. During DQ training, if an accumulator value meets a mismatch threshold, the controller modifies a DQS-DQ timing accordingly. During error detection of a read scrambled page, if an accumulator value does not meet an entropy threshold, the controller identifies an error associated with the page.

## Claims

### Claim 1

A storage device, comprising:
a controller memory and a die memory;
a controller configured to store first data in the controller memory, to transfer second data to the die memory over a bus having an n-bit width, and to compare n bits of the first data with n bits of the second data to produce n bit results; and
a plurality of accumulators each corresponding to one of the n bit results and including a first accumulator and a second accumulator;
wherein the controller is further configured to update the first accumulator in response to a first one of the n bit results indicating a first mismatch, and to simultaneously update the second accumulator in response to a second one of the n bit results indicating a second mismatch.

### Claim 2 (depends on 1)

The storage device of claim 1,
wherein the controller is further configured to receive the n bits of the second data from the die memory based on a data strobe;
wherein the data strobe is offset with respect to a first one of the n bits of the second data by a first timing, and wherein the data strobe is offset with respect to a second one of the n bits of the second data by a second timing; and
wherein the controller is further configured to determine whether a first value of the first accumulator or a second value of the second accumulator meet a mismatch threshold, to modify the first timing when the first value meets the mismatch threshold, and to modify the second timing when the second value meets the mismatch threshold.

### Claim 3 (depends on 2)

The storage device of claim 2, wherein the controller is further configured to modify the first timing based on the first value and to modify the second timing based on the second value.

### Claim 4 (depends on 1)

The storage device of claim 1, wherein the second data transferred to the die memory comprises the first data.

### Claim 5 (depends on 1)

The storage device of claim 1, wherein the second data transferred to the die memory comprises a page from a non-volatile memory.

### Claim 6 (depends on 5)

The storage device of claim 5, wherein the controller is further configured to determine whether at least one of a first value of the first accumulator or a second value of the second accumulator does not meet an entropy threshold, and to identify an error associated with the page based on the determination.

### Claim 7 (depends on 1)

The storage device of claim 1, wherein the controller is further configured to compare the first data with the second data using one or more exclusive-or (XOR) gates or exclusive-nor (XNOR) gates.

### Claim 8

A storage device, comprising:
a controller memory and a die memory;
a controller configured to store first data in the controller memory, to transfer second data to the die memory over a bus having an n-bit width, to receive n bits of the second data from the die memory based on a data strobe, and to compare n bits of the first data with the n bits of the second data to produce n bit results, wherein the data strobe is offset with respect to a first one of the n bits of the second data by a first timing, and wherein the data strobe is offset with respect to a second one of the n bits of the second data by a second timing; and
a plurality of accumulators each corresponding to one of the n bit results and including a first accumulator and a second accumulator, wherein the controller is further configured to update the first accumulator in response to a first one of the n bit results indicating a first mismatch, and to simultaneously update the second accumulator in response to a second one of the n bit results indicating a second mismatch;
wherein the controller is further configured to determine whether a first value of the first accumulator or a second value of the second accumulator meet a mismatch threshold, to modify the first timing when the first value meets the mismatch threshold, and to modify the second timing when the second value meets the mismatch threshold.

### Claim 9 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to modify the first timing based on the first value and to modify the second timing based on the second value.

### Claim 10 (depends on 8)

The storage device of claim 8, wherein the second data transferred to the die memory comprises the first data.

### Claim 11 (depends on 8)

The storage device of claim 8, wherein the second data transferred to the die memory comprises a page from a non-volatile memory.

### Claim 12 (depends on 11)

The storage device of claim 11, wherein the controller is further configured to determine whether at least one of the first value of the first accumulator or the second value of the second accumulator does not meet an entropy threshold, and to identify an error associated with the page based on the determination.

### Claim 13 (depends on 8)

The storage device of claim 8, wherein the controller is further configured to compare the first data with the second data using one or more exclusive-or (XOR) gates or exclusive-nor (XNOR) gates.

### Claim 14

A storage device, comprising:
a controller memory and a die memory;
a controller configured to store first data in the controller memory, to transfer second data to the die memory over a bus having an n-bit width, and to compare n bits of the first data with n bits of the second data to produce n bit results; and
a plurality of accumulators each corresponding to one of the n bit results and including a first accumulator and a second accumulator, wherein the controller is further configured to update the first accumulator in response to a first one of the n bit results indicating a first mismatch, and to simultaneously update the second accumulator in response to a second one of the n bit results indicating a second mismatch;
wherein the controller is further configured to determine whether at least one of a first value of the first accumulator or a second value of the second accumulator does not meet an entropy threshold, and to identify an error associated with the second data based on the determination.

### Claim 15 (depends on 14)

The storage device of claim 14,
wherein the controller is further configured to receive the n bits of the second data from the die memory based on a data strobe;
wherein the data strobe is offset with respect to a first one of the n bits of the second data by a first timing, and wherein the data strobe is offset with respect to a second one of the n bits of the second data by a second timing; and
wherein the controller is further configured to determine whether the first value of the first accumulator or the second value of the second accumulator meet a mismatch threshold, to modify the first timing when the first value meets the mismatch threshold, and to modify the second timing when the second value meets the mismatch threshold.

### Claim 16 (depends on 15)

The storage device of claim 15, wherein the controller is further configured to modify the first timing based on the first value and to modify the second timing based on the second value.

### Claim 17 (depends on 14)

The storage device of claim 14, wherein the second data transferred to the die memory comprises the first data.

### Claim 18 (depends on 14)

The storage device of claim 14, wherein the second data transferred to the die memory comprises a page from a non-volatile memory.

### Claim 19 (depends on 14)

The storage device of claim 14, wherein the controller is further configured to compare the first data with the second data using one or more exclusive-or (XOR) gates.

### Claim 20 (depends on 14)

The storage device of claim 14, wherein the controller is further configured to compare the first data with the second data using one or more exclusive-nor (XNOR) gates.
