Apparatus and method for encoding and decoding
By using a combination of logic circuits and lookup tables in memory access, maximum transition avoidance coding with minimum overhead is achieved, solving the problems of signal distortion and crosstalk in PAM-4 signaling and improving the throughput and power efficiency of memory access.
Patent Information
- Application Number
- CN202210119251.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-05-31
- Filing Date
- 2022-02-08
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-02-08
AI Technical Summary
When using PAM-4 signaling for memory access, the increased memory bandwidth, signal line count, and chip area lead to overhead issues, especially when implementing maximum conversion avoidance coding. Existing technologies struggle to effectively reduce signal distortion and crosstalk.
An encoding and decoding device and method are employed to convert data bursts into codewords through a combination of logic circuits and lookup tables. The combined lookup table and multiple sub-block lookup tables achieve maximum conversion with minimum overhead, avoiding encoding and reducing the number of signal lines and chip area.
It effectively reduces signal distortion and crosstalk, achieving increased memory access throughput and power efficiency without increasing power consumption.
Smart Images

Figure CN115080475B_ABST
Abstract
Description
[0001] Cross-references to related applications
[0002] This application is based on and claims priority to Korean Patent Application No. 10-2021-0031486 filed on March 10, 2021, and Korean Patent Application No. 10-2021-0070262 filed on May 31, 2021, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present invention relates to apparatuses and methods, and more particularly, to apparatuses and methods for encoding and decoding to achieve maximum transition avoidance coding with minimal overhead. Background Technology
[0004] Efforts to make computing systems more powerful and power-efficient can lead to the development of interface communications and increased throughput without increasing power consumption, while ideally reducing power consumption. Traditional systems are implemented using Pulse Amplitude Modulation 4-Level (PAM-4) signaling. PAM-4 is used to convert a 2-bit stream into a single multi-level signal with 4 levels. PAM-4 signaling systems can use Maximum Transition Avoidance (MTA) coding to remove the maximum voltage transitions between PAM-4 symbols on the interface lines. MTA coding reduces inter-symbol interference (ISI) and crosstalk that can cause signal distortion.
[0005] Among the various operations performed by a computing system, memory access operations for data writing and / or reading are crucial. Memory access operations are performed at least in part based on the memory's input / output structure, and when the memory bandwidth increases to 32 bits or more, memory can be accessed using data modulation methods. For example, when using PAM-4 signaling, significant overhead can arise due to the increased number of signal lines required for MTA encoding and / or the increased chip area. Therefore, there is a need for an apparatus and method for transmitting and receiving 32-bit data with minimal overhead using PAM-4 signaling with MTA applied. Summary of the Invention
[0006] The present invention provides an apparatus and method for encoding and decoding to achieve maximum conversion avoidance encoding with minimal overhead.
[0007] The device includes a transmitter for a data bus, wherein the transmitter includes an encoder configured to convert data bursts to be transmitted to the data bus into codewords composed of symbols. The encoder includes logic circuitry representing the correlation between data bursts and symbols. The logic circuitry includes: multiple sub-block lookup tables categorized according to the number of codeword maps, wherein the codeword maps represent the correlation between some bit values in the data burst and symbols; and a combined lookup table that selectively interconnects the encoding results based on the remaining bit values in each of the data bursts, according to the multiple sub-block lookup tables. The encoder is configured to provide codewords corresponding to data bursts to the data bus using the combined lookup table and the multiple sub-block lookup tables.
[0008] A method for transmitting data includes: receiving an m-bit (m is a natural number) data burst to be transmitted to a data line; transmitting the values of p bits (p is a natural number and m > p) from the m-bit data burst to a data bus inverted phase (DBI) signal line; generating a codeword for the DBI signal line by performing q:(q+k) bit encoding on q bits (q is a natural number and k is a natural number equal to or greater than 1), where q bits are the sum of p bits on the DBI signal line; and generating a codeword for the data line by performing (mp):m bit encoding on the remaining (mp) bits of each of the data bursts.
[0009] An apparatus including a receiver for a data bus, wherein the receiver includes a decoder configured to convert codewords consisting of symbols received via the data bus into data bursts. The decoder includes logic circuitry representing the correlation between symbols and data bursts. The logic circuitry includes: a codeword decoding lookup table configured to provide lookup table mappings specifying multiple sub-block lookup tables corresponding to symbols for each of the codewords; classifying the multiple sub-block lookup tables according to the number of codeword mappings, wherein the codeword mappings represent the correlation between symbols and some bit values in the data burst; and a combination lookup table selectively interconnecting the multiple sub-block lookup tables based on a combination of the sub-block lookup tables specified by the lookup table mappings. The decoder recovers the data bursts corresponding to the codewords using the codeword decoding lookup table, the multiple sub-block lookup tables, and the combination lookup table. Attached Figure Description
[0010] Embodiments of the present invention will be more clearly understood from the following detailed description taken in conjunction with the accompanying drawings, in which:
[0011] Figure 1 This is a schematic block diagram of a transmitter and receiver according to an embodiment;
[0012] Figure 2 It is by Figure 1 A diagram illustrating the 7:8 bit encoding used by the PAM-4 encoder;
[0013] Figure 3 It is used for explanation Figure 1 A diagram illustrating the lookup table of the PAM-4 encoder;
[0014] Figure 4 and Figures 5A to 5C This is a diagram illustrating codeword encoding using a combined lookup table and a sub-block lookup table;
[0015] Figure 6 yes Figure 1 A flowchart of the operation method of the PAM-4 encoder;
[0016] Figure 7 yes Figure 1 A diagram illustrating the lookup table of the PAM-4 decoder;
[0017] Figure 8 yes Figure 7 A diagram illustrating the codeword decoding lookup table in the code;
[0018] Figure 9 yes Figure 1 A flowchart illustrating the operation method of the PAM-4 decoder;
[0019] Figure 10 It is through the use of Figure 2 A diagram illustrating the encoding method of 32-bit data bursts with 7:8 bit encoding;
[0020] Figure 11 It is a graph used to explain the encoding method of data bursts according to the embodiments;
[0021] Figures 12 to 14 It is based on Figure 11 A diagram illustrating the 32-bit data burst structure of the encoding method;
[0022] Figure 15 This is a block diagram of a first example of a memory system including an encoding device and a decoding device according to an embodiment;
[0023] Figure 16 This is a block diagram of a portion of a memory device according to an embodiment; and
[0024] Figure 17 This is a block diagram of a second example of a memory system including an encoding device and a decoding device according to an embodiment. Detailed Implementation
[0025] Figure 1 This is a schematic block diagram of a transmitter 110 and a receiver 120 according to an embodiment.
[0026] Reference Figure 1Receiver 120 can communicate with transmitter 110 via channel line 130. Channel line 130 may include multiple signal lines that physically or electrically connect transmitter 110 to receiver 120. Transmitter 110, receiver 120, and channel line 130 may support PAM-4 signaling, which converts a 2-bit stream into a single multi-level signal with 4 levels.
[0027] Transmitter 110 may include a PAM-4 encoder 112 for converting data bursts to be transmitted to receiver 120 into PAM-4 symbols. The PAM-4 encoder 112 encodes the data bursts and generates PAM-4 symbols. Transmitter 110 may also include a driver for driving the PAM-4 symbols on channel line 130. Transmitter 110 can transmit PAM-4 symbols to receiver 120 via channel line 130.
[0028] The PAM-4 encoder 112 may include logic circuitry 114 representing the correlation between data bursts and PAM-4 symbols. Logic circuitry 114 may include a lookup table configured with minimal overhead. The lookup table may be implemented as a register (or storage element) storing the correlation between data bursts and PAM-4 symbols. The PAM-4 encoder 112 may use the lookup table to convert data bursts into PAM-4 symbols.
[0029] Receiver 120 can receive PAM-4 symbols and may include a PAM-4 decoder 122 for decoding the received PAM-4 symbols. PAM-4 decoder 122 may include logic circuitry 124 configured to decode PAM-4 symbols and recover 2-bit data bursts. Logic circuitry 124 may include a lookup table configured to decode PAM-4 symbols and recover 2-bit data bursts. The lookup table may be implemented as a register storing the correlation between PAM-4 symbols and data bursts. PAM-4 decoder 122 can use the lookup table to recover PAM-4 symbols into data bursts. A portion of the lookup table of PAM-4 decoder 122 may be configured to be identical to the lookup table of PAM-4 encoder 112.
[0030] Figure 2 It is by Figure 1 The diagram shows the 7:8 bit encoding used by the PAM-4 encoder 112.
[0031] Reference Figure 2 The diagram illustrates a 7:8 bit encoding 200 between user data 202 and encoded data 204. User data 202 can be referred to as raw data. For user data 202 and encoded data 204, each DQ[i] row can represent a serial data line.
[0032] In user data 202, 16-bit data bursts can be arranged on each serial data line or each DQ[i] row, and columns can include the positions of 2 bits in sequence within the 16-bit data bursts. For example, the second and third bits of each data burst can be represented by d[2:3] labeled as columns. Each 16-bit data burst can be represented by two half-bursts, each half-burst comprising 8 bits. For example, on serial data line DQ[0], a 16-bit data burst can be divided into a first half-burst (or d0[0]:d0[7:1]) and a second half-burst (or d0[8]:d0[15:9]). Each half-burst can also be divided into a pair of 1-bit:7-bit values. For example, on serial data line DQ[0], the first half-burst or d0[0]:d0[7:1] can be divided into d0[0] (1 bit value) and d0[7:1] (7 bit value).
[0033] In the encoded data 204, the DQ[i] row can represent serial data lines, the Data Bus Inverted (DBI) row can represent DBI signal lines, and their columns can include bit strings representing symbols s[i]. For example, s[0] can represent the first 2-bit PAM-4 symbol on each serial data line, and s[1] can represent the second 2-bit PAM-4 symbol.
[0034] 7:8 bit encoding 200 can encode a pair of 1-bit data values at any bit position on any serial data line into a PAM-4 symbol on the DBI signal line. For example, data d0[0] and d0[8] on serial data line DQ[0] can be encoded into a 2-bit PAM-4 symbol on the DBI signal line, while data d1[0] and d1[8] on serial data line DQ[1] can be encoded into a 2-bit PAM-4 symbol on the DBI signal line.
[0035] According to an embodiment, in 7:8 bit encoding 200, a 2-bit PAM-4 symbol on the DBI signal line can encode a pair of 1-bit data values on other serial data lines into a PAM-4 symbol on the DBI signal line. For example, data d0[0] on serial data line DQ[0] and data d1[0] on serial data line DQ[1] can be encoded into a 2-bit PAM-4 symbol on the DBI signal line. Similarly, data d2[0] on serial data line DQ[2] and data d3[0] on serial data line DQ[3] can be encoded into a 2-bit PAM-4 symbol on the DBI signal line.
[0036] In 7:8 bit encoding 200, the remaining 7 bits of the PAM-4 symbols not used as DBI signal lines in each of the first and second half-data bursts can be encoded into 4 PAM-4 symbols on their corresponding serial data lines. These 4 PAM-4 symbols can have 8 bits and can be referred to as codewords. For example, user data d0[7:1] can be encoded into codeword c0[7:0] on the serial data line DQ[0]. Each 7-bit codeword for user data can be represented as 4 PAM-4 symbols in the PAM-4 symbols. User data d0[7:1] can be encoded into codeword c0[7:0], which includes symbols s[0], s[1], s[2], and s[3].
[0037] In 7:8 bit encoding 200, the space between the 7-bit codeword ci[7:0] for the first half-data burst on each of the serial data lines DQ[i] and the 7-bit codeword ci[15:8] for the second half-data burst on each of the serial data lines DQ[i] can be called the block boundary (BB).
[0038] 7:8 bit encoding 200 allows mapping 7-bit data values to their corresponding codewords using a lookup table. For example... Figure 3 As shown, the lookup table may include a combined lookup table (LUT) 310 and a set of LUTs 320 including multiple sub-block LUTs 321 to 324. The combined LUT 310 may selectively interconnect the encoding results according to the multiple sub-block LUTs 321 to 324.
[0039] On the other hand, in 7:8 bit encoding 200, based on the 8-bit encoding of PAM-4 symbols s[0], s[1], s[2], and s[3], 256 patterns can exist, and 128 patterns can be selected from these 256 patterns for 7-bit encoding of user data. The selected 128 patterns can be provided to the codeword of the 7-bit user data. The registers in the lookup table associated with the 128 unselected patterns can be left unused and can be used as overhead for the lookup table.
[0040] In the embodiments described below, to reduce the overhead of lookup tables, multiple sub-block LUTs 321 to 324 are arranged adjacent to each other (i.e., interconnected) to form a LUT set 320. Each of the sub-block LUTs 321 to 324 may include multiple sub-block LUTs A1 to A5, B1 to B4, and ~B1, which are classified according to the number of codeword maps. The combined LUT 310 may be constructed by LUT maps that selectively combine sub-block LUTs A1 to A5, B1 to B4, and ~B1 according to the type of 7-bit user data values. The LUT may be constructed to support MTA and will refer to Figure 1This describes the mapping between PAM-4 symbols and symbol bits. Table 1 is a non-limiting example used for the purpose of description.
[0041] [Table 1]
[0042]
[0043] Referring to Table 1, a 2-bit PAM-4 symbol can be transmitted via the channel line ( Figure 1 The 130 symbol is sent to one of four voltage levels, represented as 0, 1, 2, or 3. As an example, the PAM-4 symbol for level 3 can be set to the highest voltage level, and the PAM-4 symbol for level 0 can be set to the lowest voltage level.
[0044] Figure 3 yes Figure 1 A diagram illustrating the lookup table of the PAM-4 encoder 112, and Figure 4 and Figures 5A to 5C Is using Figure 3 The diagram illustrates the codeword encoding of the combined LUT 310 and sub-block LUTs A1 to A5, B1 to B4, and ~B1. Figures 3 to 5C LUTs used by 7:8 bit encoders and / or decoders are described; however, these embodiments are non-limiting examples for illustrative purposes. According to the embodiments, LUTs can be used... Figures 3 to 5C The LUT in the LUT is used to implement a 29:32 bit encoder and / or decoder.
[0045] Reference Figure 3 The logic circuitry 114 of the PAM-4 encoder 112 may include a combined LUT 310 and first sub-block LUT 321, second sub-block LUT 322, third sub-block LUT 323, and fourth sub-block LUT 324 interconnected within the LUT set 320. The first sub-block LUT 321 may include sub-block LUT B1 and sub-block LUT ~ B1 containing a maximum number of codeword maps (e.g., 8 codeword maps). Sub-block LUT ~ B1 may be configured to provide a codeword map inverted relative to sub-block LUT B1. Sub-block LUT ~ B1 may be configured to support the MTA between the last symbol and the first symbol of the codeword in the sub-block LUT to be combined. The second sub-block LUT 322 may include, for example, sub-block LUT A1 and sub-block LUT B2 each containing 4 codeword maps. The third sub-block LUT 323 may include, for example, sub-blocks LUT A2, LUT A3, LUT A5, LUT B3, and LUT B4, each containing two codeword maps. The fourth sub-block LUT 324 may include, for example, sub-block LUT A4 containing one codeword map. See reference. Figures 5A to 5C The sub-blocks LUT A1 to A5, B1 to B4, and ~B1 are described in detail.
[0046] Reference Figure 3 and Figure 4 The combined LUT 310 can be configured with sub-blocks LUT A1 to A5, B1 to B4, and ~B1, which are combined according to the type of user data b[6:0] to provide a codeword mapping corresponding to the 7 bits of user data b[6:0]. User data b[6:0] can correspond to reference... Figure 2 The user data d0[7:1] describes a half-data burst.
[0047] As an example, when the b5:b6 bit values of the 7-bit user data b[6:0] are 00, sub-block LUT A1 and sub-block LUT B1 can be configured as a combination. Sub-block LUT A1 provides codeword mappings corresponding to the b0:b1 bit values. Sub-block LUT A1 may include four codeword mappings corresponding to 2 bits and may be included in the second sub-block LUT 322. Sub-block LUT B1 provides codeword mappings corresponding to the b2:b3:b4 bit values. Sub-block LUT B1 may include eight codeword mappings corresponding to 3 bits and may be included in the first sub-block LUT 321. Therefore, 32 (4×8=32) codewords can be provided, consisting of the combined symbol encoding A1×B1 corresponding to the b5:b6 bit values (or 00) of the 7-bit user data b[6:0].
[0048] As an example, when the b4:b5:b6 bit values of the 7-bit user data b[6:0] are 001, sub-block LUT A1 and sub-block LUT B2 can be configured as a combination. Sub-block LUT A1 provides codeword mappings corresponding to the b0:b1 bit values. Sub-block LUT B2 provides codeword mappings corresponding to the b2:b3 bit values. Sub-block LUT B2 may include four codeword mappings corresponding to 2 bits and may be included in the second sub-block LUT 322. Therefore, 16 (4×4=16) codewords can be provided, consisting of the combined symbol encoding A1×B2 corresponding to the b4:b5:b6 bit values (or 001) of the 7-bit user data b[6:0].
[0049] When the b4:b5:b6 bit values of the 7-bit user data b[6:0] are 101, sub-block LUT A2 and sub-block LUT B1 can be combined. Sub-block LUT A2 can provide codeword mappings corresponding to the b0 bit values. Sub-block LUT A2 can include two codeword mappings corresponding to 1 bit and can be included in a third sub-block LUT 323. Sub-block LUT B1 can provide codeword mappings corresponding to the b1:b2:b3 bit values. Therefore, 16 (2×8=16) codewords can be provided, consisting of combined symbol encoding A2×B1 corresponding to the b4:b5:b6 bit values (or 101) of the 7-bit user data b[6:0].
[0050] When the b4:b5:b6 bit values of the 7-bit user data b[6:0] are 010, sub-block LUT A3 and sub-block LUT B1 can be combined. Sub-block LUT A3 can provide codeword mappings corresponding to the b0 bit value. Sub-block LUT A3 can include two codeword mappings corresponding to 1 bit and can be included in a third sub-block LUT 323. Sub-block LUT B1 can provide codeword mappings corresponding to the b1:b2:b3 bit values. Therefore, 16 (2×8=16) codewords can be provided, consisting of combined symbol encoding A3×B1 corresponding to the b4:b5:b6 bit values (or 010) of the 7-bit user data b[6:0].
[0051] When the b4:b5:b6 bit values of the 7-bit user data b[6:0] are 110, sub-block LUT A5 and sub-block LUT ~ B1 can be combined. Sub-block LUT A5 can provide codeword mappings corresponding to the b0 bit values. Sub-block LUT A5 can include two codeword mappings corresponding to 1 bit and can be included in the third sub-block LUT 323. Sub-block LUT ~ B1 can provide codeword mappings corresponding to the b1:b2:b3 bit values. Sub-block LUT ~ B1 can include eight codeword mappings corresponding to 3 bits and can be included in the first sub-block LUT 321. Therefore, 16 (2 × 8 = 16) codewords can be provided, consisting of the combined symbol encoding A5×~B1 corresponding to the b4:b5:b6 bit values (or 110) of the 7-bit user data b[6:0].
[0052] As an example, when the b3:b4:b5:b6 bit values of the 7-bit user data b[6:0] are 0011, sub-block LUTA1 and sub-block LUT B3 can be combined. Sub-block LUT A1 provides codeword mappings corresponding to the b0:b1 bit values. Sub-block LUT B3 provides codeword mappings corresponding to the b2 bit value. Sub-block LUT B3 may include two codeword mappings corresponding to 1 bit and may be included in a third sub-block LUT 323. Therefore, 8 (4×2=8) codewords can be provided, consisting of combined symbol encoding A1×B3 corresponding to the b3:b4:b5:b6 bit values (or 0011) of the 7-bit user data b[6:0].
[0053] As an example, when the b3:b4:b5:b6 bit values of the 7-bit user data b[6:0] are 1011, subblock LUTA2 and subblock LUT B2 can be combined. Subblock LUT A2 provides a codeword mapping corresponding to the b0 bit value. Subblock LUTB2 provides a codeword mapping corresponding to the b1:b2 bit values. Therefore, 8 (2×4=8) codewords can be provided, consisting of the combined symbol encoding A2×B2 corresponding to the b3:b4:b5:b6 bit values (or 1011) of the 7-bit user data b[6:0].
[0054] As an example, when the b3:b4:b5:b6 bit values of the 7-bit user data b[6:0] are 0111, sub-block LUTA4 and sub-block LUT B1 can be combined. Sub-block LUT A4 may include one codeword mapping and may be included in the fourth sub-block LUT 324. Sub-block LUT B1 can provide codeword mappings corresponding to the b0:b1:b2 bit values. Therefore, 8 (1×8=8) codewords can be provided, consisting of combined symbol encoding A4×B1 corresponding to the b3:b4:b5:b6 bit values (or 0111) of the 7-bit user data b[6:0].
[0055] As an example, when the b2:b3:b4:b5:b6 bit values of the 7-bit user data b[6:0] are 01111, sub-block LUT A2 and sub-block LUT B3 can be configured as a combination. Sub-block LUT A2 provides a codeword mapping corresponding to the b0 bit value. Sub-block LUT B3 provides a codeword mapping corresponding to the b1 bit value. Therefore, four (2×2=4) codewords can be provided, consisting of the combined symbol encoding A2×B3 corresponding to the b2:b3:b4:b5:b6 bit values (or 01111) of the 7-bit user data b[6:0].
[0056] When the b2:b3:b4:b5:b6 bit values of the 7-bit user data b[6:0] are 11111, sub-block LUT A3 and sub-block LUT B4 can be combined. Sub-block LUT A3 provides a codeword mapping corresponding to the b0 bit value. Sub-block LUT B4 provides a codeword mapping corresponding to the b1 bit value. Sub-block LUT B4 may include two codeword mappings corresponding to 1 bit and may be included in a third sub-block LUT 323. Therefore, 4 (2×2=4) codewords can be provided, consisting of the combined symbol encoding A3×B4 corresponding to the b2:b3:b4:b5:b6 bit values (or 11111) of the 7-bit user data b[6:0].
[0057] Reference Figure 5AEach of sub-blocks LUT A1 and LUT A2 can be selectively combined with sub-blocks LUT B1, LUT B2, and LUT B3. Codeword encoding is performed such that when 2 bits are 00, sub-block LUT A1 is converted to symbol level 01; when 2 bits are 01, sub-block LUT A1 is converted to symbol level 11; when 2 bits are 10, sub-block LUT A1 is converted to symbol level 02; and when 2 bits are 11, sub-block LUT A1 is converted to symbol level 21. Codeword encoding is performed such that when 1 bit is 0, sub-block LUT A2 is converted to symbol level 12; and when 1 bit is 1, sub-block LUT A2 is converted to symbol level 22. Sub-block lookup tables A1 and A2 can be configured as a combination of a first symbol level of 0, 1, or 2 and a last symbol level of 1 or 2.
[0058] The executable codeword encoding is such that when the 3-bit value is 000, sub-block LUT B1 is converted to symbol level 00; when the 3-bit value is 001, sub-block LUT B1 is converted to symbol level 01; when the 3-bit value is 010, sub-block LUT B1 is converted to symbol level 10; when the 3-bit value is 011, sub-block LUT B1 is converted to symbol level 11; when the 3-bit value is 100, sub-block LUT B1 is converted to symbol level 02; when the 3-bit value is 101, sub-block LUT B1 is converted to symbol level 20; when the 3-bit value is 110, sub-block LUT B1 is converted to symbol level 21; and when the 3-bit value is 111, sub-block LUT B1 is converted to symbol level 12. The executable codeword encoding allows sub-block LUT B2 to be converted to symbol level 22 when the 2-bit value is 00, to symbol level 31 when the 2-bit value is 01, to symbol level 13 when the 2-bit value is 10, and to symbol level 23 when the 2-bit value is 11. The executable codeword encoding allows sub-block LUT B3 to be converted to symbol level 32 when the 1-bit value is 0, and to symbol level 33 when the 1-bit value is 1. Sub-blocks LUT B1 through LUT B3 can be configured as a combination of the first symbol level 0, 1, 2, or 3 and the last symbol level 0, 1, 2, or 3.
[0059] exist Figure 5AThe system supports MTA (Maximum Transition) so that no maximum transition (MT) event occurs between symbols in each codeword of sub-blocks LUT A1 and LUT A2, and sub-blocks LUT B1, LUT B2, and LUT B3, from level 0 to level 3 or from level 3 to level 0. Furthermore, MTA is supported such that MT events do not occur between the last symbol of the codewords of sub-blocks LUT A1 and LUT A2 and the first symbol of the codewords of sub-blocks LUT B1, LUT B2, and LUT B3.
[0060] Reference Figure 5B Each of sub-blocks LUT A3 and LUT A4 can be selectively combined with sub-blocks LUT B1 and LUT B4. Codeword encoding is performed such that when a bit is 0, sub-block LUT A3 is converted to symbol level 00, and when a bit is 1, sub-block LUT A3 is converted to symbol level 10. Sub-block LUT A4 can provide one symbol level 20. Sub-blocks LUT A3 and LUT A4 can be configured as a combination of a first symbol level of 0, 1, or 2 and a last symbol level of 0.
[0061] The configuration of sub-block LUT B1 can be referenced. Figure 5A The description is the same. Codeword encoding is performed such that when a 1-bit value is 0, sub-block LUT B4 is converted to symbol level 22, and when a 1-bit value is 1, sub-block LUT B4 is converted to symbol level 13. Sub-block LUT B1 and sub-block LUT B4 can be configured as a combination of the first symbol level 0, 1, or 2 and the last symbol level 0, 1, 2, or 3.
[0062] exist Figure 5B In this configuration, sub-block LUT A3 and LUT A4, as well as sub-block LUT B1 and LUT B4, can support MTAs between symbols in each codeword. Furthermore, MTAs can be supported such that MT events do not occur between the last symbol of the codewords in sub-block LUT A3 and LUT A4 and the first symbol of the codewords in sub-block LUT B1 and LUT B4.
[0063] Reference Figure 5C Subblock LUT A5 can be selectively combined with subblock LUTs ~ B1. Codeword encoding can be performed such that when a bit is 0, subblock LUT A5 is converted to symbol level 13, and when a bit is 1, subblock LUT A5 is converted to symbol level 23. Subblock LUT A5 can be configured as a combination of a first symbol level 1 or 2 and a last symbol level 3.
[0064] Sub-block LUT ~ B1 can provide references within it. Figure 5AThe codeword describes the inverted symbol level of sub-block LUT B1. The executable codeword encoding is performed such that when the 3-bit value is 000, sub-block LUT~B1 is converted to symbol level 33; when the 3-bit value is 001, sub-block LUT~B1 is converted to symbol level 32; when the 3-bit value is 010, sub-block LUT~B1 is converted to symbol level 23; when the 3-bit value is 011, sub-block LUT~B1 is converted to symbol level 22; when the 3-bit value is 100, sub-block LUT~B1 is converted to symbol level 31; when the 3-bit value is 101, sub-block LUT~B1 is converted to symbol level 13; when the 3-bit value is 110, sub-block LUT~B1 is converted to symbol level 12; and when the 3-bit value is 111, sub-block LUT~B1 is converted to symbol level 21. Subblock LUT~B1 can be configured as a combination of the first symbol level 1, 2, or 3 and the last symbol level 1, 2, or 3, and symbol level 0 may not be present. This is because, since the last symbol level of subblock LUT A5 is 3, MTA can be supported by removing symbol level 0 from the first symbol level of subblock LUT~B1.
[0065] Reference Figures 3 to 5C Seven bits of user data can be encoded into codewords. For example, when the seven bits of user data (or the bit values b0:b1:b2:b3:b4:b5:b6) are 0010000, the combined symbol code A1×B1 can be selected from the combined LUT 310 based on the bit value of b5:b6 being 00. Based on the bit value of b0:b1 being 00, the symbol level of sub-block LUT A1 can be selected as 01, and based on the bit value of b2:b3:b4 being 100, the symbol level of sub-block LUT B1 can be selected as 02. Therefore, the seven bits of user data 0010000 can be converted into the codeword 0102 of the combined symbol.
[0066] For example, suppose the b0:b1:b2:b3:b4:b5:b6 bit values of 7 bits of user data are 0101011. Based on the b3:b4:b5:b6 bit value of 1011, the combined symbol code A2×B2 can be selected from the combined LUT 310. Based on the b0 bit value of 0, the symbol level 12 of sub-block LUT A2 can be selected, and based on the b1:b2 bit value of 10, the symbol level 13 of sub-block LUT B2 can be selected. Therefore, the 7 bits of user data 0101011 can be converted into the combined symbol codeword 1213.
[0067] For example, when the 7-bit user data (or the b0:b1:b2:b3:b4:b5:b6 bit values) is 1101010, the combined symbol code A3×B1 can be selected from the combined LUT 310 based on the b4:b5:b6 bit value of 010. Based on the b0 bit value of 1, the symbol level 10 of sub-block LUT A3 can be selected, and based on the b1:b2:b3 bit value of 101, the symbol level 20 of sub-block LUT B1 can be selected. Therefore, the 7-bit user data 1101010 can be converted into the combined symbol codeword 1020.
[0068] For example, when the 7-bit user data (or the bit values b0:b1:b2:b3:b4:b5:b6) is 0000110, the combined symbol code A5×~B1 can be selected from the combined LUT 310 based on the bit value of b4:b5:b6 being 110. Based on the bit value of b0 being 0, the symbol level 13 of sub-block LUT A5 can be selected, and based on the bit values of b1:b2:b3 being 000, the symbol level 33 of sub-block LUT~B1 can be selected. Therefore, the 7-bit user data 0000110 can be converted into the codeword 1333 of the combined symbol.
[0069] Figure 6 yes Figure 1 The flowchart of the operation method 600 for the PAM-4 encoder.
[0070] Reference Figure 6 as well as Figures 1 to 5C The PAM-4 encoder 112 can receive a 16-bit data burst of user data to be transmitted to the serial data line DQ[i] (S601). The PAM-4 encoder 112 can divide the 16-bit data burst into a first half-data burst (or d0[0]:d0[7:1]) and a second half-data burst (or d0[8]:d0[15:9]) (S602), and transmit 1 bit of each half-data burst (e.g., d0[0] and d0[8]) to the DBI signal line (S603). The PAM-4 encoder 112 can combine the bit pairs d0[0] and d0[8] into a PAM-4 symbol (S604), and transmit the PAM-4 symbol to the DBI signal line (S605).
[0071] The PAM-4 encoder 112 can perform 7:8 bit encoding, which converts the remaining 7 bits of the PAM-4 symbol not used for each half-burst of data DBI signal lines (S606). 7:8 bit encoding can be performed using a combined LUT 310 and first sub-blocks LUT 321 to fourth sub-blocks LUT 324 interconnected in the LUT set 320. Codewords corresponding to 7 bits of data can be generated from sub-blocks LUT A1 to A5, B1 to B4, and ~B1, which are combined according to the type of 7 bits of data provided by the combined LUT 310. The PAM-4 encoder 112 can transmit the codewords to channel line 130 (S607).
[0072] Figure 7 yes Figure 1 A diagram illustrating the lookup table of the PAM-4 decoder 122, and... Figure 8 yes Figure 7 The diagram shows the LUT710 codeword decoding algorithm.
[0073] Reference Figure 1 and Figure 7 The logic circuitry 124 of the PAM-4 decoder 122 may include a combination LUT 310, a LUT set 320, and a codeword decoding LUT 710. This can be referenced in conjunction with the above. Figure 3 The combined LUT 310 and LUT set 320 of the PAM-4 decoder 122 are configured in the same manner as the described combined LUT 310 and LUT set 320. The PAM-4 decoder 122 can receive codewords encoded by the PAM-4 encoder 112 via channel line 130 and perform 8:7 bit decoding corresponding to the codewords by using LUTs. The codeword decoding LUT 710 can be combined with the combined LUT 310 and sub-block LUTs 321 to 324 to recover the data bursts corresponding to the codewords.
[0074] Reference Figure 8 The codeword decoding LUT 710 can be configured to provide a LUT mapping that specifies the LUT corresponding to the codeword and the user data bit value corresponding to the specified LUT. One of the sub-block LUTs A1 to A5 can be specified based on a combination of the first symbol level 0, 1, 2, and 3 and the second symbol level 0, 1, 2, and 3 of the codeword. For example, codeword 00 can be assigned to sub-block LUT A3, and the user data bit value corresponding to sub-block LUT A3 can be set to 0. Codeword 12 can be assigned to sub-block LUT A2, and the user data bit value corresponding to sub-block LUT A2 can be set to 0.
[0075] The codeword decoding LUT 710 can provide LUT mappings 801 to 803 representing sub-block LUTs ~ B1 and sub-block LUTs B1 to B4, which are combined with sub-block LUTs A1 to A5.
[0076] LUT mapping 801 can represent sub-blocks LUT B1 to LUT B3, which are combined with sub-blocks LUT A1 and LUT A2 respectively, and can represent the corresponding user data bit value of each of the sub-blocks LUT B1 to LUT B3, which are combined with sub-blocks LUT A1 or LUT A2.
[0077] For example, codeword 0102 can be decoded into 7 bits of user data bits by referring to LUT mapping 801. Since sub-block LUT A1 has already been assigned with reference to the previous codeword 01, the user data bit value corresponding to sub-block LUT A1 can be set to 00. The current codeword 02 can be assigned to sub-block LUT B1 combined with sub-block LUT A1 by referring to LUT mapping 801, and the user data bit value corresponding to sub-block LUT B1 can be set to 100. Codeword 0102 can be converted to 00100, where user data bit values 00 and 100 are combined. Refer to the combined LUT ( Figure 4 (310) converts the combined subblock LUT A1×B1 into the user data bit value 00. Therefore, the codeword 0102 can be recovered as the 7-bit user data bit value 0010000, which combines the user data bit values 00100 and 00.
[0078] For example, in the case of codeword 1213, when sub-block LUT A2 is assigned to the previous codeword 12, the user data bit value corresponding to sub-block LUT A2 can be set to 0. Referring to LUT mapping 801, the current codeword 13 can be assigned to sub-block LUT B2 combined with sub-block LUT A2, and the user data bit value corresponding to sub-block LUT B2 can be set to 10. After combining the user data bit values 0 and 10, codeword 1213 can be converted to 010. Referring to the combined LUT (… Figure 4 (310) converts the combined subblock LUT A2×B2 into user data bit value 1011. Therefore, codeword 1213 can be recovered as the 7-bit user data bit value 0101011, which combines user data bit values 010 and 1011.
[0079] LUT mapping 802 can represent sub-block LUT B1 and sub-block LUT B4, which are combined with sub-block LUT A3 and sub-block LUT A4 respectively, and can represent the corresponding user data bit value in each of the sub-block LUT B1 and sub-block LUT B4 combined with sub-block LUT A3 or sub-block LUT A4.
[0080] For example, codeword 1020 can be decoded into 7 bits of user data bits by referring to LUT mapping 802. Since sub-block LUT A3 has already been assigned with reference to the previous codeword 10, the user data bit value corresponding to sub-block LUT A3 can be set to 1. The current codeword 20 can be assigned to sub-block LUT B1 combined with sub-block LUT A3 by referring to LUT mapping 802, and the user data bit value corresponding to sub-block LUT B1 can be set to 101. Codeword 1020 can be converted to user data bit value 1101. This can be done by referring to the combined LUT (… Figure 4 (310) converts the combined subblock LUT A3×B1 into the user data bit value 010. Therefore, codeword 1020 can be recovered as the 7-bit user data bit value 1101010, which combines user data bit values 1101 and 010.
[0081] LUT mapping 803 can represent sub-block LUT ~B1 combined with sub-block LUT A5.
[0082] For example, codeword 1333 can be decoded into 7 bits of user data bits by referring to LUT mapping 803. When sub-block LUT A5 has been assigned with reference to the previous codeword 13, the user data bit value corresponding to sub-block LUT A5 can be set to 0. The current codeword 33 can be assigned to sub-block LUT ~ B1 combined with sub-block LUT A5 by referring to LUT mapping 803, and the user data bit value corresponding to sub-block LUT ~ B1 can be set to 000. Codeword 1333 can be converted to user data bit value 0000. Refer to the combined LUT ( Figure 4 (310) converts the combined subblock LUT A5×~B1 into user data bit value 110. Therefore, codeword 1333 can be recovered as the 7-bit user data bit value 0000110, which combines user data bit values 0000 and 110.
[0083] Figure 9 yes Figure 1 The flowchart of the operation method 900 of the PAM-4 decoder 122.
[0084] Reference Figure 9 as well as Figures 1 to 8The PAM-4 decoder 122 can receive codewords via the serial data line DQ[i] (S901). The PAM-4 decoder 122 can perform 8:7 bit decoding, such that the codeword is converted into 7 bits of user data (S902). 8:7 bit decoding can be performed using the codeword decoding LUT 710, combining LUT 310, and the first sub-blocks LUT 321 to the fourth sub-blocks LUT 324 interconnected in the LUT set 320. 7 bits of user data corresponding to the codeword can be generated through 8:7 bit decoding.
[0085] The PAM-4 decoder 122 can receive 1 bit of user data of PAM-4 symbols via the DBI signal line (S903), and can recover the first half-data burst by combining the received 1 bit of user data with the decoded user data, and can recover the second half-data burst used for the serial data line DQ[i] (S904). The PAM-4 decoder 122 can recover the complete data burst by combining the first half-data burst and the second half-data burst (S905).
[0086] Figure 10 It is through the use of Figure 2 A diagram illustrating the encoding method of 32-bit data bursts of 7:8 bit encoding 200.
[0087] Reference Figure 2 and Figure 10 A 32-bit data burst can be arranged on each serial data line DQ[i], and each of the 32-bit data bursts can represent four 8-bit quarter-bursts. Each quarter-burst can also be divided into a 1-bit:7-bit pair, and can be executed via a reference. Figure 2 The 7:8 bit encoding described is used to support MTA. One bit of each quarter data burst can be encoded into a PAM-4 symbol on the DBI signal line, and a total of 32 bits can be sent to the DBI signal line when one bit of each of the four quarter data bursts is sent on each of the eight serial data lines DQ[i].
[0088] To also support MTA on the DBI signal line, only 28 bits of the 32 bits are available for 7:8 bit encoding 200. The four bits not used for 7:8 bit encoding 200 on the DBI signal line can be encoded as symbols via discrete signal lines (e.g., error detection code (EDC) signal lines). Therefore, Figure 10 Encoding methods for 32-bit data bursts can lead to overhead requiring additional signal lines.
[0089] Figure 11 This is a graph used to explain the encoding method for data bursts according to the embodiments.
[0090] Reference Figure 1 and Figure 11 The PAM-4 encoder 112 performs (mp):m (where m is a natural number and p is less than m) bit encoding on an m-bit data burst to be transmitted to the data line. The PAM-4 encoder 112 transmits the p-bit values of the m-bit data to the DBI signal line, and for the q bits that constitute the sum of the p bits on the DBI signal line, it performs q:(q+k) bit encoding (where k≥1) to generate the codeword for the DBI signal line. The PAM-4 encoder 112 performs (mp):m bit encoding on the remaining (mp) bits of each data burst and generates the codeword for the data line.
[0091] The PAM-4 encoder 112 can determine the p bits based on the total number of codewords corresponding to the m bits of the data burst, the number of codewords with the last symbol at the highest symbol level among codewords without MT events between symbols, the number of codewords with the last symbol at the middle level, the number of codewords with the last symbol at the lowest symbol level, and the number of codewords with the first symbol at neither the highest nor the lowest symbol level. Therefore, (mp):m-bit encoding and q:(q+k)-bit encoding can be implemented as MTA encoding, such that no MT events occur between symbols.
[0092] The PAM-4 encoder 112 can be designed to have a minimum overhead of 3 bits for 32-bit data bursts during PAM-4 symbol encoding. When directly designing a 29:32-bit encoder and / or decoder based on a LUT, a table of several gigabytes (GB) in size may be required. To reduce the table size, refer to... Figures 3 to 5C , Figure 7 and Figure 8 The described embodiments are applicable to 29:32 bit encoders and / or decoders. Therefore, the size of the tables to be included in the 29:32 bit encoder and / or decoder can be reduced. For example, when PAM-4 symbol encoding is performed using Equations 1 to 7 below, the PAM-4 encoder 112 can calculate the number of overhead bits based on the codeword length (or the number of PAM-4 symbols) n. In the case of a 32-bit data burst, the codeword length (or the number of PAM-4 symbols) n can be 16.
[0093] PAM-4 encoder 112 can define variable h n m n and l n This is used to calculate the pattern for which there is no MT event for codeword length n. n It can be the number of codewords with the last symbol n having a level of 3 in the absence of MT events, m nIt can be the number of codewords of symbol n with the last symbol having level 1 or level 2 in the absence of MT events, and l n This can be the number of codewords whose last symbol, n, has a level of 0 in the absence of MT events. The variable h can be obtained using Equation 1. n m n and l n The recursive relationship between them.
[0094] [Formula 1]
[0095] h n+1 =h n +m n
[0096] m n+1 =2m n +2h n +2l m
[0097] l n+1 =l n +m n
[0098] In this case, h1 = 1, m1 = 2, and l1 = 1, where n represents the current symbol and (n+1) represents the subsequent symbol.
[0099] t n is the total number of codewords used for codeword length n, which can be calculated using Formula 1 and is shown in Formulas 2 and 3.
[0100] [Formula 2]
[0101]
[0102] In this case, n represents the current symbol, and (n-1) represents the previous symbol.
[0103] [Formula 3]
[0104] t n =h n +m n +l n
[0105] t is the total number of codewords according to Formulas 2 and 3. n This can correspond to the block boundary ( Figure 2 In the case of the block boundary (BB), MTA is not considered, that is, there is no constraint on the symbol level to be assigned to the first symbol. On the block boundary (BB), it may also be necessary to support MTA to prevent MT events between the last symbol (n-1) of the previous codeword and the first symbol n of the current codeword.
[0106] [Formula 4]
[0107]
[0108] [Formula 5]
[0109]
[0110] It can be obtained by using t based on Formula 3 n And t′ in Formula 5 n Use Equations 6 and 7 to calculate the number of overhead bits, x.
[0111] [Formula 6]
[0112] x = 2 n -[log t n ]
[0113] [Formula 7]
[0114] x = 2n - [log t'] n ]
[0115] The number of overhead bits x with integer values for the reference codeword length n, obtained by using Formulas 6 and 7, can be... Figure 11 This is represented by curve 1100. As shown by curve 1100, a codeword length (or the number of PAM-4 symbols) n of 16 corresponds to the number of overhead bits of 3 (1103).
[0116] exist Figure 11 On curve 1100, according to Figure 2 The codeword length (or number of PAM-4 symbols) n of the 7:8 bit encoding 200 is 4, which corresponds to the number of overhead bits 1 (1101), and the number of overhead bits 1 corresponds to 1 bit of each half-burst of data sent to the DBI signal line. Furthermore, when the 7:8 bit encoding 200 is applied to the reference... Figure 10 When the 32-bit data burst is used, it is understood that the number of overhead bits is 4 (1102). Conversely, when PAM-4 symbol encoding is performed on the 32-bit data burst using Equations 1 to 7, the number of overhead bits can be reduced to 3 (1103). Therefore, when 3 bits of the 32-bit data burst are sent from each of the 8 serial data lines DQ[i] to the DBI signal line, a total of 24 bits can be sent to the DBI signal line.
[0117] Figures 12 to 14 It is based on Figure 11 A diagram illustrating the 32-bit data burst structure of the encoding method.
[0118] Reference Figure 1 and Figure 12 When the PAM-4 encoder 112 executes the reference Figure 11 The described encoding method transmits a total of 24 bits to the DBI signal line when bursting 3 bits of 32-bit data from each of the eight serial data lines DQ[i] to the DBI signal line. The PAM-4 encoder 112 transmits the first bit value 1201 of the 3 bits from each of the serial data lines DQ[i] to the DBI signal line. Then, the second bit value 1202 of the 3 bits from each of the serial data lines DQ[i] is transmitted to the DBI signal line, and subsequently, the third bit value 1203 is transmitted to the DBI signal line. The PAM-4 encoder 112 divides the 24 bits on the DBI signal line into eight 3-bit groups and performs 3:4 bit encoding on each 3-bit group. (Refer to...) Figure 14 Description: 3:4 bit encoding.
[0119] Reference Figure 13 When the PAM-4 encoder 112 executes the reference Figure 11 The described encoding method sends 3 bits of a 32-bit data burst from each of the eight serial data lines DQ[i] to the DBI signal line, for a total of 24 bits that can be sent to the DBI signal line. The PAM-4 encoder 112 can send the 3-bit values 1300 to 1307 of each of the serial data lines DQ[i] to the DBI signal line. The PAM-4 encoder 112 can perform 3:4 bit encoding on the 3-bit values 1300 to 1307 on the DBI signal line.
[0120] Reference Figure 14 The 3:4 bit encoding 1400 converts a 3-bit value 000 on the DBI signal line into a codeword with a sign bit 0000 and a sign level 00. The 3:4 bit encoding 1400 performs codeword encoding such that a 3-bit value 001 on the DBI signal line is converted to a sign bit 0001 and a sign level 01, a 3-bit value 010 on the DBI signal line is converted to a sign bit 0100 and a sign level 10, a 3-bit value 011 on the DBI signal line is converted to a sign bit 0101 and a sign level 11, a 3-bit value 100 on the DBI signal line is converted to a sign bit 0011 and a sign level 02, a 3-bit value 101 on the DBI signal line is converted to a sign bit 1100 and a sign level 20, a 3-bit value 110 on the DBI signal line is converted to a sign bit 1101 and a sign level 21, and a 3-bit value 111 on the DBI signal line is converted to a sign bit 0111 and a sign level 12. In the 3:4 bit encoding 1400, PAM-4 symbols with the highest voltage level (level 3) can be excluded from the codeword. Therefore, the 3:4 bit encoding 1400 can support MTA on the DBI signal line.
[0121] Reference Figure 12 and Figure 13 The described 32-bit data burst structure does not require additional signal lines such as EDC signal lines, which are... Figure 10 The 7:8 bit encoding 200 supports the MTA required on the DBI signal line. Furthermore, the EDC signal line can be configured for error detection of data DQ on the serial data line DQ[i]. The PAM-4 encoder 112 can provide performance improvements by generating a checksum or cyclic redundancy check (CRC) for the data DQ and sending specific CRC bits to the EDC signal line. Therefore, the PAM-4 encoder 112 can perform... Figure 11 The encoding method sends 3 bits of the 32-bit data burst from each of the serial data lines DQ[i] to the DBI signal line, and supports MTA on the DBI signal line by performing 3:4 bit encoding 1400 on the DBI signal line to meet its performance improvement.
[0122] Figure 15 This is a block diagram of a first example of a memory system 1500 including an encoding device and a decoding device according to an embodiment.
[0123] Reference Figure 15 The memory system 1500 may include a memory controller 1510 and a memory device 1520. The memory system 1500 may be an integrated circuit, electronic device or system, smartphone, tablet PC, computer, server, workstation, portable communication terminal, personal digital assistant (PDA), portable multimedia player (PMP), computing device such as other known computers, virtual machine, or virtual computing device thereof. Alternatively, the memory system 1500 may include components contained in a computing system such as a graphics card.
[0124] The memory controller 1510 can be connected to the memory device 1520 via a channel or memory bus 1530. For simplicity, in the figures, the clock CLK, command / address CA, and data DQ are shown as provided via a single signal line between the memory controller 1510 and the memory device 1520, but in practice they can be provided via multiple signal lines or a bus.
[0125] The CLK signal can be sent from memory controller 1510 to memory device 1520 via the CLK signal line of memory bus 1530. The CA signal can be sent from memory controller 1510 to memory device 1520 via the CA bus of memory bus 1530. The Chip Select (CS) signal can be sent from memory controller 1510 to memory device 1520 via the CS signal line of memory bus 1530. A CS signal activated as logic high can indicate that the CA signal sent via the CA bus is a command. Data DQ can be sent from memory controller 1510 to memory device 1520 or from memory device 1520 to memory controller 1510 via the DQ bus of memory bus 1530, and the DQ bus may include bidirectional signal lines.
[0126] The memory controller 1510 may include a data transmitter 1512 that sends data DQ to the memory device 1520, and the data transmitter 1512 may include a PAM-4 encoder 112 configured to convert write data bursts to be sent to the memory device 1520 into PAM-4 symbols. The PAM-4 encoder 112 may include... Figure 1 The logic circuit 114, combinational LUT 310, and first sub-block LUTs 321 to fourth sub-block LUTs 324 are interconnected within the LUT set 320, as shown in the reference. Figures 3 to 5C As described. The PAM-4 encoder 112 can be configured based on a reference. Figure 6 The described encoding operation method 600, refer to Figures 11 to 14 The described data burst structure and DBI MTA codewords will be written to the data burst as PAM-4 symbols. The memory controller 1510 can send the encoded PAM-4 symbols as data DQ to the memory device 1520 via the DQ bus.
[0127] The memory device 1520 can write or read data DQ under the control of the memory controller 1510. The memory device 1520 may include a memory cell array 1522 and a data input buffer 1524.
[0128] The memory cell array 1522 may include multiple word lines and multiple bit lines, as well as multiple memory cells formed at the intersections of word lines and bit lines. The memory cells of the memory cell array 1522 may include volatile memory cells (e.g., dynamic random access memory (RAM) (DRAM) cells, static RAM (SRAM) cells, etc.), non-volatile memory cells (e.g., flash memory cells, resistive RAM (RRAM) cells, phase-change RAM (PRAM) cells, magnetic RAM (MRAM) cells, etc.) or any known type of memory cell.
[0129] Memory device 1520 may be configured to receive and decode PAM-4 symbols transmitted via the DQ bus to data input buffer 1524. Data input buffer 1524 may include a PAM-4 decoder 122 configured to recover PAM-4 symbols into write data bursts. PAM-4 decoder 122 may include... Figure 1 Logic circuit 124, reference Figure 7 and Figure 8 The description includes the combined LUT 310, LUT set 320, and codeword decoding LUT 710. The PAM-4 decoder 122 can be configured based on a reference... Figure 9 The described decoding operation method 900 decodes PAM-4 symbols into write data bursts. Data input buffer 1524 provides the decoded write data bursts to be written into memory cell array 1522.
[0130] Figure 16 This is a block diagram of a portion of a memory device 1520 according to an embodiment.
[0131] Reference Figure 16 The memory device 1520 may include a memory cell array 1522, a row decoder 1601, a word line (WL) driver 1602, a column decoder 1603, an input / output (I / O) gate circuit 1604, an MRS 1605, a control logic circuit 1606, an address buffer 1607, a data input buffer 1524, and a data output buffer 1526.
[0132] The memory cell array 1522 may include a plurality of memory cells provided in a matrix format arranged in rows and columns. The memory cell array 1522 may include a plurality of word lines WL and a plurality of bit lines BL connected to the memory cells. The plurality of word lines WL may be connected to rows of the memory cells, and the plurality of bit lines BL may be connected to columns of the memory cells.
[0133] Row decoder 1601 can select any one of multiple word lines WL connected to memory cell array 1522. Row decoder 1601 can decode the row address ROW_ADDR received from address buffer 1607 and select any one word line WL corresponding to the row address ROW_ADDR, and then connect to word line driver 1602 that activates the selected word line WL. Column decoder 1603 can select certain bit lines BL from multiple bit lines BL. Column decoder 1603 can decode the column address COL_ADDR received from address buffer 1607 and generate a column selection signal, and then connect the bit line BL selected by the column selection signal to input / output gate circuit 1604. Input / output gate circuit 1604 may include a read data latch storing read data of the bit line BL selected by the column selection signal, and a write driver for writing write data into memory cell array 1522. Read data stored in the read data latch of input / output gate 1604 can be provided to the DQ bus via data output buffer 1526. Write data can be applied to memory cell array 1522 via data input buffer 1524 connected to the DQ bus and via write driver of input / output gate 1604.
[0134] The control logic circuit 1606 can receive the CLK signal and the command CMD, and generate the control signal CTRLS to control the operating timing and / or memory operations of the memory device 1520. The control logic circuit 1606 can read data from the memory cell array 1522 and write data into the memory cell array 1522 by using the control signal CTRLS.
[0135] To set the operating conditions of memory device 1520, MRS 1605 may store information used by control logic circuitry 1606 to constitute the operation of memory device 1520. MRS 1605 may include various operations for setting the operating conditions of memory device 1520 and a register storing parameter codes for control parameters. Memory device 1520 may receive parameter codes via a CA bus. Control logic circuitry 1606 may provide control signals CTRLS to the circuitry of memory device 1520, causing control logic circuitry 1606 to operate as configured by the operating and control parameters stored in MRS 1605.
[0136] Figure 17 This is a block diagram of a second example of a memory system 1700 including an encoding device and a decoding device according to an embodiment.
[0137] Reference Figure 17 Memory system 1700 and Figure 15The memory system 1500 differs in that the memory controller 1710 also includes a data receiver 1714, which includes a PAM-4 decoder 122, and the memory device 1720 also includes a data output buffer 1526, which includes a PAM-4 encoder 112.
[0138] When a burst of read data output from memory cell array 1522 is sent to memory controller 1710, memory device 1720 may be configured to encode the read data burst into PAM-4 symbols and send the encoded PAM-4 symbols via data output buffer 1526. Data output buffer 1526 may include PAM-4 encoder 112 configured to convert read data into PAM-4 symbols.
[0139] The memory controller 1710 can be configured to receive and decode PAM-4 symbols transmitted to the data receiver 1714 via the DQ bus. The data receiver 1714 may include a PAM-4 decoder 122, which is configured to recover the PAM-4 symbols into read data bursts.
[0140] Although the inventive concept has been specifically shown and described with reference to embodiments thereof, it will be understood that various changes in form and detail may be made therein without departing from the spirit and scope of the appended claims.
Claims
1. An apparatus comprising a transmitter for a data bus, the transmitter including an encoder configured to convert a data burst to be transmitted to the data bus into a codeword composed of symbols. in, The encoder includes logic circuitry representing the correlation between the data bursts and the symbols. The logic circuit includes multiple sub-block lookup tables categorized according to the number of codeword maps, wherein the codeword maps represent the correlation between some bit values in the data burst and the symbols; and A combined lookup table, which selectively interconnects the encoded results of the multiple sub-block lookup tables based on the remaining bit values in the data burst. The encoder is configured to provide codewords corresponding to the data bursts to the data bus by using the combined lookup table and the plurality of sub-block lookup tables. The plurality of sub-block lookup tables include: The first sub-block lookup table provides an 8-codeword mapping corresponding to 3-bit values among the aforementioned bit values; The second sub-block lookup table provides a mapping of four codewords corresponding to two of the aforementioned bit values; A third sub-block lookup table provides a two-codeword mapping corresponding to one bit value among the aforementioned bit values; and The fourth sub-block lookup table provides a codeword mapping with one symbol level.
2. The apparatus of claim 1, wherein, The encoder is configured to encode a pair of 1-bit values into a symbol of the inverted signal line of the data bus by sending a 1-bit value from each of the 8-bit data bursts to the inverted signal line of the data bus, perform 7:8 bit encoding on the remaining 7 bits of each of the data bursts, and generate a codeword consisting of 4 symbols having at least 4 levels based on the 7:8 bit encoding.
3. The apparatus of claim 2, wherein, The multiple sub-block lookup tables that store the codeword mappings and interconnect the registers constitute a lookup table set.
4. The apparatus of claim 2, wherein, The plurality of sub-block lookup tables are configured with maximum transition avoidance coding such that, between symbols in the codeword mapping, a maximum transition event does not occur between the at least four levels from the level with the highest voltage level to the level with the lowest voltage level, or from the level with the lowest voltage level to the level with the highest voltage level.
5. The apparatus of claim 2, wherein, The combined lookup table is configured to provide the codeword by combining the first sub-block lookup table and the second sub-block lookup table based on 2 bits of the remaining bit values of each of the data bursts.
6. The apparatus of claim 2, wherein, The combined lookup table is configured to provide the codeword by combining the second sub-block lookup table or combining the first sub-block lookup table with the third sub-block lookup table based on 3 bits of the remaining bit values of each of the data bursts.
7. The apparatus of claim 2, wherein, The combined lookup table is configured to provide the codeword by combining the first sub-block lookup table and the fourth sub-block lookup table or the second sub-block lookup table and the third sub-block lookup table based on 4 bits of the remaining bit values of each of the data bursts.
8. The apparatus of claim 2, wherein, The combined lookup table is configured to provide the codeword by combining the third sub-block lookup table based on 5 bits of the remaining bit values of each of the data bursts.
9. The apparatus of claim 1, wherein, The device includes a memory controller configured to encode write data to be sent to a memory device connected to a data line into the codeword.
10. The apparatus of claim 1, wherein, The device includes a memory device configured to decode the codewords received from a memory controller connected to a data line into read data.
11. A method for sending data, the method comprising: Receive an m-bit data burst to be sent to the data line, where m is a natural number; The p-bit values in the m-bit data burst are sent to the inverting signal line of the data bus, where p is a natural number and m > p; The codeword for the inverting signal line of the data bus is generated by performing q:(q+k) bit encoding on q bits, wherein the q bits are the sum of the p bits on the inverting signal line of the data bus, and q is a natural number and k is a natural number equal to or greater than 1; and The codeword of the data line is generated by performing (mp):m bit encoding on the remaining (mp) bits of each of the data bursts.
12. The method of claim 11, wherein, The (mp):m bit encoding and the q:(q+k) bit encoding use symbols with at least 4 symbol levels and are implemented by maximum transition avoidance encoding, such that between the symbols, a maximum transition event does not occur between the symbol level with the highest voltage level and the symbol level with the lowest voltage level, or between the symbol level with the lowest voltage level and the symbol level with the highest voltage level.
13. The method of claim 12, further comprising determining the p bits, in, The p-bit is determined based on the total number of codewords corresponding to the m-bit, the number of codewords with the last symbol at the highest voltage level among codewords that have no maximum transition event between the symbols, the number of codewords with the last symbol at the intermediate level between the symbol level with the highest voltage level and the symbol level with the lowest voltage level, the number of codewords with the last symbol at the lowest symbol level, and the number of codewords with the first symbol at neither the highest nor the lowest voltage level.
14. The method of claim 11, wherein, The (mp):m bit encoding is a 29:32 bit encoding, and the q:(q+k) bit encoding is a 3:4 bit encoding.
15. An apparatus comprising a receiver for a data bus, the receiver including a decoder configured to convert codewords composed of symbols received via the data bus into data bursts. in, The decoder includes logic circuitry representing the correlation between the symbols and the data bursts. The logic circuit includes: A codeword decoding lookup table is configured to provide a lookup table mapping that specifies multiple sub-block lookup tables corresponding to the symbols for each of the codewords. The multiple sub-block lookup tables are categorized according to the number of codeword maps, wherein the codeword map represents the correlation between the symbol and some bit values in the data burst; and A combined lookup table, which selectively interconnects multiple sub-block lookup tables based on a combination of sub-block lookup tables specified by the lookup table mapping. The decoder recovers the data burst corresponding to the codeword by using the codeword decoding lookup table, the multiple sub-block lookup tables, and the combined lookup table. The multiple sub-block lookup tables include: The first sub-block lookup table provides an 8-codeword mapping corresponding to 3-bit values among the aforementioned bit values; The second sub-block lookup table provides a mapping of four codewords corresponding to two of the aforementioned bit values; A third sub-block lookup table provides a two-codeword mapping corresponding to one bit value among the aforementioned bit values; and The fourth sub-block lookup table provides a codeword mapping with one symbol level.
16. The apparatus of claim 15, wherein, The lookup table mapping is configured such that the codeword decoding lookup table specifies one of the plurality of sub-block lookup tables based on a combination of the first symbol level and the second symbol level of the codeword.
17. The apparatus of claim 15, wherein, The plurality of sub-block lookup tables storing the codeword mappings of the register interconnects are configured as a single lookup table set.
18. The apparatus of claim 15, wherein, The plurality of sub-block lookup tables are configured with maximum transition avoidance coding such that, between symbols in the codeword mapping, maximum transition events do not occur from a symbol level with the highest voltage level to a symbol level with the lowest voltage level, or from a symbol level with the lowest voltage level to a symbol level with the highest voltage level.
Citation Information
Patent Citations
Tunable blue-emitting lead halide perovskite
KR1020210031486A
Deep learning apparatus for ANN with pipeline architecture
KR1020210070262A
Maximum transition avoidance (MTA) encoding
US20190229749A1
Method and apparatus, demodulating method and signal demodulating apparatus
US5870037A
