Decoder and method for memory system

By introducing a decoder into the memory system and using a seed generator and selector to select a descrambling sequence with the least errors, the problem of high bit error rate in the memory system in the prior art is solved and the performance and data accuracy of the memory system are improved. .

CN112599180BActive Publication Date: 2024-09-03SK HYNIX INC
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN201911294835.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-10-02
Filing Date
2019-12-16
Publication Date
2024-09-03
Estimated Expiration
2039-12-16

AI Technical Summary

Technical Problem

Existing memory systems have challenges in reducing the bit error rate of TLC-NAND type flash memory devices, especially the difficulty in efficiently selecting the correct descrambler during encoding and decoding, resulting in latency and area overhead.

Method used

A fast decoding scheme is adopted, which reduces the bit error rate by introducing a decoder in the memory system, using a seed generator, a descrambling module and a selector to generate seeds based on physical addresses and select the descrambling sequence with the least errors.

Benefits of technology

This enables selection of the correct descrambler without additional latency or area overhead in the memory system, improving memory system performance and data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112599180B_ABST
    Figure CN112599180B_ABST
Patent Text Reader

Abstract

The present disclosure provides a decoder for a memory system. The decoder includes: a seed generator, which generates a seed based on a physical address corresponding to a read request from a host; a descrambling module, which receives a sequence from a storage area corresponding to the physical address among multiple storage areas, and descrambles the sequence using the seed to generate multiple descrambling sequences; and a selector, which selects one of the descrambling sequences based on a syndrome weight value of the descrambling sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to encoding and decoding schemes for memory systems. Background Art

[0002] The computing environment paradigm has shifted to ubiquitous computing systems that can be used anytime, anywhere. Consequently, the use of portable electronic devices, such as mobile phones, digital cameras, and notebook computers, has rapidly increased. These portable electronic devices typically utilize a memory system having a memory device, i.e., a data storage device. The data storage device is used as a primary memory device or a secondary memory device for the portable electronic device.

[0003] Because memory systems using memory devices have no moving parts, they have excellent stability, durability, high information access speed, and low power consumption. Examples of memory systems with these advantages include Universal Serial Bus (USB) memory devices, memory cards with various interfaces such as Universal Flash Storage (UFS), and solid-state drives (SSDs). Memory systems can use various types of encoders and decoders. Summary of the Invention

[0004] Various aspects of the present invention include a fast decoding scheme for boot scrambling in a memory system.

[0005] In one aspect, a memory system includes: a memory device including a plurality of storage areas; and a controller including a decoder. The decoder includes: a seed generator that generates a plurality of seeds based on physical addresses corresponding to read requests from a host; a descrambling module that receives sequences from storage areas corresponding to the physical addresses among the plurality of storage areas and descrambles the sequences using the plurality of seeds to generate a plurality of descrambling sequences; and a selector that selects a descrambling sequence from the plurality of descrambling sequences based on a plurality of syndrome weight values ​​corresponding to the plurality of descrambling sequences.

[0006] In another aspect, a method for operating a memory system includes a memory device including a plurality of memory regions. The method includes generating a plurality of seeds based on a physical address corresponding to a read request from a host; descrambling sequences from a memory region corresponding to the physical address among the plurality of memory regions using the plurality of seeds to generate a plurality of descrambling sequences; and selecting a descrambling sequence from the plurality of descrambling sequences based on a plurality of syndrome weight values ​​corresponding to the plurality of descrambling sequences.

[0007] Additional aspects of the invention will become apparent from the description below. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1is a block diagram illustrating a data processing system according to an embodiment of the present invention.

[0009] Figure 2 is a block diagram illustrating a memory system according to an embodiment of the present invention.

[0010] Figure 3 is a circuit diagram illustrating a memory block of a memory device according to an embodiment of the present invention.

[0011] Figure 4 is a diagram showing state distribution of cells of a memory device.

[0012] Figure 5A and 5B is a diagram illustrating the distribution of bit error rates for different pages of different blocks in a memory device.

[0013] Figure 6 is a diagram illustrating a memory system according to an embodiment of the present invention.

[0014] Figure 7A is a diagram illustrating an encoder according to an embodiment of the present invention.

[0015] Figure 7B is a diagram illustrating a scrambling module according to an embodiment of the present invention.

[0016] Figure 8 is a diagram illustrating a scrambling component according to an embodiment of the present invention.

[0017] Figure 9 is a diagram illustrating a selector according to an embodiment of the present invention.

[0018] Figure 10 is a diagram illustrating a decoder according to an embodiment of the present invention.

[0019] Figure 11A is a diagram illustrating a descrambling module according to an embodiment of the present invention.

[0020] Figure 11B is a diagram illustrating a descrambling component according to an embodiment of the present invention.

[0021] Figure 12 is a diagram illustrating a syndrome calculator according to an embodiment of the present invention.

[0022] Figure 13A is a diagram illustrating a selector according to an embodiment of the present invention.

[0023] Figure 13B is a diagram illustrating a selector according to an embodiment of the present invention.

[0024] Figure 14 is a graph showing syndrome weight distribution in a decoder according to an embodiment of the present invention. DETAILED DESCRIPTION

[0025] The various embodiments are described in more detail below with reference to the accompanying drawings. However, the present invention can be implemented in different forms and should therefore not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to make this disclosure thorough and complete and to fully convey the scope of the invention to those skilled in the art. In addition, references herein to "an embodiment," "another embodiment," etc. are not necessarily directed to only one embodiment, and different references to any such phrases are not necessarily directed to the same embodiment. Throughout this disclosure, the same reference numerals refer to the same components in the drawings and embodiments of the present invention.

[0026] The present invention may be implemented in a variety of ways, including as a process; an apparatus; a system; a computer program product embodied on a computer-readable storage medium; and / or a processor, such as a processor adapted to execute instructions stored on or provided by a memory coupled to the processor. In this specification, these embodiments or any other form that the invention may take may be referred to as techniques. In general, the order of the steps of the disclosed processes may be changed within the scope of the invention. Unless otherwise stated, a component such as a processor or memory described as being adapted to perform a task may be implemented as a general-purpose component that is temporarily configured to perform a task at a given time or as a specific component manufactured to perform a task. As used herein, terms such as "processor" refer to one or more devices, circuits, and / or processing cores adapted to process data such as computer programming instructions.

[0027] The following provides detailed descriptions of embodiments of the present invention and accompanying drawings illustrating various aspects of the invention. The invention is described in conjunction with these embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims. The invention encompasses numerous alternatives, modifications, and equivalents within the scope of the claims. The following description sets forth numerous specific details in order to provide a thorough understanding of the invention. These details are provided for illustrative purposes; the invention may be practiced according to the claims without some or all of these specific details. For the sake of clarity, technical material that is well known in the art related to the invention has not been described in detail to avoid unnecessarily obscuring the invention.

[0028] Figure 1 Shown is a block diagram of a data processing system 2 according to an embodiment of the present invention.

[0029] Reference Figure 1, the data processing system 2 may include a host device 5 and a memory system 10. The memory system 10 may receive a request from the host device 5 and operate in response to the received request. For example, the memory system 10 may store data to be accessed by the host device 5.

[0030] The host device 5 can be implemented using various types of electronic devices. In various embodiments, the host device 5 may include electronic devices such as a desktop computer, a workstation, a three-dimensional (3D) television, a smart TV, a digital audio recorder, a digital audio player, a digital photo recorder, a digital photo player, and / or a digital video recorder and a digital video player. In various embodiments, the host device 5 may include a portable electronic device such as a mobile phone, a smart phone, an e-book, an MP3 player, a portable multimedia player (PMP), and / or a portable game player.

[0031] The memory system 10 may be implemented using any of various types of storage devices such as a solid-state drive (SSD) and a memory card. In various embodiments, the memory system 10 may be configured as one of various components in an electronic device such as a computer, an ultra-mobile personal computer (PC) (UMPC), a workstation, a notebook computer, a personal digital assistant (PDA), a portable computer, a web tablet PC, a wireless phone, a mobile phone, a smart phone, an e-book reader, a portable multimedia player (PMP), a portable gaming device, a navigation device, a black box, a digital camera, a digital multimedia broadcasting (DMB) player, a 3D TV, a smart TV, a digital audio recorder, a digital audio player, a digital photo recorder, a digital photo player, a digital video recorder, a digital video player, a storage device in a data center, a device capable of receiving and transmitting information in a wireless environment, a radio frequency identification (RFID) device, one of various electronic devices in a home network, one of various electronic devices in a computer network, one of electronic devices in a telematics network, or one of various components in a computing system.

[0032] The memory system 10 may include a memory controller 100 and a semiconductor memory device 200. The memory controller 100 may control overall operations of the semiconductor memory device 200.

[0033] The semiconductor memory device 200 can perform one or more erase operations, program operations, and read operations under the control of the memory controller 100. The semiconductor memory device 200 can receive commands CMD, addresses ADDR, and data DATA via input / output lines. The semiconductor memory device 200 can receive power PWR via power lines and control signals CTRL via control lines. The control signals CTRL can include command latch enable signals, address latch enable signals, chip enable signals, write enable signals, read enable signals, and other operation signals, depending on the design and configuration of the memory system 10.

[0034] The memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device such as a solid-state drive (SSD). The SSD may include a storage device for storing data therein. When the semiconductor memory system 10 is used in an SSD, a host device (e.g., Figure 1 The operating speed of the host device 5) can be significantly improved.

[0035] The memory controller 100 and the semiconductor memory device 200 may be integrated into a single semiconductor device such as a memory card. For example, the memory controller 100 and the semiconductor memory device 200 may be integrated to configure a Personal Computer Memory Card International Association (PCMCIA) personal computer (PC) card, a compact flash (CF) card, a smart media (SM) card, a memory stick, a multimedia card (MMC), a reduced size multimedia card (RS-MMC), a micro-MMC (micro-MMC), a secure digital (SD) card, a mini secure digital (mini SD) card, a micro secure digital (micro SD) card, a secure digital high capacity (SDHC), and / or a universal flash memory (UFS).

[0036] Figure 2 is a block diagram illustrating a memory system according to an embodiment of the present invention. For example, Figure 2 The memory system can be described Figure 1 The memory system 10 is shown.

[0037] Reference Figure 2 , the memory system 10 may include a memory controller 100 and a semiconductor memory device 200. The memory system 10 may respond to a host device (such as Figure 1 5) in the host device and in particular stores data to be accessed by the host device.

[0038] The memory device 200 may store data to be accessed by a host device.

[0039] The memory device 200 may be implemented using a volatile memory device such as a dynamic random access memory (DRAM) and / or a static random access memory (SRAM), or a non-volatile memory device such as a read-only memory (ROM), a mask ROM (MROM), a programmable ROM (PROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a ferroelectric random access memory (FRAM), a phase change RAM (PRAM), a magnetoresistive RAM (MRAM), and / or a resistive RAM (RRAM).

[0040] The controller 100 may control the storage of data in the memory device 200. For example, the controller 100 may control the memory device 200 in response to a request from the host device. The controller 100 may provide data read from the memory device 200 to the host device, and may store data provided from the host device in the memory device 200.

[0041] The controller 100 may include a storage device 110 connected via a bus 160, a control component 120 implemented as a central processing unit (CPU), an error correction code (ECC) component 130, a host interface (I / F) 140 and a memory interface (I / F) 150.

[0042] The memory device 110 may be used as a working memory of the memory system 10 and the controller 100, and store data for driving the memory system 10 and the controller 100. When the controller 100 controls the operation of the memory device 200, the memory device 110 may store data used by the controller 100 and the memory device 200 for operations such as a read operation, a write operation, a program operation, and an erase operation.

[0043] The storage device 110 may be implemented using a volatile memory such as a static random access memory (SRAM) or a dynamic random access memory (DRAM). As described above, the storage device 110 may store data used by the host device in the memory device 200 for read and write operations. To store data, the storage device 110 may include a program memory, a data memory, a write buffer, a read buffer, a mapping buffer, and the like.

[0044] The control component 120 can control the general operation of the memory system 10 and the write operation or read operation of the memory device 200 in response to a write request or a read request from a host device. The control component 120 can drive firmware called a flash translation layer (FTL) to control the general operation of the memory system 10. For example, the FTL can perform operations such as logical to physical (L2P) mapping, wear leveling, garbage collection, and / or bad block processing. L2P mapping is called logical block addressing (LBA).

[0045] The ECC component 130 may detect and correct errors in data read from the memory device 200 during a read operation. When the number of error bits is greater than or equal to a threshold number of correctable error bits, the ECC component 130 may not correct the error bits but may output an error correction failure signal indicating a failure to correct the errors.

[0046] In various embodiments, the ECC component 130 can perform error correction operations based on coded modulation such as low-density parity check (LDPC) codes, Bose-Chaudhuri-Hocquenghem (BCH) codes, turbo codes, turbo product codes (TPC), Reed-Solomon (RS) codes, convolutional codes, recursive systematic codes (RSC), trellis coded modulation (TCM), or block coded modulation (BCM). However, error correction is not limited to these techniques. Thus, the ECC component 130 can include any and all circuits, systems, or devices suitable for error correction operations.

[0047] The host interface 140 may communicate with a host device through one or more of various interface protocols such as Universal Serial Bus (USB), MultiMediaCard (MMC), Peripheral Component Interconnect Express (PCI-e or PCIe), Small Computer System Interface (SCSI), Serial Attached SCSI (SAS), Serial Advanced Technology Attachment (SATA), Parallel Advanced Technology Attachment (PATA), Enhanced Small Disk Interface (ESDI), and Integrated Drive Electronics (IDE).

[0048] The memory interface 150 may provide an interface between the controller 100 and the memory device 200, allowing the controller 100 to control the memory device 200 in response to a request from a host device. The memory interface 150 may generate control signals for the memory device 200 and process data under the control of the control component 120. When the memory device 200 is a flash memory such as a NAND flash memory, the memory interface 150 may generate control signals for the memory and process data under the control of the control component 120.

[0049] The memory device 200 may include a memory cell array 210, a control circuit 220, a voltage generating circuit 230, a row decoder 240, a page buffer array 250 which may be in the form of a page buffer array, a column decoder 260, and an input and output (I / O) circuit 270. The memory cell array 210 may include a plurality of memory blocks 211 which may store data. The voltage generating circuit 230, the row decoder 240, the page buffer array 250, the column decoder 260, and the I / O circuit 270 may form a peripheral circuit of the memory cell array 210. The peripheral circuit may perform programming, reading, or erasing operations of the memory cell array 210. The control circuit 220 may control the peripheral circuit.

[0050] The voltage generating circuit 230 may generate various levels of operating voltages. For example, in an erase operation, the voltage generating circuit 230 may generate various levels of operating voltages such as an erase voltage and a pass voltage.

[0051] The row decoder 240 may be in electrical communication with the voltage generating circuit 230 and the plurality of memory blocks 211. The row decoder 240 may select at least one memory block among the plurality of memory blocks 211 in response to a row address generated by the control circuit 220, and transmit an operating voltage provided from the voltage generating circuit 230 to the selected memory block.

[0052] The page buffer array 250 can be connected to the bit line BL (eg Figure 3 ) is coupled to the memory cell array 210. The page buffer array 250 can precharge the bit lines BL with a positive voltage in response to a page buffer control signal generated by the control circuit 220, transfer and receive data to and from a selected memory block in a program operation and a read operation, or temporarily store the transferred data.

[0053] The column decoder 260 may transmit and receive data to and from the page buffer array 250 , or transmit and receive data to and from the input / output circuit 270 .

[0054] The input / output circuit 270 can transmit data from an external device (eg, Figure 1 The column decoder 260 transmits data from an external device to the column decoder 260 or outputs data from the column decoder 260 to an external device based on a command and an address received by the memory controller 100.

[0055] The control circuit 220 may control the peripheral circuits in response to commands and addresses.

[0056] Figure 31 is a circuit diagram showing a memory block of a semiconductor memory device according to an embodiment of the present invention. Figure 3 The storage block can be Figure 2 An arbitrary memory block 211 of the memory cell array 210 is shown.

[0057] Reference Figure 3 , an exemplary memory block 211 may include a plurality of word lines WL0 to WLn-1, a drain select line DSL, and a source select line SSL coupled to a row decoder 240. These lines may be arranged in parallel with the plurality of word lines located between the DSL and the SSL.

[0058] The exemplary memory block 211 may further include a plurality of cell strings 221 respectively connected to bit lines BL0 to BLm-1. The cell string of each column may include one or more drain select transistors DST and one or more source select transistors SST. In the illustrated embodiment, each cell string has one DST and one SST. In the cell string, a plurality of memory cells or memory cell transistors MC0 to MCn-1 may be connected in series between the select transistors DST and SST. Each memory cell may be formed as a multi-layer cell. For example, each memory cell may be formed as a single-layer cell (SLC) storing 1 bit of data. Each memory cell may be formed as a multi-layer cell (MLC) storing 2 bits of data. Each memory cell may be formed as a triple-layer cell (TLC) storing 3 bits of data. Each memory cell may be formed as a quad-layer cell (QLC) storing 4 bits of data.

[0059] The source of the SST in each cell string can be connected to the common source line CSL, and the drain of each DST can be connected to the corresponding bit line. The gate of the SST in the cell string can be connected to SSL, and the gate of the DST in the cell string can be connected to DSL. The gates of the memory cells across the cell string can be connected to their respective word lines. That is, the gate of memory cell MC0 is connected to the corresponding word line WL0, the gate of memory cell MC1 is connected to the corresponding word line WL1, and so on. The group of memory cells connected to a particular word line can be referred to as a physical page. Therefore, the number of physical pages in the memory block 211 can correspond to the number of word lines.

[0060] The page buffer array 250 may include a plurality of page buffers 251 coupled to the bit lines BL0 to BLm-1. The page buffers 251 may operate in response to page buffer control signals. For example, the page buffers 251 may temporarily store data received through the bit lines BL0 to BLm-1, or sense the voltage or current of the bit lines during a read or verify operation.

[0061] In some embodiments, the memory block 211 may include NAND-type flash memory cells. However, the memory block 211 is not limited to this cell type and may include NOR-type flash memory cells. The memory cell array 210 may be implemented as a hybrid flash memory in which two or more types of memory cells are mixed, or may be implemented as a 1-NAND flash memory in which a controller is embedded within a memory chip.

[0062] A memory device such as a flash memory (e.g., NAND flash memory) may include multiple memory blocks (e.g., hundreds to thousands of memory blocks). Each block may typically include multiple word lines (e.g., hundreds of word lines). Each cell connected to each word line may include multiple logical pages. The memory device may include multiple memory cells, and the cells may be modulated into different states or programming voltage (PV) levels through a programming operation so that each cell stores multiple bits.

[0063] Figure 4 is a diagram showing the distribution of states or programming voltage (PV) levels for different types of cells of a memory device.

[0064] Reference Figure 4 , each memory cell may be implemented using, for example, a single-level cell (SLC) storing 1-bit data, a multi-level cell (MLC) storing 2-bit data, a triple-level cell (TLC) storing 3-bit data, or a quad-level cell (QLC) storing 4-bit data.

[0065] SLCs can include two states, P0 and P1. P0 can indicate an erased state, and P1 can indicate a programmed state. Since SLCs can be set to one of two different states, each SLC can program or store one bit according to a set encoding method. MLCs can include four states, P0, P1, P2, and P3. Among these states, P0 can indicate an erased state, and P1 to P3 can indicate programmed states. Since MLCs can be set to one of four different states, each MLC can program or store two bits of data according to a set encoding method. TLCs can include eight states, P0 to P7. Among these states, P0 can indicate an erased state, and P1 to P7 can indicate programmed states. Since TLCs can be set to one of eight different states, each TLC can program or store three bits of data according to a set encoding method. QLCs can include 16 states, P0 to P15. Among these states, P0 can indicate an erased state, and P1 to P15 can indicate programmed states. Since QLC can be set to one of 16 different states, each QLC can be programmed or store 4 bits of data depending on the set encoding method.

[0066] Therefore, for a memory device including TLC, there are 8 states or PV levels, and each level corresponds to a unique 3-bit tuple. The first, second, and third bits of the cell are grouped together into the least significant bit (LSB) page, the center significant bit (CSB) page, and the most significant bit (MSB) page, respectively. Figure 5A and 5B As shown, different PV levels usually have different noise variances, resulting in a 1→0 error probability (i.e., p) for each logical page, each word line, and each block. 1→0 ) is different from the probability of a 0→1 error (i.e., p 0→1 ).p 1→0 may represent a bit error rate when a bit having a logic high value (ie, bit -1) is stored in a corresponding page, and p 0→1 It can represent the bit error rate when a bit with a logic low value (ie, bit-0) is stored in the corresponding page. A p may occur when a bit-1 is erroneously read as a bit-0. 1→0 , and p can occur when bit-0 is erroneously read as bit-1 0→1 .

[0067] Figure 5A and 5B is a graph showing the distribution of bit error rates for different logical pages of different blocks in a memory device, such as a triple-level cell (TLC) NAND-type flash memory device.

[0068] exist Figure 5A and 5B In the figure, the x-axis represents the logical page LSB, CSB or MSB, and the y-axis represents the raw bit error rate (or error probability). Figure 5A For each of the logical page LSB, CSB, or MSB of block 0, p 0→1 With p 1→0 Different. Figure 5B For each of the logical page LSB, CSB, or MSB of block 1, p 0→1 With p 1→0 In addition, for the same logical page LSB, CSB or MSB, the p of block 0 0→1 With block 1's p 0→1 Different, and the p of block 0 1→0 With block 1's p 1→0 In other words, the error probability of a TLC-NAND type flash memory device may depend on the stored bit value ("0" or "1") and its location (or storage area). The location may be any of a logical page, word line, and block with respect to the data to be stored in the memory device.

[0069] Therefore, it is necessary to provide a solution to reduce the bit error rate in memory devices such as TLC-NAND type flash memory devices.

[0070] Figure 6 is a diagram illustrating a memory system according to an embodiment of the present invention.

[0071] Reference Figure 6 , a memory system may include a controller 100 and a memory device 200. The memory device 200 may include a NAND-type flash memory device having memory cells such as single-level cells (SLC), multi-level cells (MLC), triple-level cells (TLC), or quad-level cells (QLC). In various embodiments, the memory device 200 may include a NAND-type flash memory device having QLC memory cells (i.e., QLC).

[0072] The controller 100 may receive a command from the host and provide the received command to the memory device 200. For example, the controller 100 receives a write command and write data corresponding to the write command, and controls the memory device 200 to perform a program operation on the write data. For example, the controller 100 receives a read command and controls the memory device 200 to perform a read operation on the data corresponding to the read command. The controller 100 transmits the read data corresponding to the read command to the host.

[0073] The controller 100 may include an encoder 600A and a decoder 600B. During a programming operation, the encoder 600A may perform an encoding operation on the write data based on a set encoding scheme. During a read operation, the decoder 600B may perform a decoding operation on the read data based on a set decoding scheme corresponding to the encoding scheme. Figures 7A to 9 To describe the encoding scheme. Figures 10 to 14 The controller 100 and the memory device 200 may be executed in Figure 1 and Figure 2 In an embodiment, the encoder 600A and the decoder 600B may be implemented in Figure 2 1 and 12. The encoder 600A and decoder 600B are shown in the ECC component 130 of the controller 100. As described below, other suitable arrangements may also be used. In general, the encoder 600A and decoder 600B may be implemented in hardware, software, firmware, or any suitable combination thereof.

[0074] In various embodiments, the encoder 600A may perform an encoding operation using multiple scrambling operations (i.e., boot scrambling) before a programming operation to reduce a bit error rate in a memory device 200, such as a TLC NAND-type flash memory device. In other words, the encoder 600A may function as a boot scrambling encoder. The decoder 600B may perform a decoding operation using multiple descrambling operations corresponding to the encoding operation of the encoder 600A.

[0075] Figure 7A is a diagram illustrating an encoder according to an embodiment of the present invention. For example, Figure 7A The encoder can depict Figure 6 Encoder 600A shown in FIG.

[0076] Reference Figure 7A , the encoder may include an encoder module 710, a scrambling module 720, a seed generator 725, and a selector 730. The encoder module 710 may receive data (e.g., user data) from a host, encode the data, and output the encoded data. In various embodiments, the encoder module 710 may encode the data using a low-density parity check (LDPC) code.

[0077] The seed generator 725 may receive information about the physical address corresponding to the received data and generate a plurality of seeds (e.g., n seeds). For example, n may be 8 or 16. In various embodiments, the information may indicate the physical address of the memory device (e.g., Figure 6 The information may include a physical address of a storage region where data is to be stored among a plurality of storage regions of a memory device 200. For example, the information may include information about a block, a word line, and / or a logical page associated with the storage region (e.g., a block index, a word line index, and a logical page index).

[0078] The scrambling module 720 may receive the encoded data and scramble the encoded data using a plurality of seeds to generate a plurality of scrambling sequences.

[0079] Figure 7B is a diagram showing a scrambling module according to an embodiment of the present invention. For example, Figure 7B The scrambling module can be depicted Figure 7A Scrambling module 720 is shown.

[0080] Reference Figure 7B The scrambling module 720 may include multiple scrambling components, for example, a first scrambling component 720_1, a second scrambling component 720_2 and an nth scrambling component 720_n.

[0081] Figure 8 is a diagram illustrating a scrambling component according to an embodiment of the present invention. For example, Figure 8The scrambled components can be depicted Figure 7B One of the scrambling components 720_1 to 720_n shown.

[0082] Reference Figure 8 Among the scrambling components 720_1 to 7210_n, the representative scrambling component 720_1 may include a random generator 722, a scrambler 724, and a counter 726. The random generator 722 may generate a random sequence based on a seed. In various embodiments, the random generator 722 may generate a pseudo-random sequence. The scrambler 724 may scramble the data using the random sequence to generate a scrambling sequence. In various embodiments, the scrambler 724 may scramble the data by performing an exclusive OR (XOR) operation on the data having the random sequence. The counter 726 may count the number of occurrences of a certain logic value ("0" or "1") in the scrambling sequence to generate a count value for output.

[0083] Re-reference Figure 7A , the selector 730 may receive a plurality of scrambling sequences and select a scrambling sequence from among the plurality of scrambling sequences. In various embodiments, the selector 730 may select a scrambling sequence having the least number of logic high values ​​"1" or logic low values ​​"0", and any one of the scrambling sequences having the least number of logic high values ​​"1" or logic low values ​​"0" represents the minimum scrambling sequence from among the plurality of scrambling sequences. The selector 730 may store data to a memory device (e.g., Figure 6 The memory device 200 of the embodiment provides the selected scrambling sequence to be stored in the corresponding storage area of ​​the memory device 200.

[0084] As described above, in encoder 600A in the write path of the memory system, data (eg, user data) is first encoded by encoder module 710 such as an LDPC encoder as follows: c=E(u), where u represents user data and c represents encoded data.

[0085] Next, the encoded data is scrambled by n different scrambling components 720_1 to 720_n of the scrambling module 720 using n different seeds as follows: i =S i (c), where s represents a scrambling sequence using n different seeds (i = 1, 2, ..., n). To minimize the number of 1s, n can be chosen to be 8 or 16. Note that the seed is generated pseudo-randomly based on the physical address of the data, so there is no need to store the seed.

[0086] Again, the scrambling sequence with the least number of 1s is selected among the n scrambling sequences, i.e., the minimum scrambling sequence. Figure 9As shown, to save memory required to implement the write path, the selector 730 may include a first selection component 730A and a second selection component 730B. Each of the first selection component 730A and the second selection component 730B has two slots instead of n slots to receive n scrambling sequences or n count values ​​from the n scrambling components 720_1 to 720_n. One slot (Slot 1) of the first selection component 730A may be used to store the current count value, while another slot (Slot 2) of the first selection component 730A may be used to store the winner of all previous count values. One slot (Slot 1) of the second selection component 730B may be used to store the current sequence, while another slot (Slot 2) of the second selection component 730B may be used to store the winner of all previous sequences, that is, the minimum scrambling sequence among all previous sequences.

[0087] Finally, the selected scrambling sequence is written into the memory device 200 (eg, a NAND-type flash memory).

[0088] In contrast, to implement the read path of the memory system, decoder 600B must try all different descramblers (e.g., 8 or 16), and one of all the different descramblers will give the correct decoding result. When the same descrambler is used, this will result in extra delay (8x or 16x) or extra area (8x or 16x). Therefore, it is desirable to provide a solution to select the correct descrambler without extra delay or area overhead. In various embodiments, decoder 600B calculates syndrome weights and then uses the syndrome weights to select the correct descrambler.

[0089] Figure 10 A diagram showing a decoder according to an embodiment of the present invention is shown. For example, Figure 10 The decoder can depict Figure 6 Decoder 600B is shown.

[0090] Reference Figure 10 , the decoder may include a descrambling module 1010, a seed generator 1015, a syndrome calculator 1020, a selector 1030, and a decoder 1040. The seed generator 1015 may generate a plurality of seeds (e.g., n seeds) according to a physical address corresponding to a read request from a host. The physical address may indicate a memory device (e.g., Figure 6 A storage area among multiple storage areas in the memory device 200).

[0091] The descrambling module 1010 may receive a sequence (eg, a coded sequence) from a storage area corresponding to a physical address, and descramble the sequence using a plurality of seeds to generate a plurality of descrambling sequences.

[0092] Figure 11A1 is a diagram illustrating a descrambling module 1010 according to an embodiment of the present invention. Figure 11A The descrambling module can be described Figure 10 The descrambling module 1010 is shown.

[0093] Reference Figure 11A , the descrambling module 1010 may include multiple descrambling components 1011 to 1019 corresponding to n seeds. Each of the multiple descrambling components 1011 to 1019 can receive a coded sequence and use a corresponding seed among the multiple seeds to descramble the coded sequence to generate a corresponding descrambling sequence. In other words, the first descrambling component 1011 can use the corresponding seed 1 to descramble the coded sequence to generate a first descrambling sequence. The second descrambling component 1012 can use the corresponding seed 2 to descramble the coded sequence to generate a second descrambling sequence. The nth descrambling component 1019 can use the corresponding seed n to descramble the coded sequence to generate an nth descrambling sequence.

[0094] Figure 11B is a diagram illustrating a descrambling component 1011 according to an embodiment of the present invention. For example, Figure 11B The descrambling component can be depicted Figure 11A One of the descrambling components 1011 to 1019 shown.

[0095] Reference Figure 11B The representative descrambling component 1011 among the descrambling components 1011 to 1019 may include a descrambler 1011_1 and a random generator 1011_2. The random generator 1011_2 may generate a random number based on a corresponding seed (e.g., seed 1) among a plurality of seeds. The descrambler 1011_1 may receive a coded sequence and descramble the coded sequence using the random number to generate a first descrambling sequence.

[0096] Figure 12 1 is a diagram illustrating a syndrome calculator 1020 according to an embodiment of the present invention. For example, Figure 12 The syndrome calculator can depict Figure 10 Syndrome calculator 1020 is shown.

[0097] Reference Figure 12The syndrome calculator 1020 may receive multiple descrambling sequences and calculate multiple syndrome weight values ​​for the multiple descrambling sequences. The syndrome calculator 1020 may include multiple syndrome weight calculators, including a first syndrome weight calculator 1020_1 through an nth syndrome weight calculator 1020_n. The first syndrome weight calculator 1020_1 may receive a first descrambling sequence and calculate a first syndrome weight value for the first descrambling sequence. The second syndrome weight calculator 1020_2 may receive a second descrambling sequence and calculate a second syndrome weight value for the second descrambling sequence. The nth syndrome weight calculator 1020_n may receive an nth descrambling sequence and calculate an nth syndrome weight value for the nth descrambling sequence.

[0098] Re-reference Figure 10 , the selector 1030 may receive a plurality of sequences and select a descrambling sequence from among the plurality of descrambling sequences. In various embodiments, the selector 1030 may select a descrambling sequence from among the plurality of descrambling sequences based on its syndrome weight value.

[0099] Figure 13A 1 is a diagram illustrating a selector 1030 according to an embodiment of the present invention. For example, Figure 13A The selector can depict Figure 10 Selector 1030 is shown.

[0100] Reference Figure 13A , the selector 1030 may include a comparator 1030A. The comparator 1030A may receive multiple syndrome weight values ​​corresponding to multiple descrambling sequences in parallel. The comparator 1030A may sort the multiple syndrome weight values ​​and output the minimum or lowest syndrome weight value among the multiple syndrome weight values ​​based on the comparison result. The selector 1030 may select the descrambling sequence with the minimum syndrome weight value.

[0101] Figure 13B 1 is a diagram illustrating a selector 1030 according to an embodiment of the present invention. For example, Figure 13B The selector can depict Figure 10 Selector 1030 is shown.

[0102] Reference Figure 13B , the selector 1030 may include a comparator 1030B. The comparator 1030B may sequentially receive a plurality of syndrome weight values ​​corresponding to a plurality of descrambling sequences respectively. The comparator 1030B may compare each received syndrome weight value with a threshold value. When a first syndrome weight value less than the threshold value is received, the selector 1030 may select and output a descrambling sequence corresponding to the syndrome weight value from among the plurality of descrambling sequences. It is noted that the probability of an erroneous sequence having such a low syndrome weight is extremely low. Therefore, Figure 13BThe solution can save delay and Figure 13A The solution works similarly.

[0103] Figure 14 is a graph showing the distribution of syndrome weights in a decoder according to an embodiment of the present invention. Figure 14 In FIG, the x-axis represents the syndrome weight value, and the y-axis represents the probability of the seed. It is monitored that the syndrome weight value corresponding to the correct seed may be lower than the syndrome weight value corresponding to the incorrect seed.

[0104] Reference Figure 10 , the decoder 1040 may receive the selected descrambling sequence from the selector 1030. The decoder 1040 may decode the selected descrambling sequence and output the decoded sequence as decoded data. In various embodiments, the decoder 1040 may use a low-density parity check (LDPC) code to decode the selected descrambling sequence.

[0105] As described above, in the memory system's read path, n seeds are generated based on the data's physical address. Each seed is used to descramble the read data and calculate a syndrome weight. Note that syndrome calculation takes approximately 8ns per codeword. This allows the decoder to select the correct scrambler without additional latency or area overhead, improving memory system performance.

[0106] Although the foregoing embodiments have been shown and described in considerable detail for the purpose of clarity and understanding, the present invention is not limited to the details provided. As will be appreciated by those skilled in the art based on the above disclosure, there are many alternative methods for implementing the present invention. Therefore, the disclosed embodiments are illustrative, not restrictive. The present invention is intended to encompass all modifications and alternatives falling within the scope of the claims.

Claims

1. A system comprising: a memory device comprising a plurality of storage areas; as well as Decoder, including: a seed generator that generates a plurality of seeds based on physical addresses corresponding to read requests from a host; a descrambling module that receives a sequence from a storage area corresponding to the physical address among the plurality of storage areas, and descrambles the sequence using the plurality of seeds to generate a plurality of descrambling sequences; and The selector selects a descrambling sequence from among the plurality of descrambling sequences based on a plurality of syndrome weight values ​​corresponding to the plurality of descrambling sequences.

2. The system of claim 1, wherein the decoder further comprises: A plurality of syndrome weight calculators are configured to respectively receive the plurality of descrambling sequences and respectively calculate a plurality of syndrome weight values ​​of the plurality of descrambling sequences.

3. The system of claim 2, wherein the selector selects a descrambling sequence having a minimum syndrome weight value among the plurality of descrambling sequences.

4. The system of claim 3, wherein the selector comprises a comparator that receives the plurality of syndrome weight values ​​in parallel, compares the plurality of syndrome weight values, and outputs the selected descrambling sequence corresponding to the minimum syndrome weight value.

5. The system of claim 2, wherein the descrambling sequence selected by the selector has a syndrome weight value less than a threshold.

6. The system of claim 5 , wherein the selector comprises a comparator that sequentially receives the plurality of syndrome weight values, compares each of the received syndrome weight values ​​with a threshold, identifies a first syndrome weight value that is less than the threshold among the plurality of sequentially received syndrome weight values, and outputs a descrambling sequence corresponding to the first syndrome weight value as the selected syndrome weight value.

7. The system of claim 2, wherein the descrambling module comprises a plurality of descrambling components, Each of the plurality of descrambling components comprises: a random generator, generating a random number according to a corresponding seed among the plurality of seeds; as well as A descrambler is configured to descramble the sequence using the random number to generate a corresponding descrambling sequence among the plurality of descrambling sequences.

8. The system of claim 1, further comprising: A decoder receives the selected descrambling sequence, decodes the selected descrambling sequence, and outputs the decoded sequence as decoded data.

9. A method of operating a system, the system comprising a memory device, the memory device comprising a plurality of storage areas, the method comprising: generating a plurality of seeds according to physical addresses corresponding to read requests from a host; descrambling a sequence from a storage area corresponding to the physical address among the plurality of storage areas using the plurality of seeds to generate a plurality of descrambling sequences; and A descrambling sequence is selected from among the plurality of descrambling sequences according to a plurality of syndrome weight values ​​corresponding to the plurality of descrambling sequences.

10. The method according to claim 9, further comprising: The plurality of syndrome weight values ​​of the plurality of descrambling sequences are calculated respectively.

11. The method of claim 10, wherein selecting a descrambling sequence comprises selecting a descrambling sequence having a minimum syndrome weight value among the plurality of descrambling sequences.

12. The method of claim 11 , wherein selecting a descrambling sequence comprises: receiving the plurality of syndrome weight values ​​in parallel, and comparing the plurality of syndrome weight values; and The selected descrambling sequence corresponding to the minimum syndrome weight value is output.

13. The method of claim 10, wherein selecting a descrambling sequence comprises selecting a descrambling sequence having a syndrome weight value less than a threshold.

14. The method of claim 13, wherein selecting a descrambling sequence comprises: sequentially receiving the plurality of syndrome weight values; comparing the received syndrome weight value with the threshold; identifying a first syndrome weight value of a plurality of syndrome weight values ​​received sequentially that is less than the threshold; and A descrambling sequence corresponding to the first syndrome weight value is output as the selected syndrome weight value.

15. The method of claim 10, wherein descrambling the sequence comprises: generating a random number according to a corresponding seed among the plurality of seeds; and The sequence is descrambled using the random number to generate a corresponding descrambled sequence among the plurality of descrambled sequences.

16. The method according to claim 9, further comprising: The selected descrambling sequence is decoded and the decoded sequence is output as decoded data.

Citation Information

Patent Citations

  • Communication apparatus, reception method in said apparatus, codec, decoder, communication module, communication unit and decoding method

    CN101176288A

  • Methods of data scrambling and descrambling and devices thereof

    CN108255464A

  • Forward error correction scheme compatible with the bit error spreading of a scrambler

    US20040193997A1

  • Updating read voltages

    US20150085573A1

  • Nonvolatile memory device and read and copy-back methods thereof

    US20170329667A1