Parallel testing methods, apparatus and equipment for DRAM on-chip ECC matrix
By determining the characteristic parity bits of each memory array cell in the DRAM chip and adjusting the delay control signal, the parallel testing of the ECC matrix was optimized, solving the problem of long ECC verification module time and realizing efficient parallel testing and low-power operation of DRAM chips.
Patent Information
- Application Number
- CN202611356606.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-03
- Publication Date
- 2026-11-10
AI Technical Summary
In existing technologies, the time interval between the start of the ECC verification matrix and the start of the sensitive amplifier during DRAM chip testing is greatly affected by transistor process, temperature and voltage, causing the ECC verification module to consume too much time, increasing data readout time and dynamic power consumption.
By determining the characteristic parity bits of each memory array unit and adjusting the delay control signal of the adjustable delay unit under different operating voltages and ambient temperatures, the parallel testing method of the ECC matrix is optimized to ensure that each memory array unit can work effectively under different conditions.
It improves the efficiency of parallel testing of ECC matrix, reduces the overall power consumption of DRAM chip, and realizes parallel output of memory array units without adding extra wiring, thus optimizing the read and write operation time of DRAM chip.
Smart Images

Figure CN123072471A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of memory technology and related technical fields, specifically to a parallel testing method, apparatus, and device for an on-chip ECC matrix of DRAM. Background Technology
[0002] ECC (Error Correction Code) is a mechanism used to detect and correct errors that occur during data transmission or storage. In DRAM, when data is written, the ECC module calculates a check value based on a specific mathematical algorithm (such as Hamming code) and stores it. When data is read, the ECC module recalculates the check value based on the read data and compares it with the stored check value. If the check value calculated based on the written data is inconsistent with the check value calculated based on the read data, the ECC module can automatically locate the faulty bit and correct it. During testing or actual use, if a single bit is damaged in the memory array, the ECC module can dynamically repair it when reading data, providing a very high tolerance for process defects and improving wafer yield.
[0003] However, in existing technologies, when testing DRAM chips, if the time interval between the start of the ECC check matrix and the start of the sensitive amplifier is Δt, in order to reduce the overall data readout time tAA of the DRAM chip, the time interval Δt between the start of the ECC check matrix and the start of the sensitive amplifier needs to be shortened as much as possible. However, since the time from the start of the XOR operation of the ECC matrix to the start of the amplification of the sensitive amplifier in different memory array units is greatly affected by transistor technology, temperature, and voltage, existing technologies do not consider the influence of the transistor fabrication process, ambient temperature, and transistor operating voltage of the check chain units corresponding to different memory array units on the time interval Δt. If all ECC check modules are set to a fixed delay duration, this will cause the ECC check modules to consume too much time and increase the data readout time tAA of the DRAM chip, thereby increasing the dynamic power consumption of the DRAM chip. Summary of the Invention
[0004] In view of this, the embodiments described herein provide a parallel testing method for an on-chip ECC matrix in DRAM, which improves the efficiency of determining the delay control signal corresponding to each memory array unit and reduces the overall power consumption of the DRAM chip.
[0005] Firstly, according to the present disclosure, a parallel testing method for an on-chip ECC matrix in DRAM is provided, applied to a DRAM chip including multiple memory array units. Each memory array unit is equipped with an ECC verification module. The ECC verification module includes at least a verification chain unit and an adjustable delay unit. The verification chain unit of each memory array unit generates verification values for multiple parity bits based on the ECC matrix. The logic paths corresponding to different parity bits have different logic depths, including: The characteristic check bits of each storage array unit are determined, wherein the characteristic check bits are the check bits with the largest logical depth in the ECC matrix of each storage array unit, and the characteristic check bits of different storage array units are different from each other. Acquire the first delayed control signal of each memory array unit under standard operating voltage and standard ambient temperature; Generate the first delay control signal to the adjustable delay unit corresponding to each memory array unit; The same test data is sequentially written to each storage array cell under different operating voltages and ambient temperatures. Based on the first check value of each storage array cell under different operating voltages and ambient temperatures obtained during the write phase and the second check value of each storage array cell under different operating voltages and ambient temperatures obtained during the read phase, the second delay control signal of each storage array cell under different voltage and temperature ranges is determined. The first check value and the second check value are the check values output by the characteristic check bits of each storage array cell.
[0006] In some embodiments of this disclosure, the step of sequentially writing the same test data to each storage array cell under different operating voltages and ambient temperatures, and determining the second delay control signal for each storage array cell under different voltage and temperature ranges based on the first verification value of each storage array cell obtained during the write phase under different operating voltages and ambient temperatures and the second verification value of each storage array cell obtained during the read phase under different operating voltages and ambient temperatures, includes: The same test data is written to each memory array cell in sequence under different operating voltages and ambient temperatures, and the first check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The second check value of the feature check bit of each storage array unit during the read phase is obtained under different operating voltages and ambient temperatures. When the first check value and the second check value of the feature check bit of each storage array unit are the same under the same operating voltage and ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each storage array unit is gradually reduced based on the first delay control signal until the second delay control signal of each storage array unit under different operating voltages and ambient temperatures is determined. Based on the second delay control signals of each memory array unit under different operating voltages and ambient temperatures, the second target delay control signal of each memory array unit under each voltage and temperature range is determined.
[0007] In some embodiments of this disclosure, when the first check value and the second check value of the feature check bit of each memory array cell are the same under the same operating voltage and ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the first delay control signal until the second delay control signal of each memory array cell under different operating voltages and ambient temperatures is determined, including: When the first check value and the second check value of the characteristic check bit of each memory array cell are the same under the same operating voltage and the same ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is reduced based on the first delay control signal. Write the same test data to each storage array cell again, and obtain the second check value of the feature check bit of each storage array cell during the read phase; When the second check value of the characteristic check bit of a target storage array cell is different from the first check value under the same operating voltage and ambient temperature, the second delay control signal corresponding to the target storage array cell is determined to be the first delay control signal, and the same test data is written to each storage array cell again until the second delay control signal of each storage array cell under different operating voltage and ambient temperature is determined.
[0008] In some embodiments of this disclosure, determining the second target delay control signal for each memory array cell in each voltage and temperature range based on the second delay control signal for each memory array cell under different operating voltages and ambient temperatures includes: Based on the voltage and temperature range division method, determine the second delay control signal corresponding to each storage array unit in the same voltage and temperature range; The delay control signal with the largest delay margin among the second delay control signals located in the same voltage range and the same temperature range is selected as the second target delay control signal for each memory array unit in the same voltage range and the same temperature range.
[0009] In some embodiments of this disclosure, obtaining the first delay control signal for each memory array cell at standard operating voltage and standard ambient temperature includes: Initial delay control signals are generated at standard operating voltage and standard ambient temperature and sent to the adjustable delay units corresponding to each memory array unit. The same test data is written to each memory array cell under standard operating voltage and standard ambient temperature, and the third check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The check value generated by each memory array cell during the write phase is determined based on the ECC matrix of the check chain cell. The fourth check value of the feature check bit of each memory array cell during the read phase is obtained in parallel through the global test bus under standard operating voltage and standard ambient temperature. When the third check value and the fourth check value of the feature check bit of each memory array cell are the same, the initial delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the initial delay control signal, until the first delay control signal corresponding to each memory array cell under standard operating voltage and standard ambient temperature is determined.
[0010] In some embodiments of this disclosure, determining the characteristic parity bit of each memory array cell includes: The order of multiple parity chains in each storage array unit is cyclically shifted and adjusted so that parity chains located at the same output position in each storage array unit output parity values for different parity bits. Based on the correspondence between each parity chain and parity bit in each storage array unit, the characteristic parity bit of each storage array unit is determined.
[0011] In some embodiments of this disclosure, before determining the characteristic parity bit of each memory array cell, the method further includes: Obtain the ECC matrix corresponding to the verification chain unit, wherein the number of rows in the ECC matrix is equal to the number of parity bits, and the number of columns in the ECC matrix is equal to the number of data bits written or read. Obtain the number of values in each row of the ECC matrix that are the target values, and determine the logical depth of the logical path corresponding to each check bit based on the target data.
[0012] In some embodiments of this disclosure, the method further includes: In serial test mode, the actual operating voltage and actual ambient temperature of each memory array unit are obtained, and the target voltage range and target temperature range of each memory array unit are determined. The second target delay control signal corresponding to the target voltage range and target temperature range of each storage array unit is obtained, and the second target delay control signal corresponding to each storage array unit is sent to the adjustable delay unit corresponding to each storage array unit.
[0013] Secondly, according to this disclosure, a parallel testing device for an on-chip ECC matrix of a DRAM is applied to a DRAM chip including multiple memory array units. Each memory array unit is provided with an ECC verification module. The ECC verification module includes at least a verification chain unit and an adjustable delay unit. The verification chain unit of each memory array unit generates verification values for multiple verification bits based on the ECC matrix. The logic paths corresponding to different verification bits have different logic depths, including: The feature check bit determination module is used to determine the feature check bit of each storage array unit, wherein the feature check bit is the check bit with the largest logical depth in the ECC matrix of each storage array unit, and the feature check bits of different storage array units are different from each other. The first delay control signal acquisition module is used to acquire the first delay control signal of each memory array unit under standard operating voltage and standard ambient temperature. The first delay control signal generation module is used to generate a first delay control signal to the adjustable delay unit corresponding to each memory array unit. The second delay control signal determination module is used to sequentially write the same test data to each storage array unit under different operating voltages and ambient temperatures, and determine the second delay control signal of each storage array unit under different voltage and temperature ranges based on the first check value of each storage array unit under different operating voltages and ambient temperatures obtained during the write phase and the second check value of each storage array unit under different operating voltages and ambient temperatures obtained during the read phase. The first check value and the second check value are the check values output by the characteristic check bits of each storage array unit.
[0014] Thirdly, according to this disclosure, a computer device is provided, comprising: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any of the first aspects.
[0015] Fourthly, according to this disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the methods described in any of the first aspects.
[0016] The parallel testing method for the on-chip ECC matrix of DRAM provided in this disclosure first determines the characteristic parity bit of each memory array cell; then, it acquires the first delay control signal of each memory array cell under standard operating voltage and standard ambient temperature, and generates the first delay control signal to the adjustable delay unit corresponding to each memory array cell; finally, it sequentially writes the same test data to each memory array cell under different operating voltages and ambient temperatures, and determines the second delay control signal of each memory array cell under different voltage and temperature ranges based on the first parity value of each memory array cell acquired during the write phase under different operating voltages and ambient temperatures and the second parity value of each memory array cell acquired during the read phase under different operating voltages and ambient temperatures. During the testing phase, leveraging the inherent physical characteristic of inconsistent logic depths of different parity bits, a unique parity bit is assigned to each memory array cell—that is, the parity bit with the largest logic depth in each memory array cell. This allows for the parallel output of the parity values of multiple memory array cells' parity bits without adding extra wiring. Furthermore, based on the first parity value of the parity bit during the write phase and the second parity value during the read phase, the second target delay control signal corresponding to each memory array cell under different voltage and temperature ranges is determined, improving the efficiency of determining the delay control signal for each memory array cell. In addition, the determined delay control signal for each memory array cell ensures the normal operation of the DRAM chip without wasting the time margin of DRAM chip read and write operations, thus reducing the overall power consumption of the DRAM chip.
[0017] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description
[0018] To more clearly illustrate the technical solutions of the embodiments of this disclosure, the accompanying drawings of the embodiments will be briefly described below. It should be understood that the drawings described below only relate to some embodiments of this disclosure and are not intended to limit this disclosure, wherein: Figure 1 This is a flowchart illustrating a parallel testing method for an on-chip ECC matrix of DRAM provided in an embodiment of this disclosure; Figure 2 This is a schematic diagram of the structure of a parallel testing device for an on-chip ECC matrix of a DRAM provided in an embodiment of this disclosure; Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this disclosure.
[0019] In the accompanying diagram, markers with the same last two digits correspond to the same elements. It should be noted that the elements in the diagram are schematic and not drawn to scale. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this disclosure. All other embodiments obtained by those skilled in the art based on the described embodiments of this disclosure without creative effort are also within the scope of protection of this disclosure.
[0021] Unless otherwise defined, all terms used herein (including technical and scientific terms) shall have the same meaning as commonly understood by one of ordinary skill in the art to which this subject matter pertains. It will be further understood that terms such as those defined in commonly used dictionaries shall be interpreted as having the meaning consistent with their meaning in the context of the specification and in the relevant art, and shall not be interpreted in an idealized or overly formal form unless otherwise explicitly defined herein. As used herein, the statement of “connecting” or “coupling” two or more parts together shall mean that these parts are directly joined together or joined through one or more intermediate components.
[0022] The term "embodiment" as used herein means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of the phrase "embodiment" in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0023] In this article, the terms "or" or "or" are merely a way of describing the relationship between related objects, indicating that there can be three kinds of relationships. For example, A or B can mean that only A exists, both A and B exist, or only B exists.
[0024] Furthermore, in all embodiments of this disclosure, terms such as “first” and “second” are used only to distinguish one component (or part of a component) from another component (or another part of a component).
[0025] In the description of this application, unless otherwise stated, "multiple" means two or more (including two), and similarly, "multiple groups" means two or more (including two groups).
[0026] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0027] To address the problems existing in the prior art, this disclosure provides a parallel testing method for an on-chip ECC matrix in DRAM. This method is applied to a DRAM chip comprising multiple memory array units. Each memory array unit is equipped with an ECC verification module, which includes at least a verification chain unit and an adjustable delay unit. The verification chain unit of each memory array unit generates verification values for multiple parity bits based on the ECC matrix. Different parity bits correspond to logic paths with different logic depths. Figure 1 This is a flowchart illustrating a parallel testing method for an on-chip ECC matrix of DRAM provided in this disclosure. Figure 1 As shown, the parallel testing method for the on-chip ECC matrix of DRAM includes: S110. Determine the characteristic parity bits of each storage array unit.
[0028] Among them, the feature check bit is the check bit with the largest logical depth in the ECC matrix of the storage array unit, and the feature check bits of different storage array units are different.
[0029] In a specific implementation, determining the characteristic parity bit of each storage array unit includes: cyclically shifting and adjusting the arrangement order of multiple parity chains in each storage array unit so that parity chains located at the same output position in each storage array unit output parity values of different parity bits; and determining the characteristic parity bit of each storage array unit based on the correspondence between each parity chain and parity bit in each storage array unit.
[0030] Specifically, within each storage array unit, the order of multiple parity chains is first cyclically shifted and adjusted. After the cyclic shift adjustment, the parity chains located at the same output position in each storage array unit correspond to different parity bits. Therefore, the parity value corresponding to the parity chain with the largest logic depth in each storage array unit is output through different parity bits.
[0031] Specifically, the ECC matrix is a mathematical model existing in design documents or EDA tools. For LPDDR4 DRAM chips, it is an 8-row × 128-column binary matrix (containing only 0s and 1s). It defines a mapping rule, that is, which data bits participate in the XOR operation of which parity bit. For example, for LPDDR4 DRAM chips, the ECC matrix H (8 rows × 128 columns) corresponding to the ECC verification module is calculated by counting the number of "1" values in each row of the ECC matrix. The number of "1" values in that row is the number of NMOS transmission gates connected in series on the logic path corresponding to that parity bit, which is the logic depth. Taking a typical ECC matrix as an example: the first and second parity bits are each obtained by participating in the verification operation with 54 bits of data (maximum logic depth), the third and fourth parity bits are each obtained by participating in the verification operation with 51 bits of data, the seventh parity bit is obtained by participating in the verification operation with 50 bits of data, the fifth and sixth parity bits are each obtained by participating in the verification operation with 49 bits of data, and the eighth parity bit is obtained by participating in the verification operation with 47 bits of data (minimum logic depth). The number of NMOS transmission gates connected in series on the logic path corresponding to each parity bit is positively correlated with the parasitic resistance and capacitance on the logic path. That is, the more NMOS transmission gates connected in series on the logic path, the larger the parasitic resistance and capacitance on the logic path, and the slower the change of the output differential voltage of the parity chain corresponding to the logic path will be compared with the change of the output differential voltage of the parity chain corresponding to other logic paths.
[0032] Based on the above analysis, since the logic depths of the parity chains in the same storage array unit are different, when the adjustable delay unit provides the same delay control signal to different parity chains in the same storage array unit, the parity value generated by the parity chain with the deepest logic depth in the parity chain unit corresponding to the same storage array unit will definitely be the first to be wrong. Therefore, the parity bit with the largest logic depth in the parity chain unit corresponding to each storage array unit (such as the first parity bit or the second parity bit) is selected as the characteristic parity bit of each storage array unit.
[0033] Furthermore, since the ECC matrix corresponding to each memory array unit is consistent, meaning that all memory array units follow the same verification rules, the deepest verification chain (i.e., the feature check bit) in each memory array unit is consistent. By adjusting the arrangement order of multiple verification chains in each memory array unit, the verification value of the feature check bit in each memory array unit is output based on different verification chains, laying the foundation for subsequent parallel testing of the memory array units included in the DRAM chip.
[0034] For a specific example, when the DRAM chip type is LPDDR4, containing 8 memory array units, namely BANK0~BANK7, the parity value output by the parity chain unit corresponding to each memory array unit includes 8 parity bits, and the parity chain corresponding to each parity bit is S0~S7. By adjusting the order of the parity chains of the parity chain units in each memory array unit, the parity chain order of the first memory array unit BANK0 is: S0, S1, S2, S3, S4, S5, S6 and S7; the parity chain order of the second memory array unit BANK1 is: S7, S0, S1, S2, S3, S4, S5 and S6; and the parity chain order of the third memory array unit BANK2 is: S6, S7, S8, S9, S1, S1, S2, S3, S4, S5 and S6. The check chain order for the fourth storage array unit BANK3 is: S5, S6, S7, S0, S1, S2, S3, and S4; the check chain order for the fifth storage array unit BANK4 is: S4, S5, S6, S7, S0, S1, S2, and S3; the check chain order for the sixth storage array unit BANK5 is: S3, S4, S5, S6, S7, S0, S1, and S2; the check chain order for the seventh storage array unit BANK6 is: S2, S3, S4, S5, S6, S7, S0, and S1; and the check chain order for the eighth storage array unit BANK7 is: S1, S2, S3, S4, S5, S6, S7, and S0.
[0035] After cyclically shifting and adjusting the arrangement order of multiple parity chains in each storage array unit, the parity value of the feature parity bit of the first storage array unit BANK0 is output based on the first parity chain, the parity value of the feature parity bit of the second storage array unit BANK1 is output based on the second parity chain, the parity value of the feature parity bit of the third storage array unit BANK2 is output based on the third parity chain, the parity value of the feature parity bit of the fourth storage array unit BANK3 is output based on the fourth parity chain, the parity value of the feature parity bit of the fifth storage array unit BANK4 is output based on the fifth parity chain, the parity value of the feature parity bit of the sixth storage array unit BANK5 is output based on the sixth parity chain, the parity value of the feature parity bit of the seventh storage array unit BANK6 is output based on the seventh parity chain, and the parity value of the feature parity bit of the eighth storage array unit BANK7 is output based on the eighth parity chain. This ensures that during parallel testing, the parity value of the feature parity bit of each storage array unit is output through different parity chains.
[0036] At this point, the output of the first verification chain of the first memory array unit is electrically connected to the first input of the built-in test module in the logic control circuit of the DRAM chip; the output of the second verification chain of the second memory array unit is electrically connected to the second input of the built-in test module in the logic control circuit of the DRAM chip; the output of the third verification chain of the third memory array unit is electrically connected to the third input of the built-in test module in the logic control circuit of the DRAM chip; the output of the fourth verification chain of the fourth memory array unit is electrically connected to the fourth input of the built-in test module in the logic control circuit of the DRAM chip; the output of the fifth verification chain of the fifth memory array unit is electrically connected to the fifth input of the built-in test module in the logic control circuit of the DRAM chip; and the sixth memory array unit... The output of the sixth verification chain of the unit is electrically connected to the sixth input of the built-in test module in the logic control circuit of the DRAM chip. The output of the seventh verification chain of the seventh memory array unit is electrically connected to the seventh input of the built-in test module in the logic control circuit of the DRAM chip. The output of the eighth verification chain of the eighth memory array unit is electrically connected to the eighth input of the built-in test module in the logic control circuit of the DRAM chip. That is, in the process of the verification value of the feature verification bit output by each memory array unit to the built-in test module, one test bus in the global test bus is used respectively. In parallel test mode, the verification value of the feature verification bit of each memory array unit is simultaneously output to the built-in test module through the global test bus, so as to realize the test of each memory array unit in parallel test mode.
[0037] Furthermore, in the array-type crosspoint structure, each parity chain (S0~S7) is an independent physical module on the layout. Each parity chain is composed of a set of NMOS transmission gates connected in series, with independent input and output ports. Swapping the physical placement of two parity chains only involves adjusting the layout and does not change the connection relationship or logic function of any transistors. Therefore, the cyclic shift operation does not increase any design difficulty or area overhead.
[0038] S120: Obtain the first delay control signal for each memory array unit at standard operating voltage and standard ambient temperature.
[0039] In a specific implementation, obtaining the first delay control signal for each storage array unit under standard operating voltage and standard ambient temperature includes: generating an initial delay control signal to the adjustable delay unit corresponding to each storage array unit under standard operating voltage and standard ambient temperature; writing the same test data to each storage array unit under standard operating voltage and standard ambient temperature, and obtaining the third check value of the feature check bit generated by each storage array unit during the write phase in parallel through a global test bus, wherein the check value generated by each storage array unit during the write phase is determined based on the ECC matrix of the check chain unit; obtaining the fourth check value of the feature check bit of each storage array unit during the read phase in parallel through a global test bus, and when the third check value and the fourth check value of the feature check bit of each storage array unit are the same, gradually reducing the initial delay control signal generated to the adjustable delay unit corresponding to each storage array unit based on the initial delay control signal, until the first delay control signal corresponding to each storage array unit under standard operating voltage and standard ambient temperature is determined.
[0040] In this implementation step, the initial delay control signal is first generated at standard operating voltage and standard ambient temperature and sent to the adjustable delay unit corresponding to each memory array unit.
[0041] The standard operating voltage is 1.2V and the standard ambient temperature is 25℃.
[0042] Specifically, in the DRAM chip provided in this embodiment, the ECC verification module corresponding to each storage array unit includes not only a verification chain unit and an adjustable delay unit, but also an amplifier unit. The amplifier unit includes a sensitive amplifier, and the verification value generated by the verification chain unit is sent to the amplifier unit after being delayed by the adjustable delay unit.
[0043] Specifically, in the on-chip ECC matrix parallel testing method provided in this embodiment, the ECC matrix is an array-type crosspoint structure, characterized by 128 horizontal metal lines (D0). D127), carrying two polarity signals (positive (T) and negative (B) for 128 bits of data (written or read), respectively. Each horizontal data line runs through the entire ECC matrix and connects to all the intersections corresponding to that column of the parity check matrix. Eight vertical metal lines (S0) S7), each corresponding to an 8-bit check code, has a vertical check line running through the entire ECC matrix, connecting to all the crosspoints corresponding to that check bit row, and ending at the differential input of the sensitive amplifier. At the crosspoints in the ECC matrix where the data bit is "1" (i.e., the data bit participates in the XOR operation of the check bit), an NMOS transmission gate is placed. The source of this NMOS transistor is connected to the vertical check line, and its drain is connected to the source of the next stage transmission gate (forming a series chain). The gate is controlled by the signal from the horizontal data line. Specifically, the positive (T) and negative (B) signals of the data bit are connected to the gates of two adjacent NMOS transistors to achieve differential control. When the data bit is "1" (T is high, B is low), the corresponding NMOS transistor is turned on, and the signal passes through; when the data bit is "0" (T is low, B is high), the corresponding NMOS transistor is turned off, and the signal is blocked. At the crosspoints in the ECC matrix where the data bit is "0", no device is placed, and the vertical check line skips this crosspoint.
[0044] Once the 128-bit data (written or read) stabilizes, the ECC matrix begins performing an XOR operation. This process is not a full-swing transient transition like in traditional digital logic, but rather an analog-domain RC charging and discharging process. Specifically, each vertical check line (corresponding to one check bit) and its series-connected NMOS transmission gates together form an RC network. The resistance R is the on-resistance Ron of each conducting NMOS transmission gate. The more data bits involved in this check operation (i.e., the greater the logic depth), the more series-connected transmission gates there are, and the greater the parasitic resistance. The capacitance C is the parasitic capacitance to ground formed by the drain / source junction capacitance of each transmission gate, the parasitic capacitance between the gate and the channel, and the coupling capacitance between metal traces. The more series-connected transmission gates there are, the greater the parasitic capacitance, which means the more series-connected NMOS transmission gates there are, the greater the time constant τ = R × C.
[0045] For an ECC matrix, before startup, the eight longitudinal verification lines are pre-charged to the same intermediate potential (or pre-charged to VDD / 2 according to the design). At this time, the potential of the non-inverting output terminal (T terminal) and the inverting output terminal (B terminal) of each verification line is the same, and the differential voltage is... =VT VB=0. Once the input data stabilizes and drives the horizontal data lines, the NMOS transmission gates at each intersection are turned on or off based on the data bit value (0 or 1). The vertical check line begins charging and discharging the parasitic capacitance through the turned-on transmission gates, and the potentials at terminals T and B begin to change with opposite polarities. Specifically, when the XOR result of each delay chain is "1", the voltage at terminal T gradually increases, and the voltage at terminal B gradually decreases; when the XOR result is "0", the voltage at terminal T gradually decreases, and the voltage at terminal B gradually increases. At this time, the differential voltage ΔV(t) rises exponentially from 0.
[0046] in, The full-swing voltage difference at the final steady state (typically VDD) VSS), This is the RC time constant of the verification chain, i.e., the differential voltage. (t) Climb rate and time constant related, The larger it is, the slower it climbs. The smaller the size, the faster the ascent.
[0047] Since the output of the verification chain unit is electrically connected to the input of the sense amplifier, the sense amplifier judges the polarity of the verification value output by the verification chain unit and amplifies the output. The sense amplifier (SA) is a positive feedback latch whose function is to amplify a small differential voltage into a full-swing digital logic level. The sense amplifier has a sense threshold. —That is, the minimum value that the differential voltage at the input terminal must reach to ensure that the sensitive amplifier can correctly determine the input polarity and complete the amplification. Specifically, when the differential voltage... When the positive feedback gain of the sensitive amplifier is insufficient to overcome input offset and noise, it may lead to false amplification, that is, the output level is opposite to the actual logic level, resulting in a check code error.
[0048] Based on the working principle of the sensitive amplifier, the time interval from the start of the ECC matrix (stable input data, charging and discharging of the vertical calibration line) to the activation of the sensitive amplifier is defined as Δt. To ensure correct amplification by the sensitive amplifier, Δt must satisfy the following: ) Right now It must be long enough to guarantee the differential voltage. This ensures that the checksum output by the sensitive amplifier is the correct value. If a time interval is set... If the time interval is too long, the sensitive amplifier can receive a sufficient voltage difference to achieve accurate and fast amplification, but the data writing and reading of the DRAM chip will be prolonged. The internal timing of the DRAM chip is very tight, especially for read and write operations. If the voltage difference is too short, the sensitive amplifier may incorrectly amplify the calculation result due to insufficient voltage difference, resulting in errors in the ECC checksum of the write operation or the ECC checksum of the read operation, ultimately making it impossible to correct the error or correct the normal data.
[0049] However, because the time from the start of the XOR operation in the ECC matrix to the start of amplification by the sensitive amplifier is greatly affected by the transistor process, the time intervals corresponding to different memory array cells vary. Since the requirements are inconsistent, in order to determine the time interval corresponding to each storage array unit, that is, the delay control signal acting on the adjustable delay unit corresponding to each storage array unit, it is first necessary to generate an initial delay control signal to the adjustable delay unit corresponding to each storage array unit under standard operating voltage and standard ambient temperature. Then, the first delay control signal corresponding to each storage array unit under standard operating voltage and standard ambient temperature is determined by the third check value of the feature check bit in the write stage and the fourth check value of the feature check bit in the read stage of each storage array unit. The initial delay control signal is the most relaxed time domain.
[0050] Specifically, the adjustable delay unit is provided with an enable signal input terminal and an enable signal output terminal. The enable signal input terminal receives the initial start pulse of the sensitive amplifier generated by the logic control signal, and the enable signal output terminal is used to output the delayed target start pulse of the sensitive amplifier to the enable terminal of the sensitive amplifier. The number of logic gate stages between the enable signal input terminal and the enable signal output terminal determines the time interval during which the initial start pulse of the sensitive amplifier is delayed. .
[0051] In a specific example, when the delay control signal is 111, the enable signal input and output of the adjustable delay unit are delayed by a total of 14 logic gates; when the delay control signal is 110, the enable signal input and output of the adjustable delay unit are delayed by a total of 12 logic gates; when the delay control signal is 101, the enable signal input and output of the adjustable delay unit are delayed by a total of 10 logic gates; and when the delay control signal is 100, the enable signal input and output of the adjustable delay unit are delayed by a total of 8 logic gates. With a delay of 6 logic gates, the enable signal input and output of the adjustable delay unit are delayed by a total of 6 logic gates when the delay control signal is 011, 4 logic gates when the delay control signal is 010, 2 logic gates when the delay control signal is 001, and 0 logic gates when the delay control signal is 000.
[0052] Based on the above analysis, it can be seen that the initial delay control signal of the adjustable delay unit acting on each memory array unit under standard operating voltage and standard ambient temperature is 111.
[0053] In this implementation step, the same test data is then written to each memory array cell under standard operating voltage and standard ambient temperature, and the third check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus.
[0054] The check value generated by each storage array unit during the write phase is determined based on the ECC matrix of the check chain unit.
[0055] In this step, the same test data is written to each storage array cell under standard operating voltage and standard ambient temperature. Based on the test data written to each storage array cell, the ECC matrix calculates the 8-bit check value corresponding to each storage array cell, and obtains the third check value of the feature check bit corresponding to each storage array cell through the test bus.
[0056] In the DRAM chip, the bit width of the global test bus is equal to the number of memory array units included in the DRAM chip. Each memory array unit occupies one bit in the global test bus and is used to output the check value of the feature check bit of the memory array unit.
[0057] In conjunction with step S110, by cyclically shifting and adjusting the arrangement order of multiple check chains in each storage array unit, the check chains located at the same output position in each storage array unit output check values of different check bits, thereby realizing the simultaneous output of the check values of the characteristic check bits of each storage array unit under standard operating voltage and standard ambient temperature based on the global test bus in parallel test mode.
[0058] In this implementation step, the fourth check value of the feature check bit of each memory array cell during the read phase is finally obtained in parallel through the global test bus under standard operating voltage and standard ambient temperature. When the third check value and the fourth check value of the feature check bit of each memory array cell are the same, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the initial delay control signal until the first delay control signal corresponding to each memory array cell under standard operating voltage and standard ambient temperature is determined.
[0059] In a specific implementation, when the third and fourth check values of the feature check bits of each storage array unit are the same, the delay control signal generated to the adjustable delay unit corresponding to each storage array unit is gradually reduced based on the initial delay control signal until the first delay control signal corresponding to each storage array unit under standard operating voltage and standard ambient temperature is determined. This includes: when the third and fourth check values of the feature check bits of each storage array unit are the same, the delay control signal generated to the adjustable delay unit corresponding to each storage array unit is reduced based on the initial delay control signal to obtain the first initial delay control signal; the same test data is written to each storage array unit again, and the fourth check value of the feature check bits of each storage array unit during the read phase is obtained; when the fourth check value of the feature check bit of a target storage array unit is different from the third check value, the first delay control signal corresponding to the target storage array unit under standard operating voltage and standard ambient temperature is determined as the initial delay control signal, and the same test data is written to each storage array unit again until the first delay control signal corresponding to each storage array unit under standard operating voltage and standard ambient temperature is determined.
[0060] Under standard operating voltage and ambient temperature, the third check value of the feature check bit generated by each memory array cell during the write phase is obtained. The fourth check value of the feature check bit generated by each memory array cell during the read phase is obtained in parallel via the global test bus. The third check value of the feature check bit generated during the write phase is compared with the fourth check value generated during the read phase. When the third and fourth check values are the same, it indicates that the time interval delayed based on the initial delay control signal ensures that the sensitive amplifier obtains a sufficient voltage difference to correctly amplify the calculation result. At this point, by reducing the delay control signal acting on the adjustable delay unit of each memory array cell, for example, if the initial delay control signal... If the number is 111, then the first initial delay control signal is 110. At this time, the same test data is written to each memory array cell again, and the fourth check value of the feature check bit determined by each memory array cell during the read phase under the action of the first initial delay control signal is obtained. If the fourth check value of the feature check bit of the first memory array cell is different from the third check value, and the fourth check value of the feature check bit of other memory array cells is the same as the third check value, then the time interval delayed based on the first initial delay control signal is sufficient to ensure that the sensitive amplifiers corresponding to the second to eighth memory array cells obtain a sufficient voltage difference to correctly amplify the calculation results. The second memory array cell... The sensitive amplifier corresponding to the storage array unit did not receive a sufficient voltage difference to correctly amplify the calculation result. Therefore, the first delay control signal corresponding to the first storage array unit under standard operating voltage and standard ambient temperature was determined to be 111. Based on the above steps, the delay control signal acting on the adjustable delay unit of each storage array unit was further reduced, i.e., the second initial delay control signal. For example, if the initial delay control signal was 111 and the first initial delay control signal was 110, then the second initial delay control signal was 101. At this time, the same test data was written to each storage array unit again, and the delay control signal of each storage array unit under the second initial delay control signal was obtained. The fourth check value of the feature check bit determined in the read stage under the action of the control signal is used. By comparing the third check value of the feature check bit of the other memory array cells (excluding the first memory array cell) in the write stage with the fourth check value of the feature check bit in the read stage, it is determined whether the time interval delayed by the other memory array cells (excluding the first memory array cell) under the action of the second initial delay control signal can ensure that the sensitive amplifiers corresponding to the second to eighth memory array cells obtain sufficient voltage difference to correctly amplify the operation results. Then, the first delay control signal corresponding to the second to eighth memory array cells under standard operating voltage and standard ambient temperature is determined.
[0061] S130, Generate a first delay control signal to the adjustable delay unit corresponding to each memory array unit.
[0062] After determining the first delay control signal for each memory array unit under standard operating voltage and standard ambient temperature in step S120, the first delay control signal is generated to each memory array unit. This lays the foundation for determining the margin of the delay control signal that needs to be adjusted under different operating voltages and ambient temperatures, based on the first delay control signal of each memory array unit under standard operating voltage and standard ambient temperature.
[0063] S140. Write the same test data to each storage array unit in sequence under different operating voltages and ambient temperatures, and determine the second delay control signal of each storage array unit under different voltage and temperature ranges based on the first verification value of each storage array unit under different operating voltages and ambient temperatures obtained during the write phase and the second verification value of each storage array unit under different operating voltages and ambient temperatures obtained during the read phase.
[0064] Among them, the first check value and the second check value are the check values output by the characteristic check bits of each storage array unit.
[0065] Since step S120 only determines the first delay control signal of each storage array unit under standard operating voltage and standard ambient temperature, in actual testing, the ambient temperature of each storage array unit and the operating voltage of each storage array unit during the working phase are changed in real time. The time from the start of XOR operation of the ECC matrix to the start of amplification by the sensitive amplifier is also affected by the ambient temperature of each storage array unit and the operating voltage of each storage array unit during the working phase. Therefore, in the testing phase, it is necessary to determine the second delay control signal of each storage array unit under different voltage and temperature ranges.
[0066] Specifically, it is known that step S120 has determined the first delay control signal for each storage array unit at standard operating voltage and standard ambient temperature. The operating voltage and ambient temperature of the storage array unit are divided into ranges. For example, the operating voltage is divided into the following three voltage ranges: 1.08V-1.16V, 1.17V-1.24V and 1.25V-1.32V, and the ambient temperature is divided into the following three temperature ranges: -40℃-10℃, 11℃-70℃ and 71℃-120℃.
[0067] Since the standard operating voltage is 1.2V and the standard ambient temperature is 25°C, under normal circumstances, each storage array unit operates at the standard operating voltage and ambient temperature. Therefore, based on step S120, the first delay control signal corresponding to each storage array unit at the standard operating voltage and ambient temperature can be determined. However, in this scheme, based on determining the first delay control signal corresponding to each storage array unit at the standard ambient temperature and standard operating voltage, the influence of operating voltage and ambient temperature on the first delay control signal of each storage array unit is further considered. By determining the delay control signal of each storage array unit under different operating voltages and ambient temperatures, the data readout time of each storage array unit can be further improved in the subsequent seriality test stage.
[0068] In a specific implementation, the same test data is sequentially written to each storage array unit under different operating voltages and ambient temperatures. Based on the first check value of each storage array unit obtained during the write phase under different operating voltages and ambient temperatures, and the second check value of each storage array unit obtained during the read phase under different operating voltages and ambient temperatures, a second delay control signal for each storage array unit under different voltage and temperature ranges is determined. This includes: sequentially writing the same test data to each storage array unit under different operating voltages and ambient temperatures, and obtaining the first check value of the feature check bit generated by each storage array unit during the write phase in parallel through a global test bus; obtaining the second check value of the feature check bit of each storage array unit during the read phase under different operating voltages and ambient temperatures; when the first check value and the second check value of the feature check bit of each storage array unit are the same under the same operating voltage and ambient temperature, based on the first delay control signal, gradually reducing the delay control signal generated to the adjustable delay unit corresponding to each storage array unit until the second delay control signal of each storage array unit under different operating voltages and ambient temperatures is determined; and determining the third delay control signal of each storage array unit under different voltage and temperature ranges based on the second delay control signal of each storage array unit under different operating voltages and ambient temperatures.
[0069] Before implementing step S140, it is necessary to generate a first delay control signal for each storage array unit under standard operating voltage and standard ambient temperature and send it to the adjustable delay unit corresponding to each storage array unit. Therefore, the second delay control signal for each storage array unit under different operating voltage and ambient temperature is adjusted based on the first delay control signal, which further improves the efficiency of determining the second delay control signal for each storage array unit under different operating voltage and ambient temperature.
[0070] It should be noted that, in this implementation process, the process of determining the second delay control signal of each memory array unit under different operating voltages and ambient temperatures is the same as the specific process of determining the first delay control signal of each memory array unit under standard operating voltages and standard ambient temperatures. This disclosure embodiment will not describe this in detail. The following will specifically explain how to determine the second target delay control signal corresponding to the same voltage range and temperature range.
[0071] Specifically, firstly, the operating voltage of each storage array unit is adjusted according to a preset voltage adjustment step size based on the standard operating voltage, and the ambient temperature of each storage array unit is adjusted according to a preset temperature adjustment step size based on the standard ambient temperature. The second delay control signal at each operating voltage and ambient temperature is recorded. If the second delay control signals at different operating voltages and different ambient temperatures within the same voltage and temperature range are different, the second delay control signal with the largest delay margin within the same voltage and temperature range is selected as the second target delay control signal for that voltage and temperature range.
[0072] For a specific example, the operating voltages in the voltage range of 1.08V-1.16V include V1, V2, and V3, and the ambient temperatures in the temperature range of -40℃ to 10℃ include T1, T2, and T3. In this case, there are 9 possible combinations of operating voltage and ambient temperature: V1 and T1, V1 and T2, V1 and T3, V2 and T1, V2 and T2, V2 and T3, V3 and T1, V3 and T2, and V3 and T3. Then, the second delay control signals corresponding to different combinations of operating voltage and ambient temperature are sequentially passed through. The second delay control signal with the largest delay margin is selected as the second target delay control signal for that voltage range and temperature range. This process is repeated to determine the second target delay control signal for each voltage range and temperature range.
[0073] By dividing the operating voltage and ambient temperature of each storage array unit into intervals, in the subsequent seriality test phase, it is only necessary to obtain the operating voltage and ambient temperature of each storage array unit, determine the target voltage interval of the operating voltage of each storage array unit and the target temperature interval of the ambient temperature, obtain the second target delay control signal corresponding to the target voltage interval and the target temperature interval, and output the second target delay control signal to each storage array unit, thereby improving the efficiency of data reading by each storage array unit.
[0074] The parallel testing method for the on-chip ECC matrix of DRAM provided in this embodiment is a test before the mass production of DRAM chips, and determines each memory array unit through parallel testing.
[0075] The parallel testing method for the on-chip ECC matrix of DRAM provided in this disclosure first determines the characteristic parity bit of each memory array cell; then, it acquires the first delay control signal of each memory array cell under standard operating voltage and standard ambient temperature, and generates the first delay control signal to the adjustable delay unit corresponding to each memory array cell; finally, it sequentially writes the same test data to each memory array cell under different operating voltages and ambient temperatures, and determines the second delay control signal of each memory array cell under different voltage and temperature ranges based on the first parity value of each memory array cell acquired during the write phase under different operating voltages and ambient temperatures and the second parity value of each memory array cell acquired during the read phase under different operating voltages and ambient temperatures. During the testing phase, leveraging the inherent physical characteristic of inconsistent logic depths of different parity bits, a unique parity bit is assigned to each memory array cell—that is, the parity bit with the largest logic depth in each memory array cell. This allows for the parallel output of the parity values of multiple memory array cells' parity bits without adding extra wiring. Furthermore, based on the first parity value of the parity bit during the write phase and the second parity value during the read phase, the second target delay control signal corresponding to each memory array cell under different voltage and temperature ranges is determined, improving the efficiency of determining the delay control signal for each memory array cell. In addition, the determined delay control signal for each memory array cell ensures the normal operation of the DRAM chip without wasting the time margin of DRAM chip read and write operations, thus reducing the overall power consumption of the DRAM chip.
[0076] Based on the above embodiments, the parallel testing method for on-chip ECC matrix of DRAM provided in this disclosure further includes: obtaining the ECC matrix corresponding to the parity chain unit, wherein the number of rows of the ECC matrix is equal to the number of parity bits, and the number of columns of the ECC matrix is equal to the number of data bits written or read; obtaining the number of target values in each row of the ECC matrix, and determining the logic depth of the logic path corresponding to each parity bit based on the target data.
[0077] Specifically, before executing step S110, the ECC matrix model stored in the logic control circuit of the DRAM chip is obtained. For LPDDR4 type DRAM chips, it is an 8-row × 128-column binary matrix (containing only 0 and 1). It defines a mapping rule, that is, which data bits participate in the XOR operation of which parity bit. For example, for LPDDR4 type DRAM chips, the ECC matrix H (8 rows × 128 columns) corresponding to the ECC verification module is obtained by counting the number of "1" values in each row of the ECC matrix. The number of "1" values in that row is the number of NMOS transmission gates connected in series on the logic path corresponding to that parity bit, which is the logic depth.
[0078] Furthermore, based on the above embodiments, the method provided in this disclosure further includes: in a serial test mode, acquiring the actual operating voltage and actual ambient temperature of each memory array unit, and determining the target voltage range and target temperature range of each memory array unit; acquiring the second target delay control signal corresponding to the target voltage range and target temperature range of each memory array unit, and sending the second target delay control signal corresponding to each memory array unit to the adjustable delay unit corresponding to each memory array unit.
[0079] The steps S110, S120, S130, and S140 included in the above embodiments enable the parallel output of the check values of the feature check bits of multiple memory array cells without adding additional wiring. Then, based on the first check value of the feature check bits of each memory array cell in the write phase and the second check value of the feature check bits in the read phase, the second target delay control signal corresponding to each memory array cell in different voltage and temperature ranges is determined, thereby improving the efficiency of determining the delay control signal corresponding to each memory array cell. In addition, the determined delay control signal corresponding to each memory array cell does not waste the time margin of DRAM chip read and write operations while ensuring the normal operation of the DRAM chip, thus reducing the overall power consumption of the DRAM chip.
[0080] The above process is determined during the testing phase of the DRAM chip. After determining the second target delay control signal corresponding to each memory array unit in different voltage and temperature ranges during the testing phase, the determined second target delay control signal corresponding to each memory array unit is programmed into the logic control circuit of the DRAM chip. In the serial operating mode of the DRAM chip, based on the actual operating voltage and actual ambient temperature of each memory array unit, the logic control circuit sends the second target delay control signal corresponding to the voltage range of the actual operating voltage and the temperature range of the actual ambient temperature of each memory array unit to the adjustable delay unit corresponding to each memory array unit. This ensures that in the serial operating mode, the adjustable delay unit of each memory array unit delays based on the corresponding second target delay control signal. The second target delay control signals corresponding to different memory array units are different, ensuring that each memory array unit operates with the most suitable time margin and reducing the overall power consumption of the DRAM chip.
[0081] Based on the above embodiments, this disclosure also provides a parallel testing device for an on-chip ECC matrix of a DRAM, applied to a DRAM chip including multiple memory array units. Each memory array unit is provided with an ECC verification module. The ECC verification module includes at least a verification chain unit and an adjustable delay unit. The verification chain unit of each memory array unit generates verification values for multiple parity bits based on the ECC matrix. The logic paths corresponding to different parity bits have different logic depths. Figure 2 This is a schematic diagram of the structure of a parallel testing device for an on-chip ECC matrix of a DRAM provided in an embodiment of this disclosure, as shown below. Figure 2 As shown, the parallel test setup for the DRAM on-chip ECC matrix includes: The feature check bit determination module 210 is used to determine the feature check bit of each storage array unit, wherein the feature check bit is the check bit with the largest logical depth in the ECC matrix of each storage array unit, and the feature check bits of different storage array units are different from each other. The first delay control signal acquisition module 220 is used to acquire the first delay control signal of each memory array unit under standard operating voltage and standard ambient temperature. The first delay control signal generation module 230 is used to generate a first delay control signal to the adjustable delay unit corresponding to each memory array unit. The second delay control signal determination module 240 is used to sequentially write the same test data to each storage array unit under different operating voltages and ambient temperatures, and determine the second delay control signal of each storage array unit under different voltage and temperature ranges based on the first verification value of each storage array unit under different operating voltages and ambient temperatures obtained during the write phase and the second verification value of each storage array unit under different operating voltages and ambient temperatures obtained during the read phase.
[0082] The parallel testing apparatus for the on-chip ECC matrix of DRAM provided in this embodiment first determines the characteristic parity bit of each memory array cell; then, it acquires the first delay control signal of each memory array cell under standard operating voltage and standard ambient temperature, and generates the first delay control signal to the adjustable delay unit corresponding to each memory array cell; finally, it sequentially writes the same test data to each memory array cell under different operating voltages and ambient temperatures, and determines the second delay control signal of each memory array cell under different voltage and temperature ranges based on the first parity value of each memory array cell acquired during the write phase under different operating voltages and ambient temperatures and the second parity value of each memory array cell acquired during the read phase under different operating voltages and ambient temperatures. During the testing phase, leveraging the inherent physical characteristic of inconsistent logic depths of different parity bits, a unique parity bit is assigned to each memory array cell—that is, the parity bit with the largest logic depth in each memory array cell. This allows for the parallel output of the parity values of multiple memory array cells' parity bits without adding extra wiring. Furthermore, based on the first parity value of the parity bit during the write phase and the second parity value during the read phase, the second target delay control signal corresponding to each memory array cell under different voltage and temperature ranges is determined, improving the efficiency of determining the delay control signal for each memory array cell. In addition, the determined delay control signal for each memory array cell ensures the normal operation of the DRAM chip without wasting the time margin of DRAM chip read and write operations, thus reducing the overall power consumption of the DRAM chip.
[0083] In some embodiments of this disclosure, the step of sequentially writing the same test data to each storage array cell under different operating voltages and ambient temperatures, and determining the second delay control signal for each storage array cell under different voltage and temperature ranges based on the first verification value of each storage array cell obtained during the write phase under different operating voltages and ambient temperatures and the second verification value of each storage array cell obtained during the read phase under different operating voltages and ambient temperatures, includes: The same test data is written to each memory array cell in sequence under different operating voltages and ambient temperatures, and the first check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The second check value of the feature check bit of each storage array unit during the read phase is obtained under different operating voltages and ambient temperatures. When the first check value and the second check value of the feature check bit of each storage array unit are the same under the same operating voltage and ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each storage array unit is gradually reduced based on the first delay control signal until the second delay control signal of each storage array unit under different operating voltages and ambient temperatures is determined. Based on the second delay control signals of each memory array unit under different operating voltages and ambient temperatures, the second target delay control signal of each memory array unit under each voltage and temperature range is determined.
[0084] In some embodiments of this disclosure, when the first check value and the second check value of the feature check bit of each memory array cell are the same under the same operating voltage and ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the first delay control signal until the second delay control signal of each memory array cell under different operating voltages and ambient temperatures is determined, including: When the first check value and the second check value of the characteristic check bit of each memory array cell are the same under the same operating voltage and the same ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is reduced based on the first delay control signal. Write the same test data to each storage array cell again, and obtain the second check value of the feature check bit of each storage array cell during the read phase; When the second check value of the characteristic check bit of a target storage array cell is different from the first check value under the same operating voltage and ambient temperature, the second delay control signal corresponding to the target storage array cell is determined to be the first delay control signal, and the same test data is written to each storage array cell again until the second delay control signal of each storage array cell under different operating voltage and ambient temperature is determined.
[0085] In some embodiments of this disclosure, determining the second target delay control signal for each memory array cell in each voltage and temperature range based on the second delay control signal for each memory array cell under different operating voltages and ambient temperatures includes: Based on the voltage and temperature range division method, determine the second delay control signal corresponding to each storage array unit in the same voltage and temperature range; The delay control signal with the largest delay margin among the second delay control signals located in the same voltage range and the same temperature range is selected as the second target delay control signal for each memory array unit in the same voltage range and the same temperature range.
[0086] In some embodiments of this disclosure, obtaining the first delay control signal for each memory array cell at standard operating voltage and standard ambient temperature includes: Initial delay control signals are generated at standard operating voltage and standard ambient temperature and sent to the adjustable delay units corresponding to each memory array unit. The same test data is written to each memory array cell under standard operating voltage and standard ambient temperature, and the third check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The check value generated by each memory array cell during the write phase is determined based on the ECC matrix of the check chain cell. The fourth check value of the feature check bit of each memory array cell during the read phase is obtained in parallel through the global test bus under standard operating voltage and standard ambient temperature. When the third check value and the fourth check value of the feature check bit of each memory array cell are the same, the initial delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the initial delay control signal, until the first delay control signal corresponding to each memory array cell under standard operating voltage and standard ambient temperature is determined.
[0087] In some embodiments of this disclosure, determining the characteristic parity bit of each memory array cell includes: The order of multiple parity chains in each storage array unit is cyclically shifted and adjusted so that parity chains located at the same output position in each storage array unit output parity values for different parity bits. Based on the correspondence between each parity chain and parity bit in each storage array unit, the characteristic parity bit of each storage array unit is determined.
[0088] In some embodiments of this disclosure, before determining the characteristic parity bit of each memory array cell, the method further includes: Obtain the ECC matrix corresponding to the verification chain unit, wherein the number of rows in the ECC matrix is equal to the number of parity bits, and the number of columns in the ECC matrix is equal to the number of data bits written or read. Obtain the number of values in each row of the ECC matrix that are the target values, and determine the logical depth of the logical path corresponding to each check bit based on the target data.
[0089] In some embodiments of this disclosure, the method further includes: In serial test mode, the actual operating voltage and actual ambient temperature of each memory array unit are obtained, and the target voltage range and target temperature range of each memory array unit are determined. The second target delay control signal corresponding to the target voltage range and target temperature range of each storage array unit is obtained, and the second target delay control signal corresponding to each storage array unit is sent to the adjustable delay unit corresponding to each storage array unit.
[0090] This application also provides a computer device, please refer to 3 for details. Figure 3 This is a basic structural block diagram of the computer device in this embodiment.
[0091] The computer device includes a memory 510 and a processor 520 that are interconnected via a system bus. It should be noted that only a computer device with components 510-520 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components may be implemented alternatively. Those skilled in the art will understand that the computer device described herein is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.
[0092] Computer devices can include desktop computers, laptops, handheld computers, and cloud servers. These devices allow for human-computer interaction with users through keyboards, mice, remote controls, touchpads, or voice-activated devices.
[0093] The memory 510 includes at least one type of readable storage medium, including non-volatile memory or volatile memory, such as flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. RAM may include static RAM or dynamic RAM. In some embodiments, the memory 510 may be an internal storage unit of a computer device, such as the hard disk or memory of the computer device. In other embodiments, the memory 510 may also be an external storage device of the computer device, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, or flash card equipped on the computer device. Of course, the memory 510 may include both internal storage units and external storage devices of the computer device. In this embodiment, the memory 510 is typically used to store the operating system and various application software installed on the computer device, such as the program code of the method described above. In addition, the memory 510 may also be used to temporarily store various types of data that have been output or will be output.
[0094] The processor 520 is typically used to perform the overall operation of a computer device. In this embodiment, the memory 510 is used to store program code or instructions, including computer operation instructions. The processor 520 is used to execute the program code or instructions stored in the memory 510 or to process data, such as program code that runs the methods described above.
[0095] In this article, the bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. This bus system can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0096] Another embodiment of this application also provides a computer-readable medium, which may be a computer-readable signal medium or a computer-readable medium. A processor in a computer reads computer-readable program code stored in the computer-readable medium, enabling the processor to execute the functional actions specified in each step or combination of steps in the above method; and to generate means for implementing the functional actions specified in each block or combination of blocks in the block diagram.
[0097] Computer-readable media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any suitable combination thereof, wherein the memory is used to store program code or instructions, the program code including computer operation instructions, and the processor is used to execute the program code or instructions of the above-described methods stored in the memory.
[0098] The definitions of memory and processor can be found in the description of the foregoing computer device embodiments, and will not be repeated here.
[0099] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0100] In the various embodiments of this application, the functional units or modules can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0101] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0102] Unless otherwise expressly indicated by the context, the singular form of words used herein and in the appended claims includes the plural form, and vice versa. Thus, when referring to the singular, the plural form of the corresponding term is generally included. Similarly, the terms “comprising” and “including” shall be interpreted as including rather than exclusively. Likewise, the terms “including” and “or” shall be interpreted as including unless such interpretation is expressly prohibited herein. Where the term “example” is used herein, particularly when it follows a set of terms, the “example” is merely exemplary and illustrative and should not be considered exclusive or extensive.
[0103] Further aspects and scope of adaptation become apparent from the description provided herein. It should be understood that various aspects of this application may be implemented individually or in combination with one or more other aspects. It should also be understood that the descriptions and specific embodiments herein are for illustrative purposes only and are not intended to limit the scope of this application.
[0104] Several embodiments of this disclosure have been described in detail above. However, it is obvious that those skilled in the art can make various modifications and variations to the embodiments of this disclosure without departing from the spirit and scope of this disclosure. The scope of protection of this disclosure is defined by the appended claims.
Claims
1. A parallel testing method for an on-chip ECC matrix in a DRAM, applied to a DRAM chip including multiple memory array units, wherein each memory array unit is provided with an ECC verification module, the ECC verification module including at least a verification chain unit and an adjustable delay unit, the verification chain unit of each memory array unit generates verification values for multiple parity bits based on the ECC matrix, and the logic paths corresponding to different parity bits have different logic depths, characterized in that, include: The characteristic check bits of each storage array unit are determined, wherein the characteristic check bits are the check bits with the largest logical depth in the ECC matrix of each storage array unit, and the characteristic check bits of different storage array units are different from each other. Acquire the first delayed control signal of each memory array unit under standard operating voltage and standard ambient temperature; Generate the first delay control signal to the adjustable delay unit corresponding to each memory array unit; The same test data is sequentially written to each storage array cell under different operating voltages and ambient temperatures. Based on the first check value of each storage array cell under different operating voltages and ambient temperatures obtained during the write phase and the second check value of each storage array cell under different operating voltages and ambient temperatures obtained during the read phase, the second delay control signal of each storage array cell under different voltage and temperature ranges is determined. The first check value and the second check value are the check values output by the characteristic check bits of each storage array cell.
2. The method according to claim 1, characterized in that, The process of sequentially writing the same test data to each storage array cell under different operating voltages and ambient temperatures, and determining the second delay control signal for each storage array cell under different voltage and temperature ranges based on the first verification value of each storage array cell obtained during the write phase under different operating voltages and ambient temperatures and the second verification value of each storage array cell obtained during the read phase under different operating voltages and ambient temperatures, includes: The same test data is written to each memory array cell in sequence under different operating voltages and ambient temperatures, and the first check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The second check value of the feature check bit of each storage array unit during the read phase is obtained under different operating voltages and ambient temperatures. When the first check value and the second check value of the feature check bit of each storage array unit are the same under the same operating voltage and ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each storage array unit is gradually reduced based on the first delay control signal until the second delay control signal of each storage array unit under different operating voltages and ambient temperatures is determined. Based on the second delay control signals of each memory array unit under different operating voltages and ambient temperatures, the second target delay control signal of each memory array unit under each voltage and temperature range is determined.
3. The method according to claim 2, characterized in that, When the first check value and the second check value of the feature check bit of each memory array cell are the same under the same operating voltage and ambient temperature, based on the first delay control signal, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced until the second delay control signal of each memory array cell under different operating voltages and ambient temperatures is determined, including: When the first check value and the second check value of the characteristic check bit of each memory array cell are the same under the same operating voltage and the same ambient temperature, the delay control signal generated to the adjustable delay unit corresponding to each memory array cell is reduced based on the first delay control signal. Write the same test data to each storage array cell again, and obtain the second check value of the feature check bit of each storage array cell during the read phase; When the second check value of the characteristic check bit of a target storage array cell is different from the first check value under the same operating voltage and ambient temperature, the second delay control signal corresponding to the target storage array cell is determined to be the first delay control signal, and the same test data is written to each storage array cell again until the second delay control signal of each storage array cell under different operating voltage and ambient temperature is determined.
4. The method according to claim 2, characterized in that, The step of determining the second target delay control signal for each memory array unit in each voltage and temperature range based on the second delay control signal for each memory array unit under different operating voltages and ambient temperatures includes: Based on the voltage and temperature range division method, determine the second delay control signal corresponding to each storage array unit in the same voltage and temperature range; The delay control signal with the largest delay margin among the second delay control signals located in the same voltage range and the same temperature range is selected as the second target delay control signal for each memory array unit in the same voltage range and the same temperature range.
5. The method according to claim 1, characterized in that, The acquisition of the first delay control signal for each memory array cell at standard operating voltage and standard ambient temperature includes: Initial delay control signals are generated at standard operating voltage and standard ambient temperature and sent to the adjustable delay units corresponding to each memory array unit. The same test data is written to each memory array cell under standard operating voltage and standard ambient temperature, and the third check value of the feature check bit generated by each memory array cell during the write phase is obtained in parallel through the global test bus. The check value generated by each memory array cell during the write phase is determined based on the ECC matrix of the check chain cell. The fourth check value of the feature check bit of each memory array cell during the read phase is obtained in parallel through the global test bus under standard operating voltage and standard ambient temperature. When the third check value and the fourth check value of the feature check bit of each memory array cell are the same, the initial delay control signal generated to the adjustable delay unit corresponding to each memory array cell is gradually reduced based on the initial delay control signal, until the first delay control signal corresponding to each memory array cell under standard operating voltage and standard ambient temperature is determined.
6. The method according to claim 1, characterized in that, The determination of the characteristic parity bits of each storage array cell includes: The order of multiple parity chains in each storage array unit is cyclically shifted and adjusted so that parity chains located at the same output position in each storage array unit output parity values for different parity bits. Based on the correspondence between each parity chain and parity bit in each storage array unit, the characteristic parity bit of each storage array unit is determined.
7. The method according to claim 1, characterized in that, Before determining the characteristic parity bits of each storage array cell, the process also includes: Obtain the ECC matrix corresponding to the verification chain unit, wherein the number of rows of the ECC matrix is equal to the number of parity bits, and the number of columns of the ECC matrix is equal to the number of data bits written or read. Obtain the number of values in each row of the ECC matrix that are the target values, and determine the logical depth of the logical path corresponding to each check bit based on the target data.
8. The method according to claim 1, characterized in that, The method further includes: In serial test mode, the actual operating voltage and actual ambient temperature of each memory array unit are obtained, and the target voltage range and target temperature range of each memory array unit are determined. The second target delay control signal corresponding to the target voltage range and target temperature range of each storage array unit is obtained, and the second target delay control signal corresponding to each storage array unit is sent to the adjustable delay unit corresponding to each storage array unit.
9. A parallel testing device for an on-chip ECC matrix in a DRAM, applied to a DRAM chip including multiple memory array units, wherein each memory array unit is provided with an ECC verification module, the ECC verification module including at least a verification chain unit and an adjustable delay unit, the verification chain unit of each memory array unit generates verification values of multiple verification bits based on the ECC matrix, and the logic paths corresponding to different verification bits have different logic depths, characterized in that, include: The feature check bit determination module is used to determine the feature check bit of each storage array unit, wherein the feature check bit is the check bit with the largest logical depth in the ECC matrix of each storage array unit, and the feature check bits of different storage array units are different from each other. The first delay control signal acquisition module is used to acquire the first delay control signal of each memory array unit under standard operating voltage and standard ambient temperature. The first delay control signal generation module is used to generate a first delay control signal to the adjustable delay unit corresponding to each memory array unit. The second delay control signal determination module is used to sequentially write the same test data to each storage array unit under different operating voltages and ambient temperatures, and determine the second delay control signal of each storage array unit under different voltage and temperature ranges based on the first check value of each storage array unit under different operating voltages and ambient temperatures obtained during the write phase and the second check value of each storage array unit under different operating voltages and ambient temperatures obtained during the read phase. The first check value and the second check value are the check values output by the characteristic check bits of each storage array unit.
10. A computer device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1 to 8.
