Self-repairing circuits and chips for memory
By introducing the built-in self-test state machine, self-repair module and latch module into the memory circuit, the problem in the existing technology that the output signal of the memory self-repair module cannot be directly connected to the parallel input memory is solved, and the control of multiple memories is realized. fault detection and repair, improving self-repair efficiency.
Patent Information
- Application Number
- CN202210021947.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-10
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-01-10
AI Technical Summary
The output signal of the existing memory self-healing module is a serial signal, which cannot be directly connected to the parallel input memory module. It is impossible to detect and repair faults on multiple memories at the same time, and requires external circuit conversion.
Design a memory self-healing circuit, including a built-in self-test state machine, a built-in self-healing module and a latch module. It is connected to multiple memories through a test bus to detect faults and generate repair signals. The latch module is in test mode It latches and outputs the target repair signal to realize fault detection and repair without external circuits.
It realizes fault detection and repair of multiple memories without external circuit support, improving the self-healing efficiency and flexibility of the memory.
Smart Images

Figure CN114550807B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of chip technology, and in particular to a self-repairing circuit and chip of a memory. Background Art
[0002] Embedded memory is widely used in SoC (System on Chip) chip design due to its advantages of high frequency, low power consumption and small area. The size of embedded memory in SoC chip can reach 1M byte or larger, so the yield of SoC chip will be affected by embedded memory. Improving the yield of embedded memory is the key to improving the yield of the entire SoC chip. For this reason, the related art proposes solutions for designing BIST (Built-In Self Test), BISD (Built-In Self-Diagnosis) and BISR (Built-In Self-Repair) for memory.
[0003] However, the output signal of the built-in self-repair module in the related art is a serial signal, while the input signals of most current memory modules are parallel inputs, so that the output signal of the self-repair module cannot be directly connected to the memory module and must be converted by an external circuit before it can be used, or the serial signal is output to the SoC port and converted by a test program. At the same time, since the output signal of the built-in self-repair module is a serial signal, it is impossible to repair multiple memories, such as SRAM (Static Random-Access Memory), at the same time. Summary of the invention
[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent. To this end, the first object of the present invention is to provide a self-repair circuit of a memory, so as to realize fault detection and repair of the memory without the need for an external circuit, and to detect and repair faults of multiple memories at the same time.
[0005] The second objective of the present invention is to provide a chip.
[0006] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a self-repair circuit of a memory, comprising: a built-in self-test state machine, the built-in self-test state machine is connected to N memories through a test bus, the built-in self-test state machine is used to perform fault detection on the N memories, and when a faulty faulty memory is detected, the fault information of the faulty memory is obtained, wherein N is an integer greater than 1; a built-in self-repair module, the built-in self-repair module has N first repair signal output terminals corresponding to the N memories one by one, the built-in self-repair module is used to generate a corresponding first repair signal according to the fault information, and output the first repair signal through the first repair signal output terminal corresponding to the faulty memory; a latch module, the latch module has N first repair signal input terminals and N target repair signal output terminals, the N first repair signal input terminals are connected to the N first repair signal output terminals one by one, the N target repair signal output terminals are connected to the N memories one by one, and the latch module is used to test the function mode, latching the first repair signal, generating a corresponding target repair signal, and outputting the target repair signal to the fault memory through the corresponding target repair signal output terminal to repair the fault memory; wherein the built-in self-repair module also has N second repair signal output terminals corresponding to the N memories one by one, and the latch module also has N second repair signal input terminals, and the N second repair signal input terminals are connected to the N second repair signal output terminals one by one; wherein the built-in self-repair module is also used to generate a second repair signal according to the fault information, and output the second repair signal through the second repair signal output terminal corresponding to the fault memory, wherein the second repair signal is used to identify whether the corresponding first repair signal is valid; the latch module is specifically used to latch the corresponding first repair signal when receiving the second repair signal; the built-in self-repair module is specifically used to generate the second repair signal when it is determined according to the fault information that the number of defects of the fault memory is less than or equal to 1. .
[0007] To achieve the above-mentioned object, a second embodiment of the present invention provides a chip, comprising: N memories; and a self-repair circuit of the above-mentioned memories.
[0008] The self-repair circuit and chip of the memory of the embodiment of the present invention are provided with a built-in self-test state machine, a built-in self-repair module, and a latch module. The built-in self-test state machine is used to perform fault detection on N memories, and when a faulty memory is detected, the fault information of the faulty memory is obtained. The built-in self-repair module generates a first repair signal according to the fault information, and then the latch module generates a target repair signal according to the first repair signal to repair the faulty memory. Therefore, by setting a latch module, the faulty memory can be repaired according to the fault information without an external circuit, and multiple memories can be repaired at one time. Moreover, the built-in self-repair module can also generate a second repair information according to the fault information, and use the second repair signal to verify the first repair signal, so as to achieve self-repair of the memory more quickly and effectively.
[0009] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a schematic structural diagram of a self-repair circuit of a memory according to an embodiment of the present invention;
[0011] Figure 2 It is a schematic diagram of the structure of a chip according to an embodiment of the present invention. DETAILED DESCRIPTION
[0012] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0013] The following describes the self-repair circuit and chip of the memory according to the embodiment of the present invention with reference to the accompanying drawings.
[0014] Figure 1 It is a schematic diagram of the structure of a self-repair circuit of a memory according to an embodiment of the present invention.
[0015] like Figure 1As shown, the memory self-repair circuit 10 includes: a built-in self-test state machine 102 , a built-in self-repair module 101 , and a latch module 200 . Among them, the built-in self-test state machine 102 is connected to N memories through a test bus, and the built-in self-test state machine 102 is used to perform fault detection on the N memories, and when a faulty faulty memory is detected, the fault information of the faulty memory is obtained, wherein N is an integer greater than 1; the built-in self-repair module 101 has N first repair signal output terminals corresponding to the N memories one by one, and the built-in self-repair module 101 is used to generate a corresponding first repair signal according to the fault information, and output the first repair signal through the first repair signal output terminal corresponding to the faulty memory; the latch module 200 has N first repair signal input terminals and N target repair signal output terminals, the N first repair signal input terminals are connected to the N first repair signal output terminals one by one, and the N target repair signal output terminals are connected to the N memories one by one, and the latch module 200 is used to latch the first repair signal in the test function mode, generate a corresponding target repair signal, and output the target repair signal to the faulty memory through the corresponding target repair signal output terminal to repair the faulty memory.
[0016] Specifically, the self-repair circuit 10 of the memory includes a built-in self-test module 100 and a latch module 200 . The built-in self-test module 100 includes a built-in self-test state machine 102 and a built-in self-repair module 101 . The built-in self-repair module 101 includes a built-in self-repair state machine 103 and a failure information register 104 .
[0017] The first repair signal is repairable_solution_X_bist, specifically repairable_solution_X_bist[BADBIT:0], which is used to indicate a specific column in memory X that needs to be repaired. For example, there are memories 1, 2, and 3, and the data bit width is expressed by DATABUS. COLMUX is the column selection width, which is generally 4, 8, or 16. Then the memory has a total of DATA BUS*COLMUX columns. The first repair signal has the following corresponding relationship BADBIT=DATA BUS*COLMUX / 4. If a column of the memory has a defect, then the columns adjacent to the column, a total of four columns, will be repaired. If the first repair signal is repairable_solution_1_bist[7], it indicates that the defect position in memory 1 is the 24th to 27th columns (counting from 0); if the first repair signal is repairable_solution_1_bist
[149] , it indicates that the defect position in memory 1 is the 592nd to 595th columns (counting from 0); if the first repair signal is repairable_solution_2_bist[0], it indicates that the defect position in memory 2 is the 0th to 3rd columns (counting from 0); if the first repair signal is repairable_solution_3_bist
[16] , it indicates that the defect position in memory 3 is the 60th to 63rd columns (counting from 0).
[0018] The failure information register 104 may be, for example, error_X[DATA BUS*COLMUX-1:0].
[0019] The built-in self-test module 100 can receive a clock signal clock and a built-in self-test start signal BISTInvoke, can obtain test data of each memory through a test bus, and judge whether each memory has a fault according to the test data, and self-repair it when a certain memory fails. Now, taking the fault detection and fault repair of memory 1 as a specific example, the detailed description is given, and the fault detection and fault repair specifically include the following steps:
[0020] A1, obtain the internal data bit width of the memory.
[0021] Specifically, the internal structure of the memory 1 is obtained, and according to the internal structure of the memory, the internal data bit width DATA BUS*COLMUX of the memory 1 is obtained. According to the internal data bit width, BADBIT=DATA BUS*COLMUX / 4 is obtained.
[0022] A2, obtains the test data of the memory through the data bus.
[0023] A3, generate target repair signal according to test data.
[0024] Specifically, if a certain value read is inconsistent with the expected value, it is considered that the bit corresponding to the value is defective, and the failure information register 104 can record the error_1[bit] corresponding to the bit as 1; if a certain value read is consistent with the expected value, it is considered that the bit corresponding to the value is not defective, and the failure information register 104 can record the error_1[bit] corresponding to the bit as 0.
[0025] Furthermore, a first repair signal is generated according to the record result in the failure information register 104. Specifically, if the error_1[bit] of a certain bit in the failure information register 104 is recorded as 0, the corresponding bit in the output repairable_solution_1_bist is set to 0; further, if the error_1[bit] of a certain bit in the failure information register 104 is recorded as 1, the corresponding bit in the output first repair signal repairable_solution_1_bist is locked to 1. The corresponding relationship is that one bit in repairable_solution_1_bist corresponds to four bits of error_1 in sequence, and further, if the bit corresponding to a certain four columns in repairable_solution_1_bist is 0, it means that the four columns do not need to be repaired; if the bit corresponding to a certain four columns in repairable_solution_1_bist is 1, it means that the four columns need to be repaired.
[0026] After the first repair signal repairable_solution_1_bist is sent to the latch module 200, the latch module latches the first repair signal, generates a target repair signal repairable_solution_1[BADBIT:0] according to the latched first repair signal, and outputs 1 through the target repair signal. Then the latch module 200 sends the target repair signal to the memory 1 to repair the memory 1.
[0027] Thus, it is possible to detect faults of N memories and repair them when faults are detected. Moreover, by providing a latch module 200 that supports multiple groups of signal inputs, multiple memories can be repaired at the same time.
[0028] Furthermore, the above-mentioned built-in self-repair module 101 also has N second repair signal output terminals corresponding one-to-one to the N memories, and the latch module 200 also has N second repair signal input terminals, and the N second repair signal input terminals are connected one-to-one to the N second repair signal output terminals; wherein, the built-in self-repair module 101 is also used to generate a second repair signal according to the fault information, and output the second repair signal through the second repair signal output terminal corresponding to the faulty memory, wherein the second repair signal is used to identify whether the corresponding first repair signal is valid; the latch module 200 is specifically used to latch the corresponding first repair signal when receiving the second repair signal.
[0029] Specifically, when the first repair signal is generated according to the record results in the failure information register 104, if the error_X[bit] of a certain bit in the faulty memory is recorded as 1, the corresponding bit in the output first repair signal repairable_solution_X_bist is set to 1, and the count of the corresponding counter hit_count_X is increased by 1, and it is determined whether the counting result meets the preset condition. The preset condition can be obtained by obtaining the number of defective bits that the memory supports repair according to the internal structure of the memory, and then if the counting result is less than or equal to the number, it is determined that the condition is met.
[0030] When the count result of the built-in self-repair module 101 meets the preset condition, the second repair signal repairable_enable_X_bist generated according to the count result of the counter is 1, indicating that the first repair signal corresponding to the second repair signal is valid, and the second repair signal is sent to the latch module 200. When the count result does not meet the preset condition, the built-in self-repair module 101 can also generate a second repair signal repairable_enable_X_bist according to the count result of the counter is 0, indicating that the first repair signal corresponding to the second repair signal is invalid, and the second repair signal is sent to the latch module 200.
[0031] The latch module 200 receives the first repair signal and the second repair signal, latches the first repair signal when the second repair signal is 1, outputs a target repair signal according to the latched first repair signal, outputs 1 through the target repair signal, and outputs the target repair signal when the second repair signal is 0, outputs 0 through the target repair signal.
[0032] The counter is now described in detail by taking the memory 1 as a specific example. In this specific example, the following program is used. In this program, error_bit is used to represent a loop variable. This variable is used to traverse whether each bit of the failure information register 104 is 0, starting from 0 and incrementing to the data bit width DATABUS multiplied by the column selection width COLMUX:
[0033]
[0034] As another example, the built-in self-repair module 101 is specifically used to generate a second repair signal when it is determined according to the fault information that the number of defects of the memory in which the fault occurs is less than or equal to 1. As an example, if it is determined according to the internal structure of a certain memory that the memory supports 1-bit defects that can be repaired, the second repair signal is generated only when the count result of the counter is less than or equal to 1. For a detailed description, several specific program examples are given:
[0035] assign repairable_enable_1_bist=(hit_count_1<=2'b01); / / If the defect count counter hit_count_1 is less than or equal to 1, then repairable_enable_1_bist is set to 1, indicating that the memory supports repair, and the corresponding repair information repairable_solution_1_bist[BADBIT:0] is valid;
[0036] assign repairable_enable_2_bist=(hit_count_2<=2'b01); / / If the defect count counter hit_count_2 is less than or equal to 1, then repairable_enable_2_bist is set to 1, indicating that the memory supports repair, and the corresponding repair information repairable_solution_2_bist[BADBIT:0] is valid;
[0037] assign repairable_enable_3_bist=(hit_count_3<=2'b01); / / If the defect count counter hit_count_3 is less than or equal to 1, then repairable_enable_3_bist is set to 1, indicating that the memory supports repair, and the corresponding repair information repairable_solution_3_bist[BADBIT:0] is valid.
[0038] assign repairable_enable_4_bist=(hit_count_4<=2'b01); / / If the defect count counter hit_count_4 is less than or equal to 1, then repairable_enable_4_bist is set to 1, indicating that the memory supports repair, and the corresponding repair information repairable_solution_4_bist[BADBIT:0] is valid;
[0039] Furthermore, the above-mentioned built-in self-repair module 101 also has a repair information output terminal, and the built-in self-repair module 101 is also used to generate repair information according to the fault information, and output the repair information through the repair information output terminal, wherein the repair information includes the memory number, failure location, and failure data.
[0040] Specifically, the repair signal output terminal includes tst_done, tst_fail, repairable_h, and repairable_data. Among them, the output signal tst_done is used to identify whether the built-in self-test is completed. If it is a high level, it means that the test has been completed; otherwise, it is not completed. The output signal tst_fail is used to identify whether the current storage unit has a defect. If it is a high level, it means that the storage unit has a defect. If the test completion signal tst_done is a high level and tst_fail is a low level, it means that the storage unit has no defect and the chip is judged to be a good chip. The output signal repairable_h, if the signal is a high level, it means that the current memory has a defect and the defect can be repaired; if the signal is a low level and the output signal fail_h is a high level, it indicates that the storage unit has an unrepairable defect and the test program judges the chip to be a bad chip. The output signal repair_data is a serial output signal that outputs the repair information of the memory. The repair information includes the memory number, failure position, and failure data.
[0041] Furthermore, the self-repair circuit 10 of the above-mentioned memory also includes: a non-volatile memory unit 300, the non-volatile memory unit 300 has N third repair signal output terminals, the non-volatile memory unit 300 is used to store repair information, and generate a third repair signal according to the fault information; wherein, the latch module 200 also has N third repair signal input terminals and a first trigger terminal, the N third repair signal input terminals are connected one-to-one with the N third repair signal output terminals, and the latch module 200 is also used to generate a corresponding target repair signal according to the received third repair signal when receiving the first repair trigger signal through the first trigger terminal in the normal functional mode, and repair the faulty memory through the target repair signal.
[0042] Specifically, when the second repair signal is 1, the repair signal including the memory number, failure position, and failure data is read from the repair signal output terminal, and then the repair signal is stored in the non-volatile storage unit 300 .
[0043] In the normal function mode, when the first trigger signal repair_code_ifr_load_enable is valid, the latch module 200 receives the third repair signal repair_code_ifrX[7:0], generates a target repair signal according to the third repair signal, and repairs the fault processor through the target repair signal.
[0044] In one embodiment of the present invention, the built-in self-test state machine 102 is further used to verify the repair information, and after the verification passes, store the repair information in the non-volatile storage unit 300 .
[0045] In one embodiment of the present invention, when storing the repair information in the non-volatile storage unit 300 , the built-in self-test state machine 102 is specifically configured to: encode the repair information according to the encoding method, and store the encoded repair information in the non-volatile storage unit 300 .
[0046] In one embodiment of the present invention, the self-repair circuit 10 of the above-mentioned memory may not be provided with the non-volatile memory unit 300, but an electrically programmable fuse module may be used to replace its function. The electrically programmable fuse module has N fourth repair signal output terminals, and the electrically programmable fuse module is used to store repair information and generate a fourth repair signal according to the fault information; wherein, the latch module 200 also has N fourth repair signal input terminals and a second trigger terminal, and the N fourth repair signal input terminals are connected one-to-one with the N fourth repair signal output terminals. The latch module 200 is also used in the normal function mode. When receiving the second repair trigger signal through the second trigger terminal, the corresponding target repair signal is generated according to the received fourth repair signal, and the faulty memory is repaired through the target repair signal.
[0047] In summary, the self-repair circuit of the memory of the embodiment of the present invention is provided with a built-in self-test state machine, a built-in self-repair module, and a latch module. The built-in self-test state machine is used to perform fault detection on N memories, and when a faulty memory is detected, the fault information of the faulty memory is obtained. The built-in self-repair module generates a first repair signal according to the fault information, and then the latch module generates a target repair signal according to the first repair signal to repair the faulty memory. Therefore, by setting a latch module, the faulty memory can be repaired according to the fault information without an external circuit, and multiple memories can be repaired at one time. Moreover, the built-in self-repair module can also generate second repair information according to the fault information, and use the second repair signal to verify the first repair signal, so as to better realize the self-repair of the memory.
[0048] Furthermore, the present invention provides a chip.
[0049] Figure 2 It is a schematic diagram of the structure of a chip according to an embodiment of the present invention.
[0050] like Figure 2 As shown, the chip 1000 includes N memories 400 and the aforementioned memory self-repair circuit 10 .
[0051] In one embodiment of the present invention, the N memories 400 are all static random access memories.
[0052] The chip of the embodiment of the present invention, through the self-repair circuit of the above-mentioned memory, can perform fault detection on N memories through the built-in self-test state machine, and obtain the fault information of the faulty memory when the faulty memory is detected, and the built-in self-repair module generates a first repair signal according to the fault information, and then the latch module generates a target repair signal according to the first repair signal to repair the faulty memory. Therefore, by setting the latch module, the faulty memory can be repaired according to the fault information without the need for an external circuit, and multiple memories can be repaired at one time. Moreover, the built-in self-repair module can also generate second repair information according to the fault information, and use the second repair signal to verify the first repair signal, so as to better realize the self-repair of the memory.
[0053] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0054] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0055] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0056] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0057] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0058] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0059] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0060] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A self-repairing circuit for a memory, It is characterized in that include: A built-in self-test state machine, the built-in self-test state machine is connected to N memories through a test bus, the built-in self-test state machine is used to perform fault detection on the N memories, and when a faulty faulty memory is detected, obtain fault information of the faulty memory, wherein N is an integer greater than 1; A built-in self-repair module, wherein the built-in self-repair module has N first repair signal output terminals corresponding to the N memories one by one, and the built-in self-repair module is used to generate a corresponding first repair signal according to the fault information, and output the first repair signal through the first repair signal output terminal corresponding to the fault memory; A latch module, wherein the latch module has N first repair signal input terminals and N target repair signal output terminals, wherein the N first repair signal input terminals are connected to the N first repair signal output terminals in a one-to-one correspondence, and the N target repair signal output terminals are connected to the N memories in a one-to-one correspondence, and the latch module is used to latch the first repair signal in a test function mode, generate a corresponding target repair signal, and output the target repair signal to the fault memory through the corresponding target repair signal output terminal to repair the fault memory; The built-in self-repair module further has N second repair signal output terminals corresponding to the N memories one by one, and the latch module further has N second repair signal input terminals, and the N second repair signal input terminals are connected to the N second repair signal output terminals one by one; The built-in self-repair module is further used to generate a second repair signal according to the fault information, and output the second repair signal through a second repair signal output terminal corresponding to the fault memory, wherein the second repair signal is used to identify whether the corresponding first repair signal is valid; The latch module is specifically configured to latch the corresponding first repair signal when receiving the second repair signal; The built-in self-repair module is specifically configured to generate the second repair signal when it is determined according to the fault information that the number of defects of the faulty memory is less than or equal to 1.
2. The self-repair circuit of the memory as claimed in claim 1, It is characterized in that The built-in self-repair module also has a repair information output terminal, and the built-in self-repair module is also used to generate repair information according to the fault information and output the repair information through the repair information output terminal, wherein the repair information includes the number, failure position, and failure data of the memory.
3. The self-repair circuit of the memory as claimed in claim 2, It is characterized in that The circuit further comprises: A non-volatile storage unit, wherein the non-volatile storage unit has N third repair signal output terminals, and the non-volatile storage unit is used to store the repair information and generate a third repair signal according to the fault information; Among them, the latch module also has N third repair signal input terminals and a first trigger terminal, and the N third repair signal input terminals are connected one-to-one with the N third repair signal output terminals. The latch module is also used to generate a corresponding target repair signal according to the received third repair signal when a first repair trigger signal is received through the first trigger terminal in a normal functional mode, and repair the fault memory through the target repair signal.
4. The self-repair circuit of the memory as claimed in claim 2, It is characterized in that The circuit further comprises: An electrically programmable fuse module, the electrically programmable fuse module having N fourth repair signal output terminals, the electrically programmable fuse module being used to store the repair information and generate a fourth repair signal according to the fault information; Among them, the latch module also has N fourth repair signal input terminals and a second trigger terminal, and the N fourth repair signal input terminals are connected one-to-one with the N fourth repair signal output terminals. The latch module is also used to generate a corresponding target repair signal according to the received fourth repair signal when a second repair trigger signal is received through the second trigger terminal in a normal functional mode, and repair the fault memory through the target repair signal.
5. The self-repair circuit of the memory as claimed in claim 3, It is characterized in that The built-in self-test state machine is also used to verify the repair information, and after the verification is passed, store the repair information in the non-volatile storage unit.
6. The self-repair circuit of the memory as claimed in claim 5, It is characterized in that When storing the repair information in the non-volatile storage unit, the built-in self-test state machine is specifically used to: The repair information is encoded according to an encoding method, and the encoded repair information is stored in the non-volatile storage unit.
7. A chip, It is characterized in that include: N memories; as well as A self-repair circuit for a memory as claimed in any one of claims 1 to 6.
8. The chip according to claim 7, It is characterized in that The N memories are all static random access memories.
