Patent ID: 11949429
Assignee: MACRONIX INTERNATIONAL CO., LTD.
Field: Basic communication processes (Electrical engineering)
Classification: CPC H  G | IPC G  H

Claim 0:
1. An error correction device, comprising:
a first error correction decoder, performing at least one iteration of a first error correction operation on a data chunk, calculating a counting number of syndrome values equal to a set logic value generated in the at least one iteration of the first error correction operation, and generating a control signal according to the counting number; and
a second error correction decoder, coupled to the first error correction decoder, receiving the control signal and determining whether to be activated to perform a second error correction operation or not according to the control signal,
wherein an error correction ability of the second error correction decoder is higher than an error correction ability of the first error correction decoder,
wherein the first error correction decoder is used to compare the counting number with a plurality of different reference thresholds, wherein the reference thresholds form a plurality of ranges, the first error correction decoder determines within which of the ranges the counting number falls to generate the control signal, and the second error correction decoder determines whether to be activated and determines a correction capability when activated according to the control signal.