Memory, control method thereof and memory system

By using the compression test mode and the parallel-to-serial conversion technology of the data transmission module in the memory chip, the problem of low detection efficiency during the wafer test stage is solved, and efficient memory detection and circuit area optimization are achieved.

CN118737237APending Publication Date: 2024-10-01CHANGXIN MEMORY TECH INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310291215.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-21
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The detection efficiency of existing memory chips during the wafer testing stage is low, resulting in long test times and high costs. The traditional detection method can only detect rows and columns, and cannot quickly find faulty cells in the memory cell matrix.

Method used

The compression test mode is used to compress the data of the storage block through the compression module, and the data transmission module is used to share the data transmission path in the normal mode and the compression test mode to achieve parallel-to-serial conversion of multiple storage blocks and improve detection efficiency.

Benefits of technology

It improves memory detection efficiency, reduces circuit area occupation, meets the data transmission requirements of normal mode and compressed test mode, reduces line usage, and improves circuit area utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118737237A_ABST
    Figure CN118737237A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a memory, a control method thereof and a memory system. The memory comprises M memory groups; each storage group comprises at least two storage blocks; m is an even number greater than or equal to 4; the compression module is configured to perform compression processing on the first data output by each storage block in a compression test mode to obtain first compressed data; the data transmission module is connected with the compression module and comprises a plurality of bus transmission modules and a plurality of data terminal areas, and the bus transmission modules are connected with the data terminal areas through transmission line groups; each bus transmission module is connected with N storage groups, and N is an even number greater than or equal to 2 and less than or equal to M; the bus transmission module is configured to output first data output by one storage block in a normal mode, or perform parallel-serial conversion processing on multiple pieces of first compressed data corresponding to multiple storage blocks and output a second compressed signal in a compression test mode.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of semiconductor technology, and relates to but is not limited to a memory and a control method thereof, and a memory system. Background Art

[0002] Before a chip leaves the factory, it usually has to go through a series of tests before it can be used as a product, such as wafer testing (Circuit Probing, referred to as CP testing), final testing (Final Test, referred to as FT testing), etc. Among them, in the wafer testing (CP testing) stage, it is necessary to test the memory cell matrix of the memory chip, which is mainly to quickly detect the cells with errors in the memory cell matrix so as to quickly repair the defects and avoid affecting the subsequent process. The traditional detection method for the memory cell matrix can only perform detection operations on a row and a column, resulting in low test efficiency, a lot of time wasted, and high test costs. Summary of the invention

[0003] In view of this, the main purpose of the present disclosure is to provide a memory and a control method thereof, and a memory system.

[0004] To achieve the above objectives, the technical solution of the present disclosure is implemented as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, there is provided a memory, including:

[0006] M storage groups; each of the storage groups includes at least two storage blocks; M is an even number greater than or equal to 4;

[0007] A compression module, configured to compress the first data output by each storage block in a compression test mode to obtain first compressed data;

[0008] A data transmission module connected to the compression module comprises a plurality of bus transmission modules and a plurality of data terminal areas, wherein the bus transmission modules and the data terminal areas are connected via a transmission line group; each of the bus transmission modules is connected to N storage groups, wherein N is an even number greater than or equal to 2 and less than or equal to M; the bus transmission module is configured to output the first data output by one storage block in a normal mode, or to perform parallel-to-serial conversion processing on the plurality of first compressed data corresponding to the plurality of storage blocks and output a second compressed signal in the compression test mode;

[0009] The transmission line group is configured to output the first data from the bus transmission module to the data terminal area in the normal mode, or to output the second compressed signal from the bus transmission module to the data terminal area in the compression test mode.

[0010] In the above scheme, each of the data terminal areas includes a first-in-first-out input unit and a first-in-first-out output unit; the data terminal area is configured to output the data output by the bus transmission module via the first-in-first-out input unit and the first-in-first-out output unit; the data terminal area is also configured to shield the first-in-first-out input unit in the compression test mode.

[0011] In the above solution, the data terminal area also includes:

[0012] a signal generating unit configured to output a first clock signal to the FIFO input unit in the normal mode, or to output a shielding signal to the FIFO input unit in the compression test mode;

[0013] The data terminal area is specifically configured to control the input of data in the first-in-first-out input unit according to the first clock signal in the normal mode, or to shield the first-in-first-out input unit according to the shielding signal in the compression test mode to directly output the received data.

[0014] In the above solution, the data terminal area further includes: a first processing unit and a second processing unit;

[0015] The first processing unit is connected to the bus transmission module and is configured to receive the second compressed signal in a compression test mode, perform a first level parallel-to-serial conversion process on the second compressed signal to obtain a third compressed signal and output the third compressed signal;

[0016] The first-in-first-out input unit is connected to the first processing unit and is configured to receive the third compressed signal in a compression test mode and directly output the third compressed signal to the first-in-first-out output unit according to the shielding signal in the compression test mode;

[0017] The first-in first-out output unit is connected to the first-in first-out input unit and is configured to perform a second-level parallel-to-serial conversion process on the third compressed signal according to the first control signal to obtain a fourth compressed signal and output the fourth compressed signal;

[0018] The second processing unit is connected to the first-in first-out output unit, and is configured to receive the fourth compressed signal in a compression test mode, perform a third-level parallel-to-serial conversion process on the fourth compressed signal to obtain a fifth compressed signal, and output the fifth compressed signal.

[0019] In the above solution, the fifth compressed signal outputs the plurality of first compressed data corresponding to the plurality of storage blocks in series in sequence.

[0020] In the above solution, the second compressed signal includes a plurality of second sub-signals; the third compressed signal includes a plurality of third sub-signals; the fourth compressed signal includes a plurality of fourth sub-signals; the fifth compressed signal includes a fifth sub-signal;

[0021] The number of data bits in the continuous series on the second sub-signal, the third sub-signal, the fourth sub-signal and the fifth sub-signal increases gradually.

[0022] In the above scheme, the multiple bus transmission modules are divided into a first set and a second set; the first set and the second set include the same number of bus transmission modules; each of the data terminal areas is connected to the bus transmission modules in the first set and the second set respectively through the corresponding transmission line.

[0023] In the above scheme, the transmission line group connected to the bus transmission module in the first set includes a first transmission line group and a second transmission line group arranged in parallel; the transmission line group connected to the bus transmission module in the second set includes a third transmission line group and a fourth transmission line group arranged in parallel.

[0024] In the above scheme, each of the bus transmission modules is configured to output the corresponding first compressed data to the transmission line group according to the address selection signal in the compression test mode; each of the address selection signals corresponds to two of the storage blocks, and the different storage groups where the two storage blocks are located are connected to the same bus transmission module.

[0025] In the above scheme, each of the bus transmission modules in the first set is configured to: output the first compressed data corresponding to the first storage block to the first transmission line group in the first stage according to the address selection signal; output the first compressed data corresponding to the second storage block to the second transmission line group in the third stage, and the second storage block and the first storage block are located in the same storage group;

[0026] Each of the bus transmission modules in the second set is configured to: output the first compressed data corresponding to the third storage block to the third transmission line group in the second stage according to the address selection signal; output the first compressed data corresponding to the fourth storage block to the fourth transmission line group in the fourth stage, and the fourth storage block and the third storage block are located in the same storage group;

[0027] The first stage, the second stage, the third stage and the fourth stage are continuous in time.

[0028] In the above scheme, in the first stage, the first compressed data output by different bus transmission modules in the first set are serially transmitted on the first transmission line group; in the third stage, the first compressed data output by different bus transmission modules in the first set are serially transmitted on the second transmission line group;

[0029] In the second stage, the first compressed data output by different bus transmission modules in the second set are serially connected on the third transmission line group; in the fourth stage, the first compressed data output by different bus transmission modules in the second set are serially connected on the fourth transmission line group.

[0030] In the above scheme, the signals on the first transmission line group and the second transmission line group in each of the transmission line groups constitute a second compressed signal; the signals on the third transmission line group and the fourth transmission line group in each of the transmission line groups constitute a second compressed signal.

[0031] In the above solution, the memory includes 8 storage groups, each of which includes 4 storage blocks;

[0032] The data transmission module includes 4 bus transmission modules and 4 data terminal areas;

[0033] Each of the bus transmission modules is connected to two of the storage groups.

[0034] In the above solution, the second compressed signal includes 8 second sub-signals, each of which has continuous serial 2-bit data;

[0035] The third compressed signal includes 8 third sub-signals, each of which has continuous serial 4-bit data;

[0036] The fourth compressed signal includes four fourth sub-signals, each of which has continuous serial 8-bit data;

[0037] The fifth compressed signal includes one fifth sub-signal, and each of the fifth sub-signals has continuous serial 32-bit data.

[0038] In the above scheme, the pulse width of each bit of data in the second sub-signal, the third sub-signal and the fourth sub-signal is 2 clock cycles;

[0039] The pulse width of each bit of serial data on the fifth sub-signal is half a clock cycle.

[0040] In the above solution, the pulse width of the address selection signal is 1 clock cycle.

[0041] According to a second aspect of an embodiment of the present disclosure, there is provided a memory system, comprising the memory as described in any one of the above items; and a controller coupled to the memory and configured to control the memory.

[0042] According to a third aspect of an embodiment of the present disclosure, a control method for a memory is provided, wherein the memory includes M storage groups, each of which includes at least two storage blocks; M is an even number greater than or equal to 4; a compression module and a data transmission module connected to the compression module; the data transmission module includes a plurality of bus transmission modules and a plurality of data terminal areas, and the bus transmission modules and the data terminal areas are connected through a transmission line group; each of the bus transmission modules is connected to N storage groups, and N is an even number greater than or equal to 2 and less than or equal to M; the method includes:

[0043] The bus transmission module outputs the first data output by one of the storage blocks in the normal mode, or the compression module compresses the first data output by each of the storage blocks in the compression test mode to obtain the first compressed data; the bus transmission module performs parallel-to-serial conversion on the multiple first compressed data corresponding to the multiple storage blocks and outputs the second compressed signal;

[0044] The transmission line group outputs the first data from the bus transmission module to the data terminal area in the normal mode, or the transmission line group outputs the second compressed signal from the bus transmission module to the data terminal area in the compression test mode. The technical solution provided by the embodiment of the present disclosure adopts the compression test mode to improve the detection efficiency. In addition, by setting up the data transmission module, the normal mode and the compression test mode can share the data transmission path, which reduces the use of lines and improves the area utilization of the circuit. It occupies a smaller circuit area and meets the data transmission requirements of the normal mode and the compression test mode at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A block diagram of a memory shown in an embodiment of the present disclosure;

[0046] Figure 2 A block diagram of another memory according to an embodiment of the present disclosure;

[0047] Figure 3 A block diagram of a data terminal area shown in an embodiment of the present disclosure;

[0048] Figure 4 A schematic diagram of the circuit structure of a signal generating unit and a first-in first-out buffer shown in an embodiment of the present disclosure;

[0049] Figure 5A timing diagram of the first compressed data being processed into a second compressed signal through parallel-to-serial conversion;

[0050] Figure 6 A block diagram of a first set of bus transmission modules shown in an embodiment of the present disclosure;

[0051] Figure 7 is a timing diagram of the second compressed signal being processed into a fourth compressed signal through parallel-to-serial conversion;

[0052] Figure 8 A timing diagram for outputting a fifth compression signal for different data terminal regions;

[0053] Fig. 9 is a block diagram of a memory system according to an embodiment of the present disclosure;

[0054] Fig.10 A flowchart of a memory control method provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0055] The technical solution of the present disclosure will be further described in detail below in conjunction with the accompanying drawings and embodiments. Although the exemplary implementation methods of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the implementation methods described here. On the contrary, these implementation methods are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0056] The present disclosure is described in more detail in the following paragraphs by way of example with reference to the accompanying drawings. The advantages and features of the present disclosure will become more apparent from the following description and claims. It should be noted that the drawings are in very simplified form and in non-precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present disclosure.

[0057] It should be understood that spatial relationship terms such as "under", "below", "below", "under", "above", "above", etc., may be used here for convenience of description to describe the relationship between an element or feature shown in the figure and other elements or features. It should be understood that in addition to the orientation shown in the figure, the spatial relationship terms are intended to also include different orientations of the device in use and operation. For example, if the device in the accompanying drawings is turned over, then the elements or features described as "under other elements" or "under it" or "under it" will be oriented as "on" other elements or features. Therefore, the exemplary terms "under" and "under" may include both upper and lower orientations. The device can be oriented otherwise (rotated 90 degrees or other orientations) and the spatial descriptors used herein are interpreted accordingly.

[0058] The purpose of the terms used herein is only to describe specific embodiments and is not intended to be a limitation of the present disclosure. When used herein, the singular forms "one", "an" and "said / the" are also intended to include plural forms, unless the context clearly indicates otherwise. It should also be understood that the terms "consisting of" and / or "comprising", when used in this specification, determine the presence of the features, integers, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, parts and / or groups. When used herein, the term "and / or" includes any and all combinations of the relevant listed items.

[0059] It should be noted that the technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.

[0060] Taking the fourth generation double data rate synchronous dynamic random access memory (DDR4 SDRAM) as an example, only 64 bits of data can be read out for one read operation, resulting in low test efficiency. If the normal mode read operation mentioned above is still used for testing during the wafer test phase (CP phase), a lot of time will be wasted and test costs will be consumed.

[0061] Figure 1 A block diagram of a memory shown in an embodiment of the present disclosure, such as Figure 1 As shown, the memory 100 includes a plurality of memory groups (Bank Group, BG), each memory group includes a plurality of memory blocks (Bank), each memory block includes a plurality of memory cells. It should be noted that a memory cell is usually the smallest memory cell in the memory.

[0062] In a specific example, the memory 100 includes four storage groups BGA, BGB, BGC and BGD as an example for explanation, and each storage group includes four storage blocks Bank0, Bank1, Bank2 and Bank3. In a specific example, each storage block can read out 64 bits of data at a time. The memory 100 also includes a peripheral circuit 110, and the peripheral circuit 110 includes a compression module 120, a data center 111, a compression mode multiplexer 112 and a plurality of data terminal areas (LDQ) 113, wherein the peripheral circuit 110 includes eight data terminal areas LDQ0, LDQ1, LDQ2, LDQ3, LDQ4 (not shown), LDQ5 (not shown), LDQ6 (not shown) and LDQ7 (not shown).

[0063] Each data terminal region includes a first-in first-out buffer (FIFO), and the first-in first-out buffer includes a first-in first-out input unit (FIFO input, FIFO IN) and a first-in first-out output unit (FIFO output, FIFO OUT). Taking the data terminal region LDQ3 as an example, the data terminal region LDQ3 includes a first-in first-out buffer 1130, and the first-in first-out buffer 1130 includes a first-in first-out input unit 1131 and a first-in first-out output unit 1132.

[0064] In normal mode, only 64 bits of data can be read for one read operation. Figure 1 As shown, in a read operation in the normal mode, only 64 bits of data RD in one storage block (for example, storage block Bank0 in storage group BGB) can be read out, and data RD is transmitted to eight data terminal areas LDQ7-LDQ0 respectively after passing through data center 111 along data path 1 (path shown by dotted line), and each data terminal area is used to transmit 8 bits of data RD. In the process of transmitting data RD to each data terminal area, data RD will first be processed by the first-in-first-out input unit in the first-in-first-out buffer before entering the first-in-first-out output unit.

[0065] In compression test mode, such as Figure 1 As shown, for one read operation, sixteen 64-bit data RD in sixteen storage blocks can be read out, and the 64-bit data RD corresponding to each storage block is compressed by the compression module 120 to obtain corresponding first-level compressed data, which includes 4-bit data. The first-level compressed data RD_1<31:0> (a total of 32 bits of data) corresponding to eight of the sixteen storage blocks are transmitted to the data center 111 along the data path 2 (the path shown by the solid line), and the 32-bit first-level compressed data RD_1<63:32> corresponding to the other eight storage blocks are also transmitted to the data center 111 along the data path 2. The first-level compressed data RD_1<31:0> and the first-level compressed data RD_1<63:32> are transmitted to the compression mode multiplexer 112 along the data path 2 via the data center 111, and are processed by the compression mode multiplexer 112 for parallel-serial conversion to obtain the second-level compressed signal RD_2<7:0>, wherein the second-level compressed signal RD_2<7:0> includes eight second-level sub-compressed signals RD_2<7:0>. <0> To RD_2 <7> , each secondary sub-compression signal has 8 bits of continuous serial data. The eight secondary sub-compression signals on the secondary compression signal RD_2<7:0> are respectively transmitted to the data terminal areas LDQ3-LDQ0, and each data terminal area is used to transmit two of the eight secondary sub-compression signals. The secondary compression signal RD_2<7:0> directly enters the first-in-first-out output unit during transmission to the data terminal area without being processed by the first-in-first-out input unit.

[0066] The compression test mode is used to detect the storage cells in the memory. A large number of storage cells can be detected in one detection process, so that whether the storage cells in the memory are defective can be quickly detected, which improves the detection efficiency while ensuring the accuracy and reliability of the detection. However, after the data in the normal mode and the data in the compression test mode are transmitted to the data center, the data in the normal mode is directly transmitted to the first-in first-out input unit in the first-in first-out buffer in the data terminal area. The data in the compression test mode needs to be processed by the compression mode multiplexer for the first-level compressed data, and then transmitted to the first-in first-out output unit in the first-in first-out buffer in the data terminal area. Therefore, the data in the compression test mode and the data transmission path in the normal mode are less coupled, so there are not many shared circuits.

[0067] In this regard, the present disclosure proposes the following implementation modes.

[0068] Figure 2 FIG. 1 is a block diagram of another memory according to an embodiment of the present disclosure. Figure 2 As shown, the memory 200 includes:

[0069] M storage groups; each storage group includes at least two storage blocks; M is an even number greater than or equal to 4;

[0070] The compression module 220 is configured to compress the first data RD1 output by each storage block in a compression test mode to obtain first compressed data PD_1;

[0071] The data transmission module 230 connected to the compression module 220 includes a plurality of bus transmission modules and a plurality of data terminal areas 212, and the bus transmission modules and the data terminal areas 212 are connected via a transmission line group 215; each bus transmission module is connected to N storage groups, where N is an even number greater than or equal to 2 and less than or equal to M; the bus transmission module is configured to output the first data RD_1 output by a storage block in a normal mode, or, in a compression test mode, perform parallel-to-serial conversion processing on a plurality of first compressed data PD_1 corresponding to a plurality of storage blocks and output a second compressed signal PD_2;

[0072] The transmission line group 215 is configured to output the first data RD_1 from the bus transmission module to the data terminal region 212 in the normal mode, or to output the second compression signal PD_2 from the bus transmission module to the data terminal region 212 in the compression test mode.

[0073] Figure 3 This is a block diagram of a data terminal area shown in an embodiment of the present disclosure. It should be noted that: Figure 3 The following is an example of LDQ7. Figure 3 As shown, each data terminal area 212 includes a signal generating unit 2121 , a first processing unit 2122 , a first-in-first-out buffer 2123 and a second processing unit 2126 , wherein the first-in-first-out buffer 2123 includes a first-in-first-out input unit 2124 and a first-in-first-out output unit 2125 .

[0074] In some embodiments, the data terminal area 212 is configured to output the data output by the bus transmission module via the first-in-first-out input unit 2124 and the first-in-first-out output unit 2125; the data terminal area 212 is also configured to shield the first-in-first-out input unit 2124 in the compression test mode.

[0075] In some embodiments, the signal generating unit 2121 is configured to output a first clock signal CLK to the first-in-first-out input unit in a normal mode, or to output a shielding signal PDL to the first-in-first-out input unit in a compression test mode; the data terminal area 212 is specifically configured to control the input of data in the first-in-first-out input unit according to the first clock signal CLK in a normal mode, or to shield the first-in-first-out input unit according to the shielding signal PDL in the compression test mode so as to directly output the received data.

[0076] Figure 4 FIG. 1 is a schematic diagram of a circuit structure of a signal generating unit and a first-in first-out buffer according to an embodiment of the present disclosure. Figure 4 As shown, the signal generating unit 2121 includes a first signal generating unit 2127 and a second signal generating unit 2128. The first signal generating unit 2127 is configured to receive a mode activation signal T_MODE, a compression test mode signal DFT and a normal mode signal RFP, and output a first clock signal CLK and a second clock signal CLKB. The mode activation signal T_MODE is used to indicate activation of the compression test mode, the compression test mode signal DFT is used to indicate execution of the compression test mode, and the normal mode signal RFP is used to indicate execution of the normal mode. The effective level states of the mode activation signal T_MODE, the compression test mode signal DFT and the normal mode signal RFP are all logic high levels.

[0077] The second signal generating unit 2128 is connected to the first signal generating unit 2127 and is configured to receive the first clock signal CLK and the second clock signal CLKB and output a shielding signal PDL. The effective level state of the shielding signal PDL is a logic low level.

[0078] In a specific implementation, the first signal generating unit 2127 includes a first logic NOR gate 2129, a first logic NAND gate 2130, and a first inverter 2131. The first logic NOR gate 2129 and the first logic NAND gate 2130 perform logic operations on the mode activation signal T_MODE, the compression test mode signal DFT, and the normal mode signal RFP to obtain the second clock signal CLKB, and the first inverter 2131 inverts the second clock signal CLKB to obtain the first clock signal CLK.

[0079] The second signal generating unit 2128 includes a first latch 2137, a second inverter 2132, a second logic NAND gate 2133, a third inverter 2134, a fourth inverter 2135 and a second logic NOR gate 2136. Optionally, the first latch 2137 is a level-triggered latch, ck and ckb are complementary clock ports, D is a data input terminal, and QB is an inverted data output port. The first latch 2137 is configured such that when the signal received at the clock port ck is a high level, the value received at the data input port D is output from the inverted data output port QB, or, when the signal received at the clock port ck is a low level, the value received at the data input port D is not transmitted to the inverted data output port QB.

[0080] Table 1 Figure 4 Logic level values ​​of some signals in the signal generating unit in the compression test mode are shown.

[0081] Table 1

[0082] DFT T_MODE CLKB CLK QB PDL 1 1 1 0 1 0

[0083] In a specific embodiment, combining Table 1 and Figure 4 , the clock port ck of the first latch 2137 receives the second clock signal CLKB, and the data input port D receives the low level voltage VSS. Specifically, in the compression test mode, the mode activation signal T_MODE and the compression test mode signal DFT are both at a logic high level, and the second clock signal CLKB obtained after the logic operation of the mode activation signal T_MODE, the compression test mode signal DFT and the normal mode signal RFP by the first logic NOR gate 2129 and the first logic NAND gate 2130 is at a logic high level.

[0084] It should be noted that when the mode activation signal T_MODE and the compression test mode signal DFT are both at a logic high level, the first logic NOR gate 2129 outputs a logic low level signal. After one input end of the first logic NAND gate 2130 receives a logic low level signal, the first logic NAND gate 2130 will output the second clock signal CLKB at a logic high level regardless of whether the normal mode signal RFP received at the other input end of the first logic NAND gate 2130 is at a logic low level or a logic high level.

[0085] It can be understood that when the second clock signal CLKB is at a logic high level, the inverting data output port QB of the first latch 2137 outputs a logic high level. After the logic operation of the second inverter 2132, the second logic NAND gate 2133, the third inverter 2134, the fourth inverter 2135 and the second logic NOR gate 2136, the second signal generating unit 2128 outputs the shielding signal PDL at a logic low level.

[0086] In some embodiments, the FIFO buffer 2123 includes a FIFO input unit 2124 and a FIFO output unit 2125. In the FIFO input unit 2124 and the FIFO output unit 2125, CLK is a clock port, D is a data input terminal, and OUT is a data output terminal. Optionally, the FIFO output unit 2125 is composed of a plurality of triggers.

[0087] In some embodiments, in the compression test mode, the data input terminal D of the first-in-first-out input unit 2124 receives the third compression signal PD_3. Under the action of the shielding signal PDL, the sorting function of the first-in-first-out input unit 2124 on the input data is turned off, and the third compression signal PD_3 is directly output to the data input terminal D of the first-in-first-out output unit 2125.

[0088] In some embodiments, please refer to Figures 2 to 4 The first processing unit 2122 is connected to the bus transmission module and is configured to receive the second compressed signal PD_2 in the compression test mode, perform the first level parallel-to-serial conversion on the second compressed signal PD_2 to obtain the third compressed signal PD_3 and output it. Optionally, the first processing unit 2122 can be a shift register or a tree structure composed of multiple levels of two-to-one selectors (Mux).

[0089] The FIFO input unit 2124 is connected to the first processing unit 2122 and is configured to receive the third compression signal PD_3 in the compression test mode and directly output the third compression signal PD_3 to the FIFO output unit 2125 according to the shielding signal PDL in the compression test mode.

[0090] The FIFO output unit 2125 is connected to the FIFO input unit 2124 and is configured to perform a second-stage parallel-to-serial conversion process on the third compressed signal PD_3 according to the first control signal Ctrl to obtain and output a fourth compressed signal PD_4.

[0091] The second processing unit 2126 is connected to the first-in first-out output unit 2125, and is configured to receive the fourth compression signal PD_4 in the compression test mode, perform the third level parallel-to-serial conversion process on the fourth compression signal PD_4 to obtain the fifth compression signal PD_5 and output it. In some embodiments, the fifth compression signal PD_5 sequentially outputs the plurality of first compression data corresponding to the plurality of storage blocks in series.

[0092] Optionally, the second processing unit 2126 may be a shift register or a tree structure consisting of multiple levels of two-to-one selectors.

[0093] In the embodiment of the present disclosure, the first-in-first-out input unit 2124 is also configured to receive the first data RD_1 corresponding to a storage block in normal mode, control the input of data in the first-in-first-out input unit 2124 according to the first clock signal CLK, sort the first data RD_1 according to the input order, and then output it to the outside of the memory via the first-in-first-out output unit 2125 and the second processing unit 2126.

[0094] It should be noted that the data transmission path in the above compression test mode is Figure 3 Path 1 is shown by the solid line. The data transmission path in normal mode is Figure 3 Path 2 is shown by the dashed line.

[0095] In the embodiment of the present disclosure, the second compressed signal PD_2 includes a plurality of second sub-signals; the third compressed signal PD_3 includes a plurality of third sub-signals; the fourth compressed signal PD_4 includes a plurality of fourth sub-signals; the fifth compressed signal PD_5 includes a fifth sub-signal;

[0096] The number of consecutive serial data bits on the second sub-signal, the third sub-signal, the fourth sub-signal and the fifth sub-signal increases gradually.

[0097] In the embodiment of the present disclosure, a plurality of bus transmission modules are divided into a first set 213 and a second set 214; the first set 213 and the second set 214 include the same number of bus transmission modules; each data terminal area 212 is connected to the bus transmission modules in the first set 213 and the second set 214 through a corresponding transmission line group 215. In a specific embodiment, Figure 2As shown, the number of bus transmission modules included in the first set 213 and the second set 214 is 2. Specifically, the first set 213 includes a first bus transmission module 211-1 and a second bus transmission module 211-2, and the second set 214 includes a third bus transmission module 211-3 and a fourth bus transmission module 211-4.

[0098] Figure 5 The timing diagram of the first compressed data being converted into the second compressed signal through parallel-to-serial conversion. Figures 2 to 5 In a specific embodiment, the memory 200 includes 8 storage groups BG0, BG1, BG2, BG4, BG5, BG6 and BG7, each storage group includes 4 storage blocks BKA, BKB, BKC and BKD, and each storage block can read 128 bits of data at a time. The data transmission module 230 includes 4 bus transmission modules and 4 data terminal areas 212, the 4 bus transmission modules are respectively the first bus transmission module 211-1, the second bus transmission module 211-2, the third bus transmission module 211-3 and the fourth bus transmission module 211-4, and the 4 data terminal areas 212 are respectively LDQ4, LDQ5, LDQ6 and LDQ7. Figure 2 The number of data terminal areas shown in the figure is only an example in the compression test mode. The memory also includes other data terminal areas not shown. The protection scope of the present disclosure should not be excessively limited here.

[0099] It should be noted that the fifth generation double data rate synchronous dynamic random access memory (Double-Data-Rate Fifth Generation Synchronous Dynamic Random Access Memory, DDR5 SDRAM) is used as an example for explanation. In the embodiment of the present disclosure, each bus transmission module is connected to two storage groups through the compression module 220. It can be understood that each bus transmission module is connected to eight storage blocks through the compression module 220. In some embodiments, the first data RD_1 corresponding to each storage block is compressed by the compression module 220 to obtain the corresponding first compressed data PD_1, wherein the first data RD_1 includes 128 bits of data, and the first compressed data PD_1 includes 4 bits of data. For example, the first compressed data PD_1 corresponding to the storage block BKA in the storage group BG0 is BG0BKA<3:0>, and the first compressed data PD_1 corresponding to the storage block BKA in the storage group BG2 is BG2BKA<3:0>.

[0100] In a specific embodiment, the first bus transmission module 211-1 in the first set 213 receives eight first compressed data BG0BKA<3:0>, BG0BKB<3:0>, BG0BKC<3:0>, BG0BKD<3:0>, BG1BKA<3:0>, BG1BKB<3:0>, BG1BKC<3:0> and BG1BKD<3:0> corresponding to the storage blocks in the storage groups BG0 and BG1. The second bus transmission module 211-2 in the first set 213 receives eight first compressed data BG2BKA<3:0>, BG2BKB<3:0>, BG2BKC<3:0>, BG2BKD<3:0>, BG3BKA<3:0>, BG3BKB<3:0>, BG3BKC<3:0> and BG3BKD<3:0> corresponding to the storage blocks in the storage groups BG2 and BG3. The third bus transmission module 211-3 in the second set 214 receives eight first compressed data BG4BKA<3:0>, BG4BKB<3:0>, BG4BKC<3:0>, BG4BKD<3:0>, BG5BKA<3:0>, BG5BKB<3:0>, BG5BKC<3:0> and BG5BKD<3:0> corresponding to the storage blocks in the storage groups BG4 and BG5. The fourth bus transmission module 211-4 in the second set 214 receives eight first compressed data BG6BKA<3:0>, BG6BKB<3:0>, BG6BKC<3:0>, BG6BKD<3:0>, BG7BKA<3:0>, BG7BKB<3:0>, BG7BKC<3:0> and BG7BKD<3:0> corresponding to the storage blocks in the storage groups BG6 and BG7.

[0101] In an embodiment of the present disclosure, each bus transmission module is configured to output corresponding first compressed data according to an address selection signal in a compression test mode; each address selection signal corresponds to two storage blocks, and different storage groups where the two storage blocks are located are connected to the same bus transmission module.

[0102] Specifically, the address selection signal BG0_BKA_32P corresponds to the storage blocks BG0BKA and BG1BKA, and the storage group BG0 where the storage block BG0BKA is located and the storage group BG1 where the storage block BG1BKA is located are connected to the first bus transmission module 211-1 in the first set 213. The address selection signal BG2_BKA_32P corresponds to the storage blocks BG2BKA and BG3BKA, and the storage group BG2 where the storage block BG2BKA is located and the storage group BG3 where the storage block BG3BKA is located are connected to the second bus transmission module 211-2 in the first set 213.

[0103] The address selection signal BG4_BKA_32P corresponds to the storage blocks BG4BKA and BG5BKA, and the storage group BG4 where the storage block BG4BKA is located and the storage group BG5 where the storage block BG5BKA is located are connected to the third bus transmission module 211-3 in the second set 214. The address selection signal BG6_BKA_32P corresponds to the storage blocks BG6BKA and BG7BKA, and the storage group BG6 where the storage block BG6BKA is located and the storage group BG7 where the storage block BG7BKA is located are connected to the fourth bus transmission module 211-4 in the second set 214.

[0104] Similarly, the address selection signal BG0_BKB_32P corresponds to storage blocks BG0BKB and BG1BKB, the address selection signal BG2_BKB_32P corresponds to storage blocks BG2BKB and BG3BKB, the address selection signal BG4_BKB_32P corresponds to storage blocks BG4BKB and BG5BKB, and the address selection signal BG6_BKB_32P corresponds to storage blocks BG6BKB and BG7BKB.

[0105] For the correspondence between other address selection signals and storage blocks, please refer to the above description, which will not be repeated here.

[0106] Next, the data transmission process of the data terminal area LDQ7 is taken as an example for explanation.

[0107] See also Figures 2 to 5 The transmission line group 215 connected to the first set 213 includes a first transmission line group 215-1 and a second transmission line group 215-2 arranged in parallel, and the first transmission line group 215-1 includes a plurality of data lines LDQ7 <3> LDQ7 <2> LDQ7 <1> and LDQ7 <0> The second transmission line group 215-2 includes a plurality of data lines LDQ7 <7> LDQ7 <6> LDQ7 <5> and LDQ7 <4> The transmission line group 215 connected to the second set 214 includes a third transmission line group 215-3 and a fourth transmission line group 215-4 arranged in parallel, and the third transmission line group 215-3 includes a plurality of data lines UDQ7 <3> 、UDQ7 <2> 、UDQ7 <1> and UDQ7 <0> The fourth transmission line group 215-4 includes a plurality of data lines UDQ7 <7> 、UDQ7 <6> 、UDQ7 <5> and UDQ7 <4> .

[0108] In the embodiment of the present disclosure, each bus transmission module in the first set is configured to: output first compressed data corresponding to the first storage block to the first transmission line group in the first stage according to the address selection signal; output the first compressed data corresponding to the second storage block to the second transmission line group in the third stage, and the second storage block and the first storage block are located in the same storage group;

[0109] Each bus transmission module in the second set is configured to: output the first compressed data corresponding to the third storage block to the third transmission line group in the second stage according to the address selection signal; output the first compressed data corresponding to the fourth storage block to the fourth transmission line group in the fourth stage, and the fourth storage block and the third storage block are located in the same storage group;

[0110] The first stage, the second stage, the third stage and the fourth stage are continuous in time.

[0111] In some embodiments, in the first stage (from time T1 to time T2), the first bus transmission module 211-1 in the first set 213 outputs the first compressed data BG0BKA<3:0> corresponding to the storage block BG0BKA to the first transmission line group 215-1 according to the address selection signal BG0_BKA_32P. The second bus transmission module 211-2 in the first set 213 outputs the first compressed data BG2BKA<3:0> corresponding to the storage block BG2BKA to the first transmission line group 215-1 according to the address selection signal BG2_BKA_32P. Specifically, whenever a pulse of the address selection signal arrives, the first compressed data corresponding to the address selection signal is transmitted to the first transmission line group.

[0112] Specifically, the data line LDQ7 <3> Sequentially transmit BG0BKA <3> and BG2BKA <3> , data line LDQ7 <2> Sequentially transmit BG0BKA <2> and BG2BKA <2> , data line LDQ7 <1> Sequentially transmit BG0BKA <1> and BG2BKA <1> , data line LDQ7 <0> Sequentially transmit BG0BKA <0> and BG2BKA <0> .

[0113] It should be noted that, since each address selection signal corresponds to two storage blocks, in the first stage, the first bus transmission module 211-1 in the first set 213 will also output the first compressed data BG1BKA<3:0> corresponding to the storage block BG1BKA to the multiple data lines LDQ5<3:0> of the first transmission line group connected to the data terminal area LDQ5 according to the address selection signal BG0_BKA_32P. It can be understood that the data transmission process of the data terminal area LDQ5 and the data transmission process of the data terminal area LDQ7 are performed synchronously. In the embodiment of the present disclosure, for the first bus transmission module 211-1 in the first set 213, the first storage block includes the storage block BG0BKA and the storage block BG1BKA. For the second bus transmission module 211-2 in the first set 213, the first storage block includes the storage block BG2BKA and the storage block BG3BKA.

[0114] In the second phase (from time T2 to time T3), the third bus transmission module 211-3 in the second set 214 outputs the first compressed data BG4BKA<3:0> corresponding to the storage block BG4BKA to the third transmission line group 215-3 according to the address selection signal BG4_BKA_32P. The fourth bus transmission module 211-4 in the second set 214 outputs the first compressed data BG6BKA<3:0> corresponding to the storage block BG6BKA to the third transmission line group 215-3 according to the address selection signal BG6_BKA_32P.

[0115] Specifically, the data line UDQ7 <3> Sequentially transmit BG4BKA <3> and BG6BKA <3> , data cable UDQ7 <2> Sequentially transmit BG4BKA <2> and BG6BKA <2> , data cable UDQ7 <1> Sequentially transmit BG4BKA <1> and BG6BKA <1> , data cable UDQ7 <0> Sequentially transmit BG4BKA <0> and BG6BKA <0> .

[0116] It should be noted that, since each address selection signal corresponds to two storage blocks, in the second stage, the third bus transmission module 211-3 in the second set 214 will also output the first compressed data BG5BKA<3:0> corresponding to the storage block BG5BKA to the multiple data lines UDQ5<3:0> of the first transmission line group connected to the data terminal area LDQ5 according to the address selection signal BG4_BKA_32P. It can be understood that in the embodiment of the present disclosure, for the third bus transmission module 211-3 in the second set 214, the third storage block includes the storage block BG4BKA and the storage block BG5BKA. For the fourth bus transmission module 211-4 in the second set 214, the third storage block includes the storage block BG6BKA and the storage block BG7BKA.

[0117] In the third stage (from time T3 to time T4), the first bus transmission module 211-1 in the first set 213 outputs the first compressed data BG0BKB<3:0> corresponding to the storage block BG0BKB to the second transmission line group 215-2 according to the address selection signal BG0_BKB_32P, wherein the storage block BG0BKB and the storage block BG0BKA corresponding to the address selection signal BG0_BKA_32P in the first stage are located in the same storage group BG0. The second bus transmission module 211-2 in the first set 213 outputs the first compressed data BG2BKB<3:0> corresponding to the storage block BG2BKB to the second transmission line group 215-2 according to the address selection signal BG2_BKB_32P, wherein the storage block BG2BKB and the storage block BG2BKA corresponding to the address selection signal BG2_BKA_32P in the first stage are located in the same storage group BG2.

[0118] Specifically, the data line LDQ7 <7> Sequentially transmit BG0BKB serially <3> and BG2BKB <3> , data line LDQ7 <6> Sequentially transmit BG0BKB serially <2> and BG2BKB <2> , data line LDQ7 <5> Sequentially transmit BG0BKB serially <1> and BG2BKB <1> , data line LDQ7 <4> Sequentially transmit BG0BKB serially <0> and BG2BKB <0> .

[0119] It should be noted that, since each address selection signal corresponds to two storage blocks, in the third stage, the first bus transmission module 211-1 in the first set 213 will also output the first compressed data BG1BKB<3:0> corresponding to the storage block BG1BKB to the multiple data lines LDQ5<7:4> of the second transmission line group connected to the data terminal area LDQ5 according to the address selection signal BG0_BKB_32P. It can be understood that for the first bus transmission module 211-1 in the first set 213, the second storage block includes the storage block BG0BKB and the storage block BG1BKB, and the storage block BG1BKB and the storage block BG1BKA in the first stage are located in the same storage group BG1. For the second bus transmission module 211-2 in the first set 213, the second storage block includes the storage block BG2BKB and the storage block BG3BKB, and the storage block BG3BKB and the storage block BG3BKA in the first stage are located in the same storage group BG3.

[0120] In the fourth stage (from time T4 to time T5), the third bus transmission module 211-3 in the second set 214 outputs the first compressed data BG4BKB<3:0> corresponding to the storage block BG4BKB to the fourth transmission line group 215-4 according to the address selection signal BG4_BKB_32P, wherein the storage block BG4BKB and the storage block BG4BKA corresponding to the address selection signal BG4_BKA_32P in the second stage are located in the same storage group BG4. The fourth bus transmission module 211-4 in the second set 214 outputs the first compressed data BG6BKB<3:0> corresponding to the storage block BG6BKB to the fourth transmission line group 215-4 according to the address selection signal BG6_BKB_32P, wherein the storage block BG6BKB and the storage block BG6BKA corresponding to the address selection signal BG6_BKA_32P in the second stage are located in the same storage group BG6.

[0121] Specifically, the data line UDQ7 <7> Sequentially transmit BG4BKB serially <3> and BG6BKB <3> , data cable UDQ7 <6> Sequentially transmit BG4BKB serially <2> and BG6BKB <2> , data cable UDQ7 <5> Sequentially transmit BG4BKB serially <1> and BG6BKB <1> , data cable UDQ7 <4> Sequentially transmit BG4BKB serially <0> and BG6BKB <0> .

[0122] It should be noted that, since each address selection signal corresponds to two storage blocks, in the fourth stage, the third bus transmission module 211-3 in the second set 214 will also output the first compressed data BG5BKB<3:0> corresponding to the storage block BG5BKB to the plurality of data lines UDQ5<7:4> of the fourth transmission line group connected to the data terminal area LDQ5 according to the address selection signal BG4_BKB_32P. It can be understood that in the embodiment of the present disclosure, for the third bus transmission module 211-3 in the second set 214, the fourth storage block includes the storage block BG4BKB and the storage block BG5BKB, and the storage block BG5BKB is located in the same storage group BG5 as the storage block BG5BKA in the second stage. For the fourth bus transmission module 211-4 in the second set 214, the fourth storage block includes the storage block BG6BKB and the storage block BG7BKB, and the storage block BG7BKB is located in the same storage group BG7 as the storage block BG7BKA in the second stage.

[0123] In some embodiments, the pulse width of the address selection signal is 1 clock cycle (tck), and the pulse width of each bit of data in the first compressed data is 2tck. <0> BG0BKA transmitted on <0> The pulse width is 2tck, BG2BKA <0> The pulse width is 2tck, that is, the duration of the first stage is 4tck. It can be understood that the duration of the first stage, the second stage, the third stage and the fourth stage are all 4tck, and the first stage, the second stage, the third stage and the fourth stage are continuous in time. It should be noted that the clock cycle in the embodiment of the present disclosure refers to the clock cycle of the internal clock of the DRAM.

[0124] In the embodiment of the present disclosure, signals on the first transmission line group and the second transmission line group in the transmission line group constitute a second compressed signal, and signals on the third transmission line group and the fourth transmission line group in the transmission line group constitute the second compressed signal.

[0125] In a specific example, the signals on the first transmission line group 215-1 and the second transmission line group 215-2 in the transmission line 215 connected to the first set 213 constitute a second compressed signal PD_2, the second compressed signal PD_2 includes 16 bits of data transmitted on the eight data lines LDQ<7:0>, the second compressed signal PD_2 includes eight second sub-signals, each second sub-signal is transmitted through one data line, and each second sub-signal has two bits of data in a continuous series. For example, one of the eight second sub-signals is transmitted through the data line LDQ<7:0>. <0> The second sub-signal has a continuous serial 2-bit data BG0BKA <0> and BG2BKA <0> .

[0126] The signals on the third transmission line group 215-3 and the fourth transmission line 215-4 in the transmission line 215 connected to the second set 214 constitute a second compressed signal PD_2, the second compressed signal PD_2 includes 16-bit data transmitted on the eight data lines UDQ<7:0>, the second compressed signal PD_2 includes eight second sub-signals, each second sub-signal is transmitted through one data line, and each second sub-signal has a continuous series of 2-bit data. For example, one of the eight second sub-signals is transmitted through the data line UDQ7 <0> The second sub-signal has a continuous serial 2-bit data BG4BKA <0> and BG6BKA <0> .

[0127] It can be understood that every four first compressed data PD_1 are processed by parallel-to-serial conversion to obtain a second compressed signal PD_2, and the ratio of parallel-to-serial conversion is 2:1. Exemplarily, the four first compressed data BG0BKA<3:0>, BG2BKA<3:0>, BG0BKB<3:0> and BG0BKB<3:0> are processed by parallel-to-serial conversion to obtain a second compressed signal PD_2. The four first compressed data BG4BKA<3:0>, BG6BKA<3:0>, BG4BKB<3:0> and BG6BKB<3:0> are processed by parallel-to-serial conversion to obtain another second compressed signal PD_2.

[0128] In some embodiments, each bus transmission module is configured to output corresponding first compressed data to the transmission line group according to an address selection signal in a compression test mode; each address selection signal corresponds to two storage blocks, and different storage groups where the two storage blocks are located are connected to the same bus transmission module. Figure 6 FIG. 1 is a block diagram of a first set of bus transmission modules according to an embodiment of the present disclosure. Figures 2 to 6 The bus transmission module 211 in the first set 213 includes a transmitter 2111 and a driver 2112. The transmitter 2111 is configured to transmit the corresponding first compressed data according to the address selection signal. The driver 2112 is connected to the transmitter 2111 and is configured to perform a driving enhancement process on the data output by the transmitter 2111 and then output it to the transmission line. In a specific embodiment, the transmitter 2111 is turned on when the pulse of the address selection signal BG0_BKA_32P arrives, and transmits the first compressed data BG0BKA<3:0> to the driver 2112.

[0129] In a specific embodiment, Figure 5The data transmission process of the first stage shown in FIG. 2 is used as an example to illustrate. In the first stage, the first bus transmission module 211-1 and the second bus transmission module 211-2 in the first set 213 respectively output the first compressed data BG0BKA<3:0> corresponding to the storage block BG0BKA and the first compressed data BG2BKA<3:0> corresponding to the storage block BG2BKA to the first transmission line group 215-1 according to the address selection signals BG0_BKA_32P and BG2_BKA_32P. Specifically, the data line LDQ7 in the first transmission line group 215-1 is <3> Sequentially transmit BG0BKA <3> and BG2BKA <3> , data line LDQ7 <2> Sequentially transmit BG0BKA <2> and BG2BKA <2> , data line LDQ7 <1> Sequentially transmit BG0BKA <1> and BG2BKA <1> , data line LDQ7 <0> Sequentially transmit BG0BKA <0> and BG2BKA <0> Thus, after being processed by the two bus transmission modules in the first set 213, four second sub-signals PD_2<3:0> in the second compressed signal PD_2 are obtained. Thus, the 8-bit data BG0BKA transmitted in parallel are <0> ,BG0BKA <1> ,BG0BKA <2> ,BG0BKA <3> ,BG2BKA <0> ,BG2BKA <1> ,BG2BKA <2> and BG2BKA <3> Converted into four second sub-signals PD_2 for parallel transmission <0> ,PD_2 <1> ,PD_2 <2> and PD_2 <3> , each second sub-signal has continuous serial 2-bit data.

[0130] In some embodiments, an even number of inverters may be provided between the transmitter 2111 and the driver 2112 to enhance the transmission capability of the circuit. Figure 6 As shown, a fifth inverter 2113 and a sixth inverter 2114 are provided between the transmitter 2111 and the driver 2112 to further enhance the transmission capability of the circuit.

[0131] Figure 7 is a timing diagram of the second compressed signal being converted into a fourth compressed signal through parallel-to-serial conversion. Figures 2 to 7, the first processing unit 2122 receives two second compressed signals PD_2 in the compression test mode, performs the first level parallel-to-serial conversion on the second compressed signals PD_2 to obtain the third compressed signal PD_3 and outputs it. <3> Sequentially transmit BG0BKA <3> ,BG2BKA <3> ,BG4BKA <3> and BG6BKA <3> , data line ORD <2> Sequentially transmit BG0BKA <2> ,BG2BKA <2> ,BG4BKA <2> and BG6BKA <2> , data line ORD <1> Sequentially transmit BG0BKA <1> ,BG2BKA <1> ,BG4BKA <1> and BG6BKA <1> , data line ORD <0> Sequentially transmit BG0BKA <0> and BG2BKA <0> ,BG4BKA <0> and BG6BKA <0> Data line ORD <7> Sequentially transmit BG0BKB serially <3> 、BG2BKB <3> 、BG4BKB <3> and BG6BKB <3> , data line ORD <6> Sequentially transmit BG0BKB serially <2> 、BG2BKB <2> 、BG4BKB <2> and BG6BKB <2> , data line ORD <5> Sequentially transmit BG0BKB serially <1> 、BG2BKB <1> 、BG4BKB <1> and BG6BKB <1> , data line ORD <4> Sequentially transmit BG0BKB serially <0> 、BG2BKB <0> 、BG4BKB <0> and BG6BKB <0> .

[0132] It should be noted that the data lines ORD<3:0> and the data lines ORD<7:4> are arranged in parallel. The signals on the data lines ORD<3:0> and the data lines ORD<7:4> constitute a third compressed signal PD_3, the third compressed signal PD_3 includes 32-bit data transmitted on the 8 data lines ORD<7:0>, the third compressed signal PD_3 includes 8 third sub-signals, each third sub-signal is transmitted through one data line, and each third sub-signal has 4 bits of data in a continuous series. It can be understood that each data line has 4 bits of data transmitted in a continuous series, and the time length for serially transmitting 4 bits of data in sequence on each data line is 8tck.

[0133] In some embodiments, every two second compressed signals PD_2 are processed by the first stage parallel-to-serial conversion to obtain a third compressed signal PD_3, and the ratio of the first stage parallel-to-serial conversion is 2: 1. In this way, 16 second sub-signals transmitted in parallel are converted into 8 third sub-signals transmitted in parallel. Each second sub-signal has 2 bits of continuous serial data, and each third sub-signal has 4 bits of continuous serial data.

[0134] See also Figures 2 to 7The first-in first-out output unit 2125 performs a second-level parallel-to-serial conversion process on the third compressed signal PD_3 according to the first control signal Ctrl to obtain a fourth compressed signal PD_4 and output it. <3> Sequentially transmit BG0BKA <3> ,BG2BKA <3> ,BG4BKA <3> 、BG6BKA <3> 、BG0BKB <3> 、BG2BKB <3> 、BG4BKB <3> and BG6BKB <3> , data line BUSD <2> Sequentially transmit BG0BKA <2> ,BG2BKA <2> ,BG4BKA <2> 、BG6BKA <2> 、BG0BKB <2> 、BG2BKB <2> 、BG4BKB <2> and BG6BKB <2> , data line BUSD <1> Sequentially transmit BG0BKA <1> ,BG2BKA <1> ,BG4BKA <1> 、BG6BKA <1> 、BG0BKB <1> 、BG2BKB <1> 、BG4BKB <1> and BG6BKB <1> , data line BUSD <0> Sequentially transmit BG0BKA <0> ,BG2BKA <0> ,BG4BKA <0> 、BG6BKA <0> 、BG0BKB <0> 、BG2BKB <0> 、BG4BKB <0> and BG6BKB <0> .

[0135] The signal on the data line BUSD<3:0> constitutes a fourth compressed signal PD_4, the fourth compressed signal PD_4 includes 32-bit data transmitted on the four data lines BUSD<3:0>, the fourth compressed signal PD_4 includes four fourth sub-signals, each fourth sub-signal is transmitted through one data line, and each fourth sub-signal has 8 bits of data in a continuous series. It can be understood that each data line has 8 bits of data transmitted in a continuous series, and the time length for serially transmitting 8 bits of data in sequence on each data line is 16tck.

[0136] In some embodiments, each third compressed signal PD_3 is processed by the second stage parallel-to-serial conversion to obtain a fourth compressed signal PD_4, and the ratio of the second stage parallel-to-serial conversion is 2: 1. In this way, the eight third sub-signals transmitted in parallel in the third compressed signal PD_3 are converted into four fourth sub-signals transmitted in parallel in the fourth compressed signal PD_4. Each third sub-signal has 4 bits of continuous serial data, and each fourth sub-signal has 8 bits of continuous serial data.

[0137] Figure 8 The timing diagram of outputting the fifth compression signal for different data terminal areas. Figures 2 to 8, taking the data terminal area LDQ7 as an example, the second processing unit 2126 performs the third-level parallel-to-serial conversion processing on the fourth compressed signal PD_4 to obtain the fifth compressed signal PD_5 and outputs it. Specifically, the data terminal area LDQ7 transmits BG0BKA in series in sequence <0> ,BG0BKA <1> ,BG0BKA <2> ,BG0BKA <3> ,BG2BKA <0> ,BG2BKA <1> ,BG2BKA <2> ,BG2BKA <3> ,BG4BKA <0> ,BG4BKA <1> ,BG4BKA <2> ,BG4BKA <3> 、BG6BKA <0> 、BG6BKA <1> 、BG6BKA <2> 、BG6BKA <3> 、BG0BKB <0> 、BG0BKB <1> 、BG0BKB <2> 、BG0BKB <3> 、BG2BKB <0> 、BG2BKB <1> 、BG2BKB <2> 、BG2BKB <3> 、BG4BKB <0> 、BG4BKB <1> 、BG4BKB <2> 、BG4BKB <3> 、BG6BKB <0> 、BG6BKB <1> 、BG6BKB <2> 、BG6BKB <3> The fifth compression signal PD_5 includes one fifth sub-signal, which is transmitted through one data line, and each fifth sub-signal has continuous serial 32-bit data.

[0138] It can be understood that each fourth compressed signal PD_4 is processed by the third-stage parallel-to-serial conversion to obtain a fifth compressed signal PD_5, and the ratio of the third-stage parallel-to-serial conversion is 4: 1. In this way, the four fourth sub-signals transmitted in parallel are converted into a fifth sub-signal, and the fifth sub-signal has 32-bit continuous serial data.

[0139] In some embodiments, the pulse width of each bit of data in the fifth sub-signal is half a clock cycle, so the time length for the data terminal region LDQ7 to sequentially and serially output the 32-bit data in the fifth sub-signal is 16tck.

[0140] In this way, the fifth compressed signal serially outputs a plurality of first compressed data corresponding to a plurality of storage blocks in sequence on one data line, and reduces the data lines required for data transmission through parallel-to-serial conversion processing, thereby improving the area utilization of the circuit.

[0141] For the data terminal region LDQ6, the fifth compression signal PD_5 is sequentially transmitted in series on the data terminal region LDQ6. <0> ,BG0BKC <1> ,BG0BKC <2> ,BG0BKC <3> 、BG2BKC <0> 、BG2BKC <1> ,BG2BKC <2> ,BG2BKC <3> 、BG4BKC <0> 、BG4BKC <1> 、BG4BKC <2> 、BG4BKC <3> 、BG6BKC <0> 、BG6BKC <1> 、BG6BKC <2> 、BG6BKC <3> ,BG0BKD <0> ,BG0BKD <1> ,BG0BKD <2> ,BG0BKD <3> ,BG2BKD <0> ,BG2BKD <1> ,BG2BKD <2> ,BG2BKD <3> 、BG4BKD <0> 、BG4BKD <1> 、BG4BKD <2> 、BG4BKD <3> 、BG6BKD <0> 、BG6BKD <1> 、BG6BKD <2> 、BG6BKD <3> .

[0142] For the data terminal region LDQ5, the fifth compression signal PD_5 is transmitted serially in sequence BG1BKA in the data terminal region LDQ5. <0> 、BG1BKA <1> 、BG1BKA <2> 、BG1BKA <3> 、BG3BKA <0> 、BG3BKA <1> 、BG3BKA <2> 、BG3BKA <3> 、BG5BKA <0> 、BG5BKA <1> 、BG5BKA <2> 、BG5BKA <3> 、BG7BKA <0> 、BG7BKA <1> 、BG7BKA <2> 、BG7BKA <3> 、BG1BKB <0> 、BG1BKB <1> 、BG1BKB <2> 、BG1BKB <3> 、BG3BKB <0> 、BG3BKB <1> 、BG3BKB <2> 、BG3BKB <3> 、BG5BKB <0> 、BG5BKB <1> 、BG5BKB <2> 、BG5BKB <3> 、BG7BKB <0> 、BG7BKB <1> 、BG7BKB <2> 、BG7BKB <3> .

[0143] For the data terminal region LDQ4, the fifth compression signal PD_5 is serially transmitted in sequence on the data terminal region LDQ4. <0> 、BG1BKC <1> 、BG1BKC <2> 、BG1BKC <3> 、BG3BKC <0> 、BG3BKC <1> 、BG3BKC <2> 、BG3BKC <3> 、BG5BKC <0> 、BG5BKC <1> 、BG5BKC <2> 、BG5BKC <3> 、BG7BKC <0> 、BG7BKC <1> 、BG7BKC <2> 、BG7BKC <3> 、BG1BKD <0> 、BG1BKD <1> 、BG1BKD <2> 、BG1BKD <3> 、BG3BKD <0> 、BG3BKD <1> 、BG3BKD <2> 、BG3BKD <3> 、BG5BKD <0> 、BG5BKD <1> 、BG5BKD <2> 、BG5BKD <3> 、BG7BKD <0> 、BG7BKD <1> 、BG7BKD <2> 、BG7BKD <3> .

[0144] Through the technical solution provided by the embodiment of the present disclosure, the compression test mode is adopted to improve the detection efficiency. In addition, by setting the data transmission module, the normal mode and the compression test mode can share the data transmission path, which reduces the use of lines and improves the area utilization of the circuit. The smaller circuit area is occupied to meet the data transmission requirements of the normal mode and the compression test mode at the same time.

[0145] The memory involved in the embodiments of the present disclosure may include a dynamic random access memory (DRAM), and is particularly suitable for a double data rate synchronous dynamic random access memory using DDR4 memory specifications and DDR5 memory specifications. It should be noted that the embodiments of the present disclosure are not limited to DRAM.

[0146] The present disclosure also provides a memory system. Fig. 9 As shown, the memory system 10 includes a memory 11 ; and a controller 12 coupled to the memory 11 and configured to control the memory 11 .

[0147] The controller 12 may control the overall operation of the memory system 10. The controller 12 may control the overall data exchange between an external host (not shown) and the memory 11. For example, the controller 11 may write data to the memory 11 or read data from the memory 11 in response to a request from the host. In addition, the controller 12 may send command and address signals to the memory 11.

[0148] Fig.10A flow chart of a control method of a memory provided by an embodiment of the present disclosure, the memory includes M storage groups, each storage group includes at least two storage blocks; M is an even number greater than or equal to 4; a compression module and a data transmission module connected to the compression module; the data transmission module includes multiple bus transmission modules and multiple data terminal areas, and the bus transmission modules and the data terminal areas are connected through a transmission line group; each bus transmission module is connected to N storage groups, N is an even number greater than or equal to 2 and less than or equal to M. The control method of the memory specifically includes the following steps:

[0149] Step S10: the bus transmission module outputs the first data output by a storage block in a normal mode, or the compression module compresses the first data output by each storage block in a compression test mode to obtain first compressed data; the bus transmission module performs parallel-to-serial conversion on a plurality of first compressed data corresponding to a plurality of storage blocks and outputs a second compressed signal;

[0150] Step S20: the transmission line group outputs the first data from the bus transmission module to the data terminal area in the normal mode, or the transmission line group outputs the second compressed signal from the bus transmission module to the data terminal area in the compression test mode.

[0151] In an embodiment of the present disclosure, each data terminal area includes a first-in-first-out input unit and a first-in-first-out output unit; the control method includes: the data terminal area outputs the data output by the bus transmission module via the first-in-first-out input unit and the first-in-first-out output unit; the data terminal area shields the first-in-first-out input unit in a compression test mode.

[0152] In the embodiment of the present disclosure, the data terminal area further includes: a signal generating unit; the control method further includes:

[0153] The signal generating unit outputs a first clock signal to the FIFO input unit in a normal mode, or the signal generating unit outputs a shielding signal to the FIFO input unit in a compression test mode;

[0154] The data terminal area controls the input of data in the FIFO input unit according to the first clock signal in the normal mode, or the data terminal area shields the FIFO input unit according to the shielding signal in the compression test mode to directly output the received data.

[0155] In some embodiments, the data terminal area further includes: a first processing unit and a second processing unit; the control method further includes:

[0156] The first processing unit receives the second compressed signal in a compression test mode, performs a first level parallel-to-serial conversion process on the second compressed signal to obtain a third compressed signal and outputs the third compressed signal;

[0157] The first-in-first-out input unit receives the third compression signal in the compression test mode, and directly outputs the third compression signal to the first-in-first-out output unit according to the shielding signal in the compression test mode;

[0158] The first-in first-out output unit performs a second-level parallel-to-serial conversion process on the third compressed signal according to the first control signal to obtain a fourth compressed signal and outputs the fourth compressed signal;

[0159] The second processing unit receives the fourth compressed signal in the compression test mode, performs a third-level parallel-to-serial conversion process on the fourth compressed signal to obtain a fifth compressed signal and outputs the fifth compressed signal.

[0160] In some embodiments, the fifth compression signal serially outputs a plurality of first compressed data corresponding to a plurality of storage blocks in sequence.

[0161] In some embodiments, the second compressed signal includes a plurality of second sub-signals; the third compressed signal includes a plurality of third sub-signals; the fourth compressed signal includes a plurality of fourth sub-signals; the fifth compressed signal includes a fifth sub-signal;

[0162] The number of consecutive serial data bits on the second sub-signal, the third sub-signal, the fourth sub-signal and the fifth sub-signal increases gradually.

[0163] In an embodiment of the present disclosure, multiple bus transmission modules are divided into a first set and a second set; the first set and the second set include the same number of bus transmission modules; each data terminal area is connected to the bus transmission modules in the first set and the second set respectively through a corresponding transmission line group.

[0164] In some embodiments, the transmission line group connected to the bus transmission modules in the first set includes a first transmission line group and a second transmission line group arranged in parallel; the transmission line group connected to the bus transmission modules in the second set includes a third transmission line group and a fourth transmission line group arranged in parallel.

[0165] In some embodiments, each bus transmission module outputs corresponding first compressed data to a transmission line group according to an address selection signal in a compression test mode; each address selection signal corresponds to two storage blocks, and different storage groups where the two storage blocks are located are connected to the same bus transmission module.

[0166] In some embodiments, each bus transmission module in the first set outputs first compressed data corresponding to the first storage block to the first transmission line group in the first stage according to the address selection signal; outputs first compressed data corresponding to the second storage block to the second transmission line group in the third stage, and the second storage block and the first storage block are located in the same storage group;

[0167] Each of the bus transmission modules in the second set outputs the first compressed data corresponding to the third storage block to the third transmission line group in the second stage according to the address selection signal; outputs the first compressed data corresponding to the fourth storage block to the fourth transmission line group in the fourth stage, and the fourth storage block and the third storage block are located in the same storage group;

[0168] The first stage, the second stage, the third stage and the fourth stage are continuous in time.

[0169] In some embodiments, in the first stage, the first compressed data output by different bus transmission modules in the first set are serially connected in series on the first transmission line group; in the third stage, the first compressed data output by different bus transmission modules in the first set are serially connected in series on the second transmission line group;

[0170] In the second stage, the first compressed data output by different bus transmission modules in the second set are serially transmitted on the third transmission line group; in the fourth stage, the first compressed data output by different bus transmission modules in the second set are serially transmitted on the fourth transmission line group.

[0171] In some embodiments, signals on the first transmission line group and the second transmission line group in each transmission line group constitute a second compressed signal; signals on the third transmission line group and the fourth transmission line group in each transmission line group constitute a second compressed signal.

[0172] It should be understood that "one embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present disclosure. Therefore, "in one embodiment" or "in some embodiments" appearing throughout the specification does not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in the various embodiments of the present disclosure, the size of the serial number of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present disclosure. The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments.

[0173] The above description is only a specific implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure.

Claims

1. A memory, characterized in that: include: M storage groups; each of the storage groups includes at least two storage blocks; M is an even number greater than or equal to 4; A compression module, configured to compress the first data output by each storage block in a compression test mode to obtain first compressed data; A data transmission module connected to the compression module comprises a plurality of bus transmission modules and a plurality of data terminal areas, wherein the bus transmission modules and the data terminal areas are connected via a transmission line group; each of the bus transmission modules is connected to N storage groups, wherein N is an even number greater than or equal to 2 and less than or equal to M; the bus transmission module is configured to output the first data output by one storage block in a normal mode, or to perform parallel-to-serial conversion processing on the plurality of first compressed data corresponding to the plurality of storage blocks and output a second compressed signal in the compression test mode; The transmission line group is configured to output the first data from the bus transmission module to the data terminal area in the normal mode, or to output the second compressed signal from the bus transmission module to the data terminal area in the compression test mode.

2. The memory according to claim 1, characterized in that: Each of the data terminal areas includes a first-in-first-out input unit and a first-in-first-out output unit; the data terminal area is configured to output the data output by the bus transmission module via the first-in-first-out input unit and the first-in-first-out output unit; the data terminal area is also configured to shield the first-in-first-out input unit in the compression test mode.

3. The memory according to claim 2, characterized in that: The data terminal area also includes: a signal generating unit configured to output a first clock signal to the FIFO input unit in the normal mode, or to output a shielding signal to the FIFO input unit in the compression test mode; The data terminal area is specifically configured to control the input of data in the first-in-first-out input unit according to the first clock signal in the normal mode, or to shield the first-in-first-out input unit according to the shielding signal in the compression test mode to directly output the received data.

4. The memory according to claim 3, characterized in that: The data terminal area further includes: a first processing unit and a second processing unit; The first processing unit is connected to the bus transmission module and is configured to receive the second compressed signal in a compression test mode, perform a first level parallel-to-serial conversion process on the second compressed signal to obtain a third compressed signal and output the third compressed signal; The first-in-first-out input unit is connected to the first processing unit and is configured to receive the third compressed signal in a compression test mode and directly output the third compressed signal to the first-in-first-out output unit according to the shielding signal in the compression test mode; The first-in first-out output unit is connected to the first-in first-out input unit and is configured to perform a second-level parallel-to-serial conversion process on the third compressed signal according to the first control signal to obtain a fourth compressed signal and output the fourth compressed signal; The second processing unit is connected to the first-in first-out output unit, and is configured to receive the fourth compressed signal in a compression test mode, perform a third-level parallel-to-serial conversion process on the fourth compressed signal to obtain a fifth compressed signal, and output the fifth compressed signal.

5. The memory according to claim 4, characterized in that: The fifth compression signal serially outputs the plurality of first compressed data corresponding to the plurality of storage blocks in sequence.

6. The memory according to claim 5, characterized in that: The second compressed signal includes a plurality of second sub-signals; the third compressed signal includes a plurality of third sub-signals; the fourth compressed signal includes a plurality of fourth sub-signals; and the fifth compressed signal includes a fifth sub-signal; The number of data bits in the continuous series on the second sub-signal, the third sub-signal, the fourth sub-signal and the fifth sub-signal increases gradually.

7. The memory according to claim 1, characterized in that: The multiple bus transmission modules are divided into a first set and a second set; the first set and the second set include the same number of bus transmission modules; each of the data terminal areas is connected to the bus transmission modules in the first set and the second set respectively through the corresponding transmission line group.

8. The memory according to claim 7, characterized in that: The transmission line group connected to the bus transmission module in the first set includes a first transmission line group and a second transmission line group arranged in parallel; the transmission line group connected to the bus transmission module in the second set includes a third transmission line group and a fourth transmission line group arranged in parallel.

9. The memory according to claim 8, characterized in that: Each of the bus transmission modules is configured to output corresponding first compressed data to the transmission line group according to an address selection signal in the compression test mode; each of the address selection signals corresponds to two of the storage blocks, and different storage groups where the two storage blocks are located are connected to the same bus transmission module.

10. The memory according to claim 9, characterized in that: Each of the bus transmission modules in the first set is configured to: output the first compressed data corresponding to the first storage block to the first transmission line group in the first stage according to the address selection signal; output the first compressed data corresponding to the second storage block to the second transmission line group in the third stage, and the second storage block and the first storage block are located in the same storage group; Each of the bus transmission modules in the second set is configured to: output the first compressed data corresponding to the third storage block to the third transmission line group in the second stage according to the address selection signal; output the first compressed data corresponding to the fourth storage block to the fourth transmission line group in the fourth stage, and the fourth storage block and the third storage block are located in the same storage group; The first stage, the second stage, the third stage and the fourth stage are continuous in time.

11. The memory according to claim 10, characterized in that: In the first stage, the first compressed data output by different bus transmission modules in the first set are serially transmitted on the first transmission line group; In the third stage, the first compressed data output by different bus transmission modules in the first set are serially transmitted on the second transmission line group; In the second stage, the first compressed data output by different bus transmission modules in the second set are serially connected in series on the third transmission line group; In the fourth stage, the first compressed data output by different bus transmission modules in the second set are serially transmitted on the fourth transmission line group.

12. The memory according to claim 11, characterized in that: The signals on the first transmission line group and the second transmission line group in each of the transmission line groups constitute a second compressed signal; the signals on the third transmission line group and the fourth transmission line group in each of the transmission line groups constitute a second compressed signal.

13. The memory according to claim 1, characterized in that: The memory includes 8 storage groups, each of which includes 4 storage blocks; The data transmission module includes 4 bus transmission modules and 4 data terminal areas; Each of the bus transmission modules is connected to two of the storage groups.

14. The memory according to claim 6, characterized in that: The second compressed signal includes 8 second sub-signals, each of which has continuous serial 2-bit data; The third compressed signal includes 8 third sub-signals, each of which has continuous serial 4-bit data; The fourth compressed signal includes four fourth sub-signals, each of which has continuous serial 8-bit data; The fifth compressed signal includes one fifth sub-signal, and each of the fifth sub-signals has continuous serial 32-bit data.

15. The memory according to claim 14, characterized in that: The pulse width of each bit of data in the second sub-signal, the third sub-signal and the fourth sub-signal is 2 clock cycles; The pulse width of each bit of serial data on the fifth sub-signal is half a clock cycle.

16. The memory according to claim 9, characterized in that: The pulse width of the address selection signal is 1 clock cycle.

17. A memory system, characterized in that: comprising a memory as claimed in any one of claims 1 to 16; and A controller is coupled to the memory and configured to control the memory.

18. A method for controlling a memory, characterized in that: The memory includes M storage groups, each of which includes at least two storage blocks; M is an even number greater than or equal to 4; a compression module and a data transmission module connected to the compression module; the data transmission module includes a plurality of bus transmission modules and a plurality of data terminal areas, and the bus transmission modules and the data terminal areas are connected through a transmission line group; each of the bus transmission modules is connected to N storage groups, and N is an even number greater than or equal to 2 and less than or equal to M; the method includes: The bus transmission module outputs the first data output by one of the storage blocks in the normal mode, or the compression module compresses the first data output by each of the storage blocks in the compression test mode to obtain the first compressed data; the bus transmission module performs parallel-to-serial conversion on the multiple first compressed data corresponding to the multiple storage blocks and outputs the second compressed signal; The transmission line group outputs the first data from the bus transmission module to the data terminal area in the normal mode, or the transmission line group outputs the second compressed signal from the bus transmission module to the data terminal area in the compression test mode.