IP Library Granted Patent US 12,407,366
Granted Patent B2
US 12,407,366 · App. 18/620,595 · Granted Sep 2, 2025

Coding circuit and memory device including the same

Inventors: Chaehyeon Shin (Seoul, KR); Jongsun Park (Seoul, KR); Munseon Jang (Icheon-si, KR)
Assignees: SK hynix Inc.; KOREA UNIVERSITY RESEARCH AND BUSINESS FOUNDATION
H03M13/1148H03M13/1105
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 12,407,366
App. No.
18/620,595
Granted
Sep 2, 2025
Kind
B2
Abstract

A coding circuit includes an encoder circuit that generates parity by applying input data to a parity generating matrix and generate input codeword by concatenating the input data and the parity, and a decoder circuit that detects and corrects an out-of-boundary 2-bit error using syndromes. The out-of-boundary 2-bit error corresponds to two 1-bit errors occurred at two symbols respectively among a plurality of symbols included in output codeword, and the syndromes are generated by applying the output codeword to the parity generating matrix.

Claims (57)

1. A coding circuit comprising:

an encoder circuit configured to generate parity by applying input data to a parity generating matrix and generate input codeword by concatenating the input data and the parity; and

a decoder circuit configured to detect and correct an out-of-boundary 2-bit error using syndromes, the out-of-boundary 2-bit error corresponding to two 1-bit errors occurred at two symbols respectively among a plurality of symbols included in output codeword, the syndromes being generated by applying the output codeword to the parity generating matrix.

2. The coding circuit of claim 1 , wherein the encoder circuit comprises:

a first concatenation circuit configured to concatenate the input data and padding data;

a selection circuit configured to select an output of the first concatenation circuit or the output codeword;

a parity generator configured to apply an output of the selection circuit to the parity generating matrix; and

a second concatenation circuit configured to generate the input codeword by concatenating the input data and an output of the parity generator.

3. The coding circuit of claim 2 , wherein the selection circuit selects the output of the first concatenation circuit during a write operation and selects the output codeword during a read operation and the parity generator generates the syndromes during the read operation.

4. The coding circuit of claim 1 , wherein the decoder circuit includes:

a first error detection circuit configured to detect a 1-symbol error using the syndromes, the 1-symbol error including an error occurred in a single symbol among a plurality of symbols included in the output codeword;

a second error detection circuit configured to detect the out-of-boundary 2-bit error using the syndromes; and

an error correction circuit configured to provide output data by correcting an error in the output codeword based on detection results of the first error detection circuit and the second error detection circuit.

5. The coding circuit of claim 4 , wherein the second error detection circuit includes:

an error value estimation circuit configured to generate an estimated error value by estimating errors based on a first syndrome among the syndromes; and

an error determination circuit configured to provide an error value and an error location by detecting the out-of-boundary 2-bit error based on the estimated error value and a second syndrome among the syndromes.

6. The coding circuit of claim 5 , wherein the error value estimation circuit generates the estimated error value based on the number of a given logic value included in the first syndrome.

7. The coding circuit of claim 6 , wherein the error determination circuit includes:

an error location detection circuit configured to determine a match of the out-of-boundary 2-bit error to a specific type based on the estimated error value and the second syndrome; and

an error decision circuit configured to decide the error location and the error value based on the match.

8. The coding circuit of claim 7 , wherein the type includes a first type corresponding to two 1-bit errors occurring in two data symbols respectively, a second type corresponding to two 1-bit errors occurring in a single data symbol and first parity respectively, and a third type corresponding to two 1-bit errors occurring in a single data symbol and second parity respectively, and

wherein the error location detection circuit includes:

a first error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the first type;

a second error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the second type; and

a third error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the third type.

9. The coding circuit of claim 8 , wherein each of the first and second error location detection circuits generates a plurality of estimated syndromes corresponding to the second syndrome, and compares the second syndrome with the plurality of estimated syndromes and a plurality of calculated values to generate one or more output signals each indicating the match, the plurality of calculated values being stored in a look-up table.

10. The coding circuit of claim 8 , wherein the third error location detection circuit generates a plurality of estimated syndromes corresponding to the second syndrome, and compares the second syndrome with the plurality of estimated syndromes to generate an output signal indicating the match.

11. A memory device comprising:

a memory cell array; and

a coding circuit configured to provide input codeword to the memory cell array by encoding input data, and to generate output data and a detection signal by decoding output codeword output from the memory cell array,

wherein the coding circuit includes:

an encoder circuit configured to generate parity by applying the input data to a parity generating matrix and generate the input codeword by concatenating the input data and the parity; and

a decoder circuit configured to detect and correct an out-of-boundary 2-bit error using syndromes, the out-of-boundary 2-bit error corresponding to two 1-bit errors occurred at two symbols respectively among a plurality of symbols included in the output codeword, the syndromes being generated by applying the output codeword to the parity generating matrix.

12. The memory device of claim 11 , wherein the encoder circuit further comprises:

a first concatenation circuit configured to concatenate the input data and padding data;

a selection circuit configured to select an output of the first concatenation circuit or the output codeword;

a parity generator configured to apply an output of the selection circuit to the parity generating matrix; and

a second concatenation circuit configured to generate the input codeword by concatenating the input data and an output of the parity generator.

13. The memory device of claim 12 , wherein the selection circuit selects the output of the first concatenation circuit during a write operation and selects the output codeword during a read operation and the parity generator generates the syndromes during the read operation.

14. The memory device of claim 11 , wherein the decoder circuit includes:

a first error detection circuit configured to detect a 1-symbol error using the syndromes, the 1-symbol error including an error occurred in a single symbol among a plurality of symbols included in the output codeword;

a second error detection circuit configured to detect the out-of-boundary 2-bit error using the syndromes; and

an error correction circuit configured to provide output data by correcting an error in the output codeword based on detection results of the first error detection circuit and the second error detection circuit.

15. The memory device of claim 14 , wherein the second error detection circuit includes:

an error value estimation circuit configured to generate an estimated error value by estimating errors based on a first syndrome among the syndromes; and

an error determination circuit configured to provide an error value and an error location by detecting the out-of-boundary 2-bit error based on the estimated error value and a second syndrome among the syndromes.

16. The memory device of claim 15 , wherein the error value estimation circuit generates the estimated error value based on the number of a given logic value included in the first syndrome.

17. The memory device of claim 16 , wherein the error determination circuit includes:

an error location detection circuit configured to determine a match of the out-of-boundary 2-bit error to a specific type based on the estimated error value and the second syndrome; and

an error decision circuit configured to decide the error location and the error value based on the match.

18. The memory device of claim 17 , wherein the type includes a first type corresponding to two 1-bit errors occurring in two data symbols respectively, a second type corresponding to two 1-bit errors occurring in a single data symbol and first parity respectively, and a third type corresponding to two 1-bit errors occurring in a single data symbol and second parity respectively, and

wherein the error location detection circuit includes:

a first error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the first type;

a second error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the second type; and

a third error location detection circuit configured to determine whether the out-of-boundary 2-bit error corresponds to the third type.

19. The memory device of claim 18 , wherein each of the first and second error location detection circuits generates a plurality of estimated syndromes corresponding to the second syndrome, and compares the second syndrome with the plurality of estimated syndromes and a plurality of calculated values to generate one or more output signals each indicating the match, the plurality of calculated values being stored in a look-up table.

20. The memory device of claim 18 , wherein the third error location detection circuit generates a plurality of estimated syndromes corresponding to the second syndrome, and compares the second syndrome with the plurality of estimated syndromes to generate an output signal indicating the match.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 29, 2024
From: SHIN, CHAEHYEON; PARK, JONGSUN; JANG, MUNSEON
To: SK HYNIX INC.; KOREA UNIVERSITY RESEARCH AND BUSINESS FOUNDATION
Reel/Frame 066948/0926 →
Priority Claims (1)
KR 10-2023-0166841 · Nov 27, 2023 · national
Continuity (1)
Related Publication 20250175195A1 · May 29, 2025
References Cited (16)
US 5856987A · Holman · 1999 [cited by examiner]
US 7530008B2 · Das · 2009 [cited by examiner]
US 10725841B1 · Rahul · 2020 [cited by examiner]
US 10761927B2 · Lu · 2020 [cited by examiner]
US 10949298B2 · Lu · 2021 [cited by examiner]
US 11314587B2 · Lu · 2022 [cited by examiner]
US 11462292B1 · Kim · 2022 [cited by examiner]
US 11711100B2 · Uchikawa · 2023 [cited by examiner]
KR 1020210080807A · 2021 [cited by applicant]
Hsinchun Chen et al., “Business intelligence and analytics: From big data to big impact,” MIS quarterly, 2012, pp. 1165-1188, vol. 36, No. 4. [cited by applicant]
“Main Memory: DDR4 & DDR5 SDRAM,” 2020, web page: https://web.archive.org/web/20200329090755/http://www.jedec.org/join-jedec. [cited by applicant]
Shekhar Borkar et al., “Parameter variations and impact on circuits and microarchitecture,” the 40th annual Design Automation Conference, 2003. [cited by applicant]
Dongkyun Kim et al., “A 1.1-V 10-nm Class 6.4-GB/s/Pin 16-GB DDR5 SDRAM With a Phase Rotator-ILO DLL, High-Speed SerDes, and DFE/FFE Equalization Scheme for Rx/Tx,” IEEE Journal of Solid-State Circuits, Jan. 2020, pp. 1… [cited by applicant]
I.S. Reed et al., “Polynomial Codes over Certain Finite Fields,” J.SIAM, Jun. 1960, pp. 300-304, vol. 8, No. 2. [cited by applicant]
Myeong-Jae Park et al., “A 192-GB 12-High 896-GB/s HBM3 DRAM with a TSV Auto-Calibration Scheme and Machine-Learning-Based Layout Optimization,” 2022 IEEE International Solid- State Circuits Conference (ISSCC), 2022, pp… [cited by applicant]
Abhishek Das et al., “Systematic b-adjacent symbol error correcting reed-solomon codes with parallel decoding,” 2018 IEEE 36th VLSI Test Symposium (VTS), 2018. [cited by applicant]