# US 2026/0253659 A1 · Semiconductor memory devices and memory systems including the same

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

- Number: US 2026/0253659 A1
- Document ID: US20260253659A1
- Status: Published application
- Kind: A1
- Application number: 19/381,752
- Filed: 2025-11-06
- Published: 2026-08-27
- Earliest claimed: 2025-02-25
- Assignees: Samsung Elecronics Co., Ltd.
- Applicants: Samsung Elecronics Co., Ltd
- Inventors: Donggeun LEE; Sungrae KIM; Kiwon LEE
- Web page: https://patentgrep.com/patent/US20260253659A1

## CPC

- G11C 29/42: using error correcting codes [ECC] or parity check
- G11C 29/14: Implementation of control logic, e.g. test mode decoders
- G11C 29/36: Data generation devices, e.g. data inverters
- G11C 2029/3602: {Pattern generator}
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

A semiconductor memory device includes a memory cell array, an on-die error correction code (ECC) engine, a link ECC engine, a latch circuit and a control logic circuit. The control logic circuit, in response to a first mode register set command, sets the on-die ECC engine and the link ECC engine to a test mode and cuts off connection between the on-die ECC engine and the memory cell array by disabling the on-die ECC engine. The link ECC engine, in the test mode, receives a write command, a first link parity data and a first test data that selectively includes at least one error bit, generates a second test data by performing an ECC decoding operation on the first test data based on the first link parity data and by correcting an error bit of the first test data and stores the second test data in the latch circuit.

## Claims

### Claim 1

A semiconductor memory device comprising:
a memory cell array comprising a plurality of memory cells coupled to a plurality of word-lines and a plurality of bit-lines;
an on-die error correction code (ECC) engine;
a link ECC engine;
a latch circuit; and
a control logic circuit configured to control the on-die ECC engine and the link ECC engine,
wherein the control logic circuit is further configured to, in response to a first mode register set command from an external device, set the on-die ECC engine and the link ECC engine to a test mode, and cut off connection between the on-die ECC engine and the memory cell array by disabling the on-die ECC engine, and
wherein the link ECC engine is configured to, in the test mode:
receive a write command, a first link parity data and a first test data that selectively comprises at least one error bit from the external device;
generate a second test data by performing an ECC decoding operation on the first test data based on the first link parity data and by correcting an error bit of the first test data; and
store the second test data in the latch circuit.

### Claim 2 (depends on 1)

The semiconductor memory device of claim 1, wherein the first mode register set command corresponds to a test mode register set command.

### Claim 3 (depends on 1)

The semiconductor memory device of claim 1, wherein the link ECC engine is further configured to correct x error bit and detect (x+1) error bits in the first test data, and x is a natural number.

### Claim 4 (depends on 1)

The semiconductor memory device of claim 1, wherein the link ECC engine is further configured to, in the test mode:
generate a second link parity data by performing an ECC encoding operation on the second test data stored in the latch circuit in response to a read command from the external device; and
transmit the second test data and the second link parity data to the external device.

### Claim 5 (depends on 1)

The semiconductor memory device of claim 1, wherein the link ECC engine comprises:
a link ECC decoder configured to, in the test mode, generate the second test data by performing the ECC decoding operation on the first test data based on a first ECC;
a link ECC encoder configured to, in the test mode, generate a second link parity data by performing an ECC encoding operation on the second test data based on the first ECC; and
a memory configured to store the first ECC, and
wherein the latch circuit is disposed at an outside of the on-die ECC engine and the link ECC engine.

### Claim 6 (depends on 5)

The semiconductor memory device of claim 5, wherein the link ECC engine further include a path selection circuit, and
wherein the path selection circuit is configured to, based on a selection signal:
provide the second test data to the latch circuit in the test mode; and
provide the on-die ECC engine with a main data provided from the link ECC decoder.

### Claim 7 (depends on 5)

The semiconductor memory device of claim 5, wherein the link ECC decoder is further configured to, in response to the first test data comprising no error bit, store the second test data in the latch circuit by maintaining the first test data, and
wherein the link ECC encoder is further configured to in response to the first test data comprising no error bit, generate the second link parity data indicating that the second test data includes no error bit, based on the second test data stored in the latch circuit.

### Claim 8 (depends on 5)

The semiconductor memory device of claim 5, wherein the link ECC decoder is further configured to, in response to the first test data comprising a correctable error bit, store the second test data in the latch circuit by correcting the correctable error bit in the first test data, and
wherein the link ECC encoder is further configured to, in response to the first test data comprising the correctable error bit, generate the second link parity data indicating that the second test data includes no error bit, based on the second test data stored in the latch circuit.

### Claim 9 (depends on 5)

The semiconductor memory device of claim 5, wherein the link ECC decoder is further configured to, in response to the first test data comprising uncorrectable error bits, store the second test data in the latch circuit by maintaining the first test data, and
wherein the link ECC encoder is further configured to, in response to the first test data comprising the uncorrectable error bits, generate the second link parity data indicating that the second test data includes the uncorrectable error bits, based on the second test data stored in the latch circuit.

### Claim 10 (depends on 1)

The semiconductor memory device of claim 1, wherein, in a normal mode, the on-die ECC engine is configured to:
based on a write command, receive a main data from the link ECC engine, generate a parity data by performing an ECC encoding operation on the main data and store the main data and the parity data in a target page of the memory cell array; and
based on a read command, read the main data and the parity data from the target page, correct at least one error bit in the read main data by performing an ECC decoding operation on the read main data based on the read parity data to generate a corrected main data and provide the corrected main data to the link ECC engine.

### Claim 11 (depends on 1)

The semiconductor memory device of claim 1, wherein the control logic circuit is further configured to exit from the test mode in response to a second mode register set command from the external device applied after a read command.

### Claim 12

A memory system comprising:
a semiconductor memory device; and
a memory controller configured to control the semiconductor memory device,
wherein the semiconductor memory device comprises:
a memory cell array comprising a plurality of memory cells coupled to a plurality of word-lines and a plurality of bit-lines;
an on-die error correction code (ECC) engine;
a link ECC engine;
a latch circuit disposed at an outside of the on-die ECC engine and the link ECC engine; and
a control logic circuit configured to control the on-die ECC engine and the link ECC engine,
wherein the control logic circuit is further configured to, in response to a first mode register set command from the memory controller, set the on-die ECC engine and the link ECC engine to a test mode, and cut off a connection between the on-die ECC engine and the memory cell array by disabling the on-die ECC engine, and
wherein the link ECC engine is configured to, in the test mode:
receive a write command, a first link parity data and a first test data that selectively comprises at least one error bit from the memory controller;
generate a second test data by performing an ECC decoding operation on the first test data based on the first link parity data and by correcting an error bit of the first test data;
store the second test data in the latch circuit;
generate a second link parity data by performing an ECC encoding operation on the second test data stored in the latch circuit in response to a read command from the memory controller; and
transmit the second test data and the second link parity data to the memory controller.

### Claim 13 (depends on 12)

The memory system of claim 12, wherein the memory controller is further configured to, in the test mode, test whether the link ECC engine operates normally by comparing each of the second test data and the second link parity data with respective one of an expected test data and an expected link parity data.

### Claim 14 (depends on 12)

The memory system of claim 12, wherein the link ECC engine comprises:
a link ECC decoder configured to, in the test mode, generate the second test data by performing the ECC decoding operation on the first test data based on a first ECC code;
a link ECC encoder configured to, in the test mode, generate the second link parity data by performing an ECC encoding operation on the second test data based on the first ECC code; and
a memory configured to store the first ECC code.

### Claim 15 (depends on 14)

The memory system of claim 14, wherein the memory controller is configured to:
determine whether the link ECC decoder operates normally by comparing the second test data with an expected test data; and
determine whether the link ECC encoder operates normally by comparing the second link parity data with an expected link parity data.

### Claim 16 (depends on 14)

The memory system of claim 14, wherein the memory controller comprises:
a test data generator configured to generate the first test data, in the test mode;
a link parity generator configured to generate the first link parity data based on the first test data;
a decision logic circuit configured to generate a severity signal by comparing each of the second test data and the second link parity data with respective one of an expected test data and an expected link parity data, in the test mode; and
a central processing unit (CPU) configured to determine whether the link ECC engine operates normally based on the severity signal.

### Claim 17 (depends on 16)

The memory system of claim 16, wherein the test data generator is further configured to generate the first test data comprising no error bit,
wherein the link ECC decoder is further configured to store the second test data in the latch circuit by maintaining the first test data,
wherein the link ECC encoder is further configured to generate the second link parity data based on the second test data stored in the latch circuit, and
wherein the decision logic circuit is further configured to generate the severity signal indicating that the link ECC encoder operates normally based on the second link parity data indicating that the second test data includes no error bit.

### Claim 18 (depends on 16)

The memory system of claim 16, wherein the test data generator is further configured to generate the first test data comprising a correctable error bit,
wherein the link ECC decoder is further configured to store the second test data in the latch circuit by correcting the correctable error bit in the first test data,
wherein the link ECC encoder is further configured to generate the second link parity data based on the second test data stored in the latch circuit, and
wherein the decision logic circuit is further configured to generate the severity signal indicating that the link ECC encoder operates normally based on the second link parity data indicating that the second test data includes no error bit.

### Claim 19 (depends on 16)

The memory system of claim 16, wherein the test data generator is further configured to generate the first test data comprising uncorrectable error bits,
wherein the link ECC decoder is further configured to store the second test data in the latch circuit by maintaining the first test data,
wherein the link ECC encoder is further configured to generate the second link parity data based on the second test data stored in the latch circuit, and
wherein the decision logic circuit is further configured to generate the severity signal indicating that the link ECC encoder operates normally based on the second link parity data indicating that the second test data includes the uncorrectable error bits.

### Claim 20

A semiconductor memory device comprising:
a memory cell array comprising a plurality of memory cells coupled to a plurality of word-lines and a plurality of bit-lines;
an on-die error correction code (ECC) engine;
a link ECC engine;
a latch circuit disposed at an outside of the on-die ECC engine and the link ECC engine; and
a control logic circuit configured to control the on-die ECC engine and the link ECC engine,
wherein the control logic circuit is further configured to, in response to a mode register set command from an external device, set the on-die ECC engine and the link ECC engine to a test mode, and cut off a connection between the on-die ECC engine and the memory cell array by disabling the on-die ECC engine, and
wherein the link ECC engine, in the test mode, is configured to:
generate a link parity data by performing an ECC encoding operation on a test data stored in the latch circuit based on a read command from the external device; and
transmit the test data and the link parity data to the external device.
