Memory, control circuit thereof and operating method therefor

By using a combination of address decoding logic circuit and address selection circuit in the memory control circuit to generate the address signal of the designated memory bank, the problem of wasting storage space when irreparable damage is solved in the memory bank group, and the flexible selection of memory banks is realized. Enabled to improve storage efficiency.

WO2024187600A1PCT designated stage expired Publication Date: 2024-09-19CHANGXIN MEMORY TECH INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/097819
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-13
Filing Date
2023-06-01
Publication Date
2024-09-19

AI Technical Summary

Technical Problem

When the existing memory faces irreparable damage in the memory bank group, it is inflexible to abandon part of the memory bank group, resulting in a waste of storage space.

Method used

A memory control circuit is designed. Through the combination of address decoding logic circuit and address selection circuit, the address signal of the designated memory bank is generated, allowing flexible selection and disabling of the memory bank. The mode selection signal and control signal are used to determine the enabled state of the memory bank. .

Benefits of technology

It realizes the flexible selection and activation of memory banks in the memory bank group, reduces the waste of storage space, and improves the utilization efficiency of the memory banks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023097819_19092024_PF_FP_ABST
    Figure CN2023097819_19092024_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the embodiments of the present disclosure are a memory, a control circuit thereof and an operating method therefor. The control circuit comprises: an address decoding logic circuit, configured to output address signals of designated banks to a bank group, and comprising a first input end configured to receive a first address signal and a second input end configured to receive a second address signal; and an address selection circuit, connected to the second input end or the first input end, and the address selection circuit being configured to output the corresponding second address signal according to the first address signal or configured to output to the address decoding logic circuit a predetermined third address signal as the second address signal.
Need to check novelty before this filing date? Find Prior Art

Description

Memory and its control circuit and operation method

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 2023102551440, application date March 13, 2023, and application name “Memory and its control circuit and operation method”, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present disclosure relates to the field of semiconductor technology, and in particular to, but not limited to, a memory and a control circuit and an operation method thereof. Background Art

[0004] A memory device can include at least one bank group (BG), each of which can include multiple banks. In actual use, if a bank has repairable damage, fuses and redundant structures can be used to repair the bank before use. If a large number of banks have irreparable damage, some banks must be discarded. However, there are significant limitations on which banks to discard, resulting in significant waste. How to more flexibly and selectively discard bank groups with damaged banks has become an urgent problem.

[0005] Summary of the Invention

[0006] The present disclosure provides a memory and a control circuit and an operation method thereof, which are configured to solve the problem of inflexibility in selecting to disable and enable some memory banks among a plurality of memory banks.

[0007] To solve the above problems, the technical solution of the present disclosure is implemented as follows:

[0008] The present disclosure provides a control circuit of a memory, wherein the memory includes a plurality of memory bank groups; each of the memory bank groups includes a plurality of memory banks; and the control circuit includes:

[0009] an address decoding logic circuit connected to at least one memory bank group and configured to output an address signal of a designated memory bank to the memory bank group;

[0010] The address decoding logic circuit includes: a first input terminal configured to receive a first address signal, and a second input terminal configured to receive a second address signal; a combination of the first address signal and the second address signal is configured to be an address signal indicating the designated memory bank;

[0011] An address selection circuit connected to the second input terminal or the first input terminal;

[0012] The address selection circuit is configured to output the corresponding second address signal according to the first address signal or to output a predetermined third address signal as the second address signal to the address decoding logic circuit.

[0013] In some embodiments, the address selection circuit includes:

[0014] A mode control terminal configured to receive a mode selection signal; wherein, when the mode selection signal is a first mode signal, the address selection circuit is configured to output the third address signal as the second address signal to the address decoding logic circuit; when the mode selection signal is a second mode signal, the address selection circuit is configured to output the corresponding second address signal to the address logic decoding circuit according to the first address signal.

[0015] In some embodiments, the address selection circuit further comprises: a generation circuit and a selection circuit; wherein the generation circuit comprises a first signal input terminal, a second signal input terminal, and an output terminal; and the selection circuit comprises a plurality of selection input terminals and an output terminal;

[0016] The first signal input terminal is configured to receive the first address signal;

[0017] The second signal input terminal is configured to receive a control signal;

[0018] The generating circuit is configured to receive the control signal and the first address signal, and output a selection signal;

[0019] The plurality of selection input terminals are configured to receive the selection signal and the third address signal;

[0020] The output terminal of the selection circuit is configured to output the second address signal.

[0021] In some embodiments, the selection circuit includes: a data selector;

[0022] The data selector includes a plurality of data input terminals and a control signal terminal;

[0023] The plurality of data input terminals serve as the selection input terminals, and are configured to receive the selection signal and the third address signal;

[0024] The control signal terminal serves as the mode control terminal and is configured to receive the mode selection signal.

[0025] In some embodiments, the control signal includes: a first control signal and a second control signal; the second signal input terminal includes a first control terminal configured to receive the first control signal and a second control terminal configured to receive the second control signal;

[0026] The generating circuit is configured to output the selection signal to the data selector according to the first control signal, the second control signal, and the first address signal.

[0027] In some embodiments, the generating circuit comprises:

[0028] Includes NOT gate, first AND gate, second AND gate and OR gate;

[0029] The input end of the NOT gate is connected to the first signal input end; the output end of the NOT gate is connected to the first input end of the first AND gate;

[0030] The second input terminal of the first AND gate is the first control terminal, and the output terminal of the first AND gate is connected to the first input terminal of the OR gate;

[0031] The first input terminal of the second AND gate is the first signal input terminal, the second input terminal of the second AND gate is connected to the second control terminal, and the output terminal of the second AND gate is connected to the second input terminal of the OR gate;

[0032] The output end of the OR gate is connected to the data selector.

[0033] In order to solve the above problems, an embodiment of the present disclosure further provides a memory, comprising a control circuit of the memory as described in any of the above embodiments.

[0034] In order to solve the above problems, an embodiment of the present disclosure further provides a method for operating a memory, wherein the memory includes the control circuit as described in any of the above embodiments; the method includes:

[0035] inputting a first address signal to an address decoding logic circuit of the control circuit;

[0036] inputting the first address signal and / or the third address signal to the address selection circuit of the control circuit according to a predetermined available memory bank; wherein the address selection circuit outputs a corresponding second address signal to the address decoding logic circuit according to the first address signal or outputs the third address signal as the second address signal to the address decoding logic circuit;

[0037] The address decoding logic circuit of the control circuit outputs an address signal of a designated memory bank to a memory bank group in the memory based on a combination of the first address signal and the second address signal.

[0038] In some embodiments, the method further comprises:

[0039] A mode selection signal is input to the address selection circuit of the control circuit; wherein, when the mode selection signal is a first mode signal, the address selection circuit outputs a corresponding second address signal to the address decoding logic circuit according to the first address signal; and when the mode selection signal is a second mode signal, a third address signal is output to the address decoding logic circuit as the second address signal.

[0040] In some embodiments, the method further comprises:

[0041] A control signal is input to an address selection circuit of the control circuit; wherein the address selection circuit outputs a corresponding second address signal according to the first address signal and the control signal.

[0042] In some embodiments, inputting a control signal to an address selection circuit of the control circuit includes:

[0043] A first control signal and a second control signal are input to an address selection circuit of the control circuit; wherein the address selection circuit outputs a corresponding second address signal according to the first address signal, the first control signal and the second control signal.

[0044] In some embodiments, the method further comprises:

[0045] Performing functional tests on multiple memory banks of each memory bank group in the memory to determine the available memory banks in the memory bank group;

[0046] A second signal input terminal configured to receive the control signal is potential-locked according to the address of the available memory bank.

[0047] In some embodiments, the step of performing potential locking on the second signal input terminal configured to receive the control signal according to the address of the available memory bank includes:

[0048] According to the address of the available memory bank, a first control terminal configured to receive a first control signal and a second control terminal configured to receive a second control signal are respectively programmed accordingly. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In order to make the above-mentioned objects, features and advantages of the present disclosure more clearly understood, the specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings, wherein:

[0050] FIG1 is a schematic diagram of a memory including multiple memory bank groups according to an embodiment of the present disclosure;

[0051] FIG2 is a schematic diagram showing a memory bank group including multiple memory banks according to an embodiment of the present disclosure;

[0052] FIG3 is a schematic diagram of a control circuit in some embodiments;

[0053] 4a to 9b are schematic diagrams of control circuits provided in embodiments of the present disclosure;

[0054] 10 to 15 are flowcharts of a method for operating a memory according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0055] In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, the specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.

[0056] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure. However, the present disclosure may also be implemented in other ways different from those described herein. Therefore, the present disclosure is not limited to the specific embodiments disclosed below.

[0057] As used in this application and the claims, unless the context clearly indicates otherwise, the words "a," "an," "an," and / or "the" are not intended to refer to the singular but may include the plural. Generally speaking, the terms "comprises" and "include" only indicate the inclusion of the steps and elements specifically identified, and these steps and elements do not constitute an exclusive list. A method or apparatus may also include other steps or elements.

[0058] When describing the embodiments of the present disclosure, for ease of explanation, cross-sectional views of device structures may be partially enlarged and not to scale. Furthermore, these schematic views are merely illustrative and should not limit the scope of protection of the present disclosure. Furthermore, in actual production, three-dimensional dimensions, including length, width, and depth, should be included.

[0059] In addition, it should be noted that the use of terms such as "first" and "second" to limit components is only for the convenience of distinguishing the corresponding components. Unless otherwise stated, the above terms have no special meaning and therefore cannot be understood as limiting the scope of protection of this application.

[0060] Flowcharts are used throughout this disclosure to illustrate the operations performed by systems according to embodiments of the present disclosure. It should be understood that the preceding or following operations are not necessarily performed in exact order. Instead, various steps may be performed in reverse order or simultaneously. Furthermore, other operations may be added to these processes, or one or more operations may be removed from these processes.

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

[0062] As shown in Figure 1, each memory can include multiple memory bank groups, for example, eight, from BG0 to BG7. Each memory bank group can be used independently. Each memory bank group further includes multiple memory banks, for example, four, from Bank0 to Bank3. Each bank is coupled to a peripheral circuit, which extends along the X-direction and is connected to each bank in each memory bank group. Bank0 and Bank2 are arranged along the X-direction, located on one side of the peripheral circuit, while Bank1 and Bank3 are also arranged along the X-direction, located on the other side of the peripheral circuit. Bank0 and Bank1 are arranged along the Y-direction, while Bank2 and Bank3 are also arranged along the Y-direction. A row decoder is located between Bank0 and Bank2, and a column decoder is located between each bank and the peripheral circuit. It should be understood that Figure 1 is merely a schematic diagram of the relationship between the peripheral circuit and the memory bank groups. In practice, the number of memory bank groups, the number of memory banks, the positional relationship between the memory bank groups and the peripheral circuit, and the number and position of the row and column decoders are not limited to this.

[0063] As shown in Figure 2, a bank group (e.g., BG0) contains four banks, and two address signals are used to select a bank. For example, when the two address signals are BA0=0 and BA1=0, Bank0 is selected, thereby allowing operations on it. When the two address signals are BA0=1 and BA1=0, Bank1 is selected, thereby allowing operations on it. When the two address signals are BA0=0 and BA1=1, Bank2 is selected, thereby allowing operations on it. When the two address signals are BA0=1 and BA1=1, Bank3 is selected, thereby allowing operations on it. Each bank and address signal can also have other corresponding relationships.

[0064] In some embodiments, if a certain memory bank group needs to be partially used, for example, when the usage is reduced from 16 GB to 8 GB, some memory banks in the memory bank group may be disabled.

[0065] In some embodiments, if any Bank in the storage group in Figure 2 is damaged and cannot be used, the Bank can be repaired by fuse repair or other methods. If the damage is large or irreparable, the Bank with irreparable damage can be disabled to avoid writing data to the problem Bank. For example, if Bank2 and Bank3 in the storage group shown in Figure 2 are irreparable, Bank2 and Bank3 need to be disabled, and only Bank0 and Bank1 are allowed to be enabled. For another example, if Bank0 in the storage group shown in Figure 2 is irreparable, Bank0 and Bank1 can be disabled, and Bank2 and Bank3 can be allowed to be used.

[0066] At this time, the control circuit 100 of the memory as shown in Figure 3 can be used, which includes an address decoding logic circuit 200. The first input terminal 210 of the address decoding logic circuit 200 is used to receive the first address signal BA0 of the memory body. The first address signal BA0 can be a signal from the first address pin Pin_BA0 of the memory, a decoded signal, a signal in the write mode (Write Pattern), or from other places. The second input terminal 220 of the address decoding logic circuit 200 is used to receive the second address signal ADDR.

[0067] The second address signal ADDR is generated by the data selector 230. The first input of the data selector 230 is used to receive the third address signal BA1 of the memory bank. The third address signal BA1 can come from the second address pin Pin_BA1 of the memory, be a decoded signal, or be a signal in write mode. The second input of the data selector 230 is used to receive the control signal SIG. The control terminal of the data selector 230 is used to receive the mode selection signal MODE. The output of the data selector 230 is connected to the second input 220 of the address decoding logic circuit 200.

[0068] When the mode selection signal is at a first level (e.g., a low level), the data selector 230 inputs the third address signal BA1 as the second address signal ADDR to the second input terminal 220 of the address decoding logic circuit 200. Since the first input terminal 210 of the address decoding logic circuit 200 receives the first address signal BA0, the control circuit 100 can enable all memory banks in FIG2 . Specifically, the combination of the first address signal BA0 and the second address signal BA1 includes four possible combinations: "00," "01," "10," and "11," which correspond to any one of Bank0, Bank1, Bank2, and Bank3, respectively, thereby enabling all memory banks.

[0069] When the mode selection signal is at the second level (e.g., a high level), the data selector 230 inputs the control signal SIG as the second address signal ADDR to the second input terminal 220 of the address decoding logic circuit 200. When the control signal SIG is at a low level, the combination of the first address signal BA0 and the second address signal includes two cases, "00" and "01," which can correspond to either Bank0 or Bank1. In other words, in this case, only Bank0 and Bank1 in the memory banks of FIG. 2 are allowed to operate.

[0070] When the control signal SIG is a high-level signal, the combination of the first address signal BA0 and the second address signal includes two cases, "10" and "11", which can correspond to any one of Bank2 and Bank3. That is to say, in this case, only Bank2 and Bank3 in the storage body of Figure 2 are allowed to operate.

[0071] In actual use, for example, Bank1 and Bank2 may also have irreparable damage at the same time. In this case, Bank1 and Bank2 need to be disabled, and Bank0 and Bank3 need to be enabled. How to more flexibly choose to disable and enable some of the multiple storage banks has become an urgent problem that needs to be solved.

[0072] An embodiment of the present disclosure provides a control circuit for a memory. The memory may include multiple memory bank groups as shown in FIG1 ; each of the memory bank groups may include multiple memory banks as shown in FIG2 ; and as shown in FIG4 a or 4 b , the control circuit 1000 includes:

[0073] An address decoding logic circuit 200 is connected to at least one memory bank group and is used to output an address signal of a designated memory bank to the memory bank group;

[0074] The address decoding logic circuit 200 includes: a first input terminal 210 for receiving a first address signal BA0, and a second input terminal 220 for receiving a second address signal ADDR; the combination of the first address signal BA0 and the second address signal ADDR is used to indicate the address signal of the designated memory bank;

[0075] The address selection circuit 300 is connected to the second input terminal 220 or the first input terminal 210. Here, the first input terminal 210 may be the terminal that receives the low-order bit (e.g., the first bit) of the address signal, and the second input terminal 220 may be the terminal that receives the high-order bit (e.g., the second bit) of the address signal. That is, by connecting the address selection circuit 300 to different input terminals of the address decoding logic circuit 200, it can be used to indicate the low-order address or the high-order address of a specified memory bank. In some embodiments, when the number of address bits of a specified memory bank can be greater than two, the address selection circuit 300 can also be used to indicate any address bit of the specified memory bank. In this case, the address decoding logic circuit 200 may include more than two input terminals, and the address selection circuit 300 can be connected to at least one input terminal.

[0076] The address selection circuit 300 is configured to output the corresponding second address signal ADDR according to the first address signal BA0 or to output a predetermined third address signal BA1 as the second address signal ADDR to the address decoding logic circuit.

[0077] As shown in FIG4 a , the memory control circuit 1000 includes an address decoding logic circuit 200 and an address selection circuit 300 , wherein the address selection circuit 300 is connected to the second input terminal 220 of the address decoding logic circuit 200 . Here, the first input terminal 210 may be a terminal that receives the low-order bit (e.g., the first bit) of the address signal, and the second input terminal 220 may be a terminal that receives the high-order bit (e.g., the second bit) of the address signal. That is, the second address signal ADDR may serve as the high-order address signal for a specified memory bank, and the first address signal BA0 may serve as the low-order address signal for a specified memory bank.

[0078] The first input terminal 210 of the address decoding logic circuit 200 is used to receive the first address signal BA0, and the second input terminal 220 of the address decoding logic circuit 200 is used to receive the second address signal ADDR, wherein the second address signal ADDR is generated based on the first address signal BA0 or a predetermined third address signal BA1 is used as the second address signal ADDR (i.e., the second address signal ADDR = the third address signal BA1). The so-called generation based on the first address signal BA0 and the second address signal ADDR means that the second address signal ADDR can be obtained by performing a logical operation on the first address signal BA0, and the logical operation includes but is not limited to an inversion operation, an AND operation, an XOR operation, and a combination thereof, etc. That is, the second address signal ADDR = f(BA0). For example, the second address signal ADDR = BA1. When ADDR = BA1, the third address signal BA1 can be directly input to the second input terminal 220.

[0079] Therefore, the address signal (ADDR, BA0) received by the address decoding logic circuit 200 can be (f(BA0), BA0) or (BA1, BA0).

[0080] The combination of the first address signal BA0 and the second address signal ADDR is used to indicate the address signal of the specified storage body, which means that the first address signal BA0 can be used as the first bit (i.e., the low bit) of the storage body address signal, and the second address signal ADDR can be used as the second bit (i.e., the high bit) of the storage body address signal, or the first address signal BA0 can be used as the second bit (i.e., the high bit) of the storage body address signal, and the second address signal ADDR can be used as the first bit (i.e., the low bit) of the storage body address signal.

[0081] In some embodiments, the address decoding logic circuit may decode (f(BA0), BA0) into (BA0, f(BA0)) or (f(BA0), BA0) as an address signal for designating a memory bank.

[0082] In some embodiments, as shown in FIG4b , the address decoding logic circuit includes: a second input terminal 220 for receiving a first address signal BA0, and a first input terminal 210 for receiving a second address signal ADDR. The combination of the first address signal BA0 and the second address signal ADDR is used to indicate the address signal of the designated memory bank. Here, the first input terminal 210 may be a terminal for receiving the low-order bit (e.g., the first bit) of the address signal, and the second input terminal 220 may be a terminal for receiving the high-order bit (e.g., the second bit) of the address signal. That is, the second address signal ADDR may serve as the low-order address signal for the designated memory bank, and the first address signal BA0 may serve as the high-order address signal for the designated memory bank.

[0083] The address selection circuit 300 may also be connected to the first input terminal 210. The address selection circuit is configured to output the corresponding second address signal ADDR according to the first address signal BA0 or to output a predetermined third address signal BA1 as the second address signal ADDR to the first input terminal 210 of the address decoding logic circuit.

[0084] That is, the second address signal ADDR can be obtained by performing a logical operation on the first address signal BA0. The logical operation includes, but is not limited to, an inversion operation, an AND operation, an XOR operation, etc. That is, the second address signal ADDR = f(BA0). For example, the second address signal ADDR = BA0. When ADDR = BA0, the first address signal BA0 can be directly connected to the first input terminal 210.

[0085] Therefore, the address signal (ADDR, BA0) received by the address decoding logic circuit 200 can be (f(BA0), BA0) or (BA1, BA0).

[0086] In some embodiments, the address decoding logic circuit may decode (BA0, f(BA0)) into (BA0, f(BA0)) or (f(BA0), BA0) as an address signal for a designated memory bank.

[0087] In some embodiments, as shown in FIG4c , the address decoding logic circuit 200 includes a first input terminal 210 for receiving a third address signal BA1, and a second input terminal 220 for receiving a second address signal ADDR. The combination of the third address signal BA1 and the second address signal ADDR is used to indicate the address signal of the designated memory bank. Here, the first input terminal 210 may be a terminal receiving the high bit (e.g., the second bit) of the address signal, and the second input terminal 220 may be a terminal receiving the low bit (e.g., the first bit) of the address signal. That is, the second address signal ADDR may serve as the low bit address signal for the designated memory bank, and the third address signal BA1 may serve as the high bit address signal for the designated memory bank.

[0088] The address selection circuit 300 is connected to the second input terminal 220; the address selection circuit 300 is used to output the corresponding second address signal ADDR according to the third address signal BA1 or to output the predetermined first address signal BA0 as the second address signal ADDR to the address decoding logic circuit 200.

[0089] The third address signal BA1 may be a signal from the second address pin Pin_BA1 of the memory, may be a decoded signal, may be a signal in a write pattern, or may come from other places.

[0090] When only the third address signal BA1 is available, the third address signal BA1 can also be used to generate the corresponding second address signal ADDR, that is, the address signal (BA1, ADDR) is used to indicate a specific memory bank.

[0091] In the embodiment of the present disclosure, the address signal (ADDR, BA0) that can be obtained by generating the second address signal ADDR using the first address signal BA0 can be used to indicate a specified storage body. For example, the correspondence between the first address signal BA0 and the second address signal ADDR is ADDR=f(BA0)=-BA0 (Note: the symbol "-" here represents the inverted signal). Then, when BA0 is "0", ADDR is "1", and the address of the specified storage body is "10", which represents Bank2. If BA0 is "1", ADDR is "0", and the address of the specified storage body is "01", which represents Bank1. It can be understood that for this correspondence, the available storage bodies only include the above two cases, that is, the available storage bodies in the storage body group are only Bank1 and Bank2, thereby achieving the disabling of Bank0 and Bank3. The above is just an example of the correspondence, and other correspondences can be set according to actual application requirements.

[0092] In the embodiment of the present disclosure, the third address signal BA1 can also be used as the second address signal ADDR, thereby obtaining the address signal (BA1, BA0). It can be understood that the address signal can be used to specify Bank0 to Bank3, that is, to open all the storage bodies in the corresponding storage body group.

[0093] The first address signal BA0 can be used to set the second address signal ADDR through the address selection circuit 300, thereby specifying enabled and disabled memory banks. This approach allows for more flexible selection of available memory banks.

[0094] In other embodiments, the first input terminal 210 of the address decoding logic circuit 200 can be connected to an address selection circuit 300, and the second input terminal 220 can also be connected to an address selection circuit 300. In practical applications, one of the two address selection circuits 300 can be used as required, while the other is not used. For example, only the address selection circuit 300 connected to the first input terminal 210 can be used, while the second input terminal 220 directly receives the first address signal BA0 directly input by an external controller. This increases the number of optional memory bank combinations, thereby further increasing the flexibility of the above circuit in disabling memory banks.

[0095] In some embodiments, as shown in FIG. 5 a or FIG. 5 b , the address selection circuit 300 includes:

[0096] A mode control terminal 340 for receiving a mode selection signal MODE; wherein, when the mode selection signal MODE is a first mode signal, the address selection circuit 300 is used to output the third address signal BA1 as the second address signal ADDR to the address decoding logic circuit 200, and at this time the second address signal ADDR=BA1; when the mode selection signal MODE is a second mode signal, the address selection circuit 300 is used to output the corresponding second address signal ADDR to the address logic decoding circuit according to the first address signal BA0, and at this time the second address signal ADDR=f(BA0).

[0097] The mode control terminal 340 may be configured to receive a mode selection signal MODE. The address selection circuit 300 may utilize the mode selection signal MODE to select whether to enable all or part of the memory banks.

[0098] In some embodiments, if the mode selection signal MODE is a predetermined first mode signal (eg, a low level signal), the control circuit 1000 may be used to enable all memory banks of the corresponding memory bank group.

[0099] In some embodiments, if the mode selection signal MODE is a predetermined second mode signal (eg, a high level signal), the control circuit 1000 may be used to enable some memory banks of the corresponding memory bank group.

[0100] As shown in FIG5a or FIG5b, in some embodiments, if the mode selection signal MODE is a predetermined first mode signal (e.g., a low-level signal), the address selection circuit 300 is configured to select the third address signal BA1 and output the third address signal BA1 to the second input terminal 220 or the first input terminal 210 to enable all memory banks. If the mode selection signal MODE is a predetermined second mode signal (e.g., a high-level signal), the address selection circuit 300 is configured to receive the first address signal BA0 and output f(BA0) to the second input terminal 220 or the first input terminal to enable some memory banks.

[0101] It should be noted that in FIG5a, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). In other words, the second address signal ADDR may serve as the high-order address signal for a specified memory bank, and the first address signal BA0 may serve as the low-order address signal for a specified memory bank.

[0102] It should be noted that in FIG5b, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). In other words, the second address signal ADDR may serve as the low-order address signal for a designated memory bank, and the first address signal BA0 may serve as the high-order address signal for a designated memory bank.

[0103] In the embodiment of the present disclosure, by receiving two different mode selection signals MODE, the control circuit 1000 has the function of not only selectively turning on some memory banks but also turning on all memory banks.

[0104] In some embodiments, as shown in FIG6a or FIG6b, the address selection circuit 300 further includes: a generation circuit 400 and a selection circuit 500; wherein the generation circuit 400 includes a first signal input terminal 320, a second signal input terminal 330, and an output terminal 410; the selection circuit 500 includes a plurality of selection input terminals and output terminals;

[0105] The first signal input terminal 320 is used to receive the first address signal BA0;

[0106] The second signal input terminal 330 is used to receive the control signal SIG;

[0107] The generating circuit 400 is configured to receive the control signal SIG and the first address signal BA0 and output a selection signal f(BA0, SIG);

[0108] The plurality of selection input terminals are used to receive the selection signal f(BA0, SIG) and the third address signal BA1;

[0109] The output terminal of the selection circuit 500 is used to output the second address signal ADDR.

[0110] As shown in Figure 6a or Figure 6b, the first input terminal 210 or the second input terminal 220 of the address decoding logic circuit 200 is used to receive the first address signal BA0. The second input terminal 220 or the first input terminal 210 of the address decoding logic circuit 200 is used to receive the second address signal ADDR. The second address signal ADDR is jointly generated by the generation circuit 400 and the selection circuit 500. The generation circuit 400 can receive the first address signal BA0 and the control signal SIG to generate the selection signal f(BA0, SIG). The second selection input terminal of the selection circuit 500 can receive the selection signal f(BA0, SIG) and the first selection input terminal 310 of the selection circuit 500 can receive the third address signal BA1. The selection circuit 500 selects one of them as the second address signal ADDR. The first selection input terminal 310 of the selection circuit 500 is an input terminal of the address selection circuit 300.

[0111] It should be noted that in FIG6a, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the high-order address signal for specifying a memory bank, and the first address signal BA0 may serve as the low-order address signal for specifying a memory bank.

[0112] It should be noted that in FIG6b, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). In other words, the second address signal ADDR may serve as the low-order address signal for a designated memory bank, and the first address signal BA0 may serve as the high-order address signal for a designated memory bank.

[0113] In some embodiments, the first address signal BA0 and the control signal SIG may be in an "AND" relationship. Then, when the control signal SIG is "0", the address signals of the available memory banks may be "00" and "01", that is, Bank0 and Bank1 are selected and enabled, and the remaining banks are disabled. When the control signal is "1", the address signals of the available memory banks may be "00" and "11", that is, Bank0 and Bank3 are selected and enabled, and the remaining banks are disabled.

[0114] It is understood that the aforementioned control signal SIG can be used to set the corresponding relationship between the first address signal BA0 and the selection signal f(BA0, SIG). That is, the first address signal BA0 and the control signal SIG have more logical relationships. By applying different control signals SIG, the generation circuit 400 can generate various selection signals f(BA0, SIG), and then the selection circuit 500 outputs the second address signal ADDR to achieve different settings for available memory banks.

[0115] In some embodiments, as shown in FIG7 a , the selection circuit 500 further includes: a data selector 510 ;

[0116] The data selector 510 includes a plurality of data input terminals and a control signal terminal;

[0117] The plurality of data input terminals may include a first data input terminal 501 and a second data input terminal 502. The plurality of data input terminals are configured to receive the selection signal f(BA0, SIG) and the third address signal BA1;

[0118] The control signal terminal 503 serves as the mode control terminal 340 and is configured to receive the mode selection signal MODE.

[0119] In some embodiments, the data selector 510 may be used to select whether to output the third address signal BA1 as the second address signal ADDR or to output the selection signal f(BA0, SIG) as the second address signal ADDR.

[0120] As shown in FIG7 a , the output terminal of the data selector 510 is connected to the second input terminal 220. The first input terminal 501 of the data selector 510 is used to receive the third address signal BA1, and the second input terminal 502 of the data selector 510 is used to receive the selection signal f(BA0, SIG). The control signal terminal 503 of the data selector 510 serves as the mode selection terminal 340 for receiving the mode selection signal MODE.

[0121] It should be noted that in FIG7 a , the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the high-order address signal for a designated memory bank, and the first address signal BA0 may serve as the low-order address signal for a designated memory bank.

[0122] If all memory banks are selected to be enabled, the mode selection signal MODE may be set to the first mode signal, for example, binary data “0.” The data selector 510 is configured to receive the third address signal BA1 and output it as the second address signal ADDR.

[0123] If the memory banks are to be enabled, the mode selection signal MODE may be set to the second mode signal, for example, binary data “1.” The data selector 510 receives the selection signal f(BA0, SIG) output by the generation circuit 400 and outputs it as the second address signal ADDR.

[0124] In some embodiments, the data selector 510 may be a 1-to-N data selector (N is an integer greater than 2) to provide more modes and finely select the required address signals, thereby flexibly opening predetermined available memory banks.

[0125] The embodiment of the present disclosure also has the following example. As shown in Figure 7b, the selection circuit 500 may include multiple sub-selection units. For example, the first sub-selection unit 521 includes a first NMOS tube, and the second sub-selection unit 522 may include a series-connected NOT gate and a second NMOS tube or a PMOS tube.

[0126] It should be noted that in FIG7b, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). In other words, the second address signal ADDR may serve as the high-order address signal for a specified memory bank, and the first address signal BA0 may serve as the low-order address signal for a specified memory bank.

[0127] The control terminal of the first NMOS transistor can serve as a mode control terminal for receiving a mode control signal MODE. The input terminal of the NOT gate or the control terminal of the PMOS transistor is also used to receive the mode control signal MODE.

[0128] When the mode control signal MODE is a high level signal, the first NMOS transistor is turned on, the second NMOS transistor is turned off or the PMOS transistor is turned on, thereby inputting the third address signal BA1 as the second address signal ADDR to the second input terminal 220 .

[0129] When the mode control signal MODE is a low level signal, the first NMOS transistor is turned off or the PMOS transistor is turned on, and the second NMOS transistor is turned on, thereby inputting the selection signal f(BA0, SIG) as the second address signal ADDR to the second input terminal 220.

[0130] In some embodiments, the control signal SIG in the above embodiments may be used to represent one control signal or multiple control signals, or may be used to represent one control signal group or multiple control signal groups, wherein a control signal group may include one or more control signals. For example, the control signal SIG may include a first control signal group SIG1, a second control signal group SIG2, through an (N-1)th control signal group SIG(N-1).

[0131] In some embodiments, the control signal includes a first control signal and a second control signal.

[0132] The second signal input terminal includes a first control terminal for receiving the first control signal and a second control terminal for receiving the second control signal;

[0133] As shown in FIG8 a , the control signal SIG includes: a first control signal SIG1 and a second control signal SIG2 ; the second signal input terminal includes a first control terminal 331 for receiving the first control signal SIG1 and a second control terminal 332 for receiving the second control signal SIG2 ;

[0134] The generating circuit 400 is configured to output the selection signal f(BA0, SIG1, SIG2) to the data selector 510 based on the first control signal SIG1, the second control signal SIG2, and the first address signal BA0. As shown in FIG8a or 8c, a first input terminal 501 of the data selector 510 is configured to receive the third address signal BA1, and a second input terminal 502 of the data selector 510 is configured to receive the selection signal f(BA0, SIG1, SIG2) generated based on the first address signal BA0, the first control signal SIG1, and the second control signal SIG2. The output terminal of the data selector 510 is connected to the second input terminal 220 or the first input terminal 210.

[0135] It should be noted that in FIG8 a , the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the high-order address signal for a designated memory bank, and the first address signal BA0 may serve as the low-order address signal for a designated memory bank.

[0136] In some embodiments, as shown in FIG8 b , the data selector 510 may be a three-to-one data selector, and the generation circuit 400 may include a plurality of sub-generation units, for example, two.

[0137] The generation circuit 400 includes a first sub-generation unit 420 and a second sub-generation unit 430. The first sub-generation unit 420 is configured to receive the first address signal BA0 and signals from the first control signal group SIG1 and generate a first selection signal f1 (BA0, SIG1). The second sub-generation unit 430 is configured to receive the first address signal BA0 and signals from the second control signal group SIG2 and generate a second selection signal f2 (BA0, SIG1). The output terminals of the generation circuit 400 respectively output the first selection signal f1 (BA0, SIG1) and the second selection signal f2 (BA0, SIG1) and input them into the data selector 510.

[0138] It should be noted that in FIG8b, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the high-order address signal for specifying a memory bank, and the first address signal BA0 may serve as the low-order address signal for specifying a memory bank.

[0139] 8c , the second input terminal 502 of the data selector 510 is used to receive the selection signal f(BA0, SIG1, SIG2) generated based on the first address signal BA0, the first control signal SIG1 and the second control signal SIG2. The output terminal of the data selector 510 is connected to the first input terminal 210.

[0140] It should be noted that in FIG8c, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the low-order address signal for a designated memory bank, and the first address signal BA0 may serve as the high-order address signal for a designated memory bank.

[0141] In some other embodiments, the number of the control signal SIG may be greater than two to achieve a richer correspondence between the first address signal BA0 and the second address signal ADDR.

[0142] It is understood that the first control signal SIG1 and the second control signal SIG2 are used to set the relationship between the address signal output by the address selection circuit 300 and another address signal. That is, the corresponding relationship between the first address signal BA0 and the second address signal ADDR can be configured by setting the first control signal SIG1 and the second control signal SIG2. For example, the selection function of the address selection circuit 300 can be implemented by combining different logic gate circuits in the address selection circuit 300.

[0143] In some embodiments, as shown in FIG9 a or 9 b , the generating circuit 400 includes a NOT gate 610 , a first AND gate 620 , a second AND gate 630 , and an OR gate 640 ;

[0144] The input end of the NOT gate 610 serves as the first signal input end 320 ; the output end of the NOT gate 610 is connected to the first input end of the first AND gate 620 ;

[0145] The second input terminal of the first AND gate 620 serves as the first control terminal 331 , and the output terminal of the first AND gate 620 is connected to the first input terminal of the OR gate 640 ;

[0146] The first input terminal of the second AND gate 630 serves as the first signal input terminal 320 , the second input terminal of the second AND gate 630 serves as the second control terminal 332 , and the output terminal of the second AND gate is connected to the second input terminal of the OR gate 640 ;

[0147] An output terminal of the OR gate 640 is connected to the data selector 510 .

[0148] The embodiment of the present disclosure also has the following example. As shown in FIG. 9 a , the address selection circuit 300 is connected to the second input terminal 220 of the address decoding logic circuit 200 .

[0149] It should be noted that in FIG9a, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). That is, the second address signal ADDR may serve as the high-order address signal for a designated memory bank, and the first address signal BA0 may serve as the low-order address signal for a designated memory bank.

[0150] When the mode selection signal MODE is the first mode signal, the address selection circuit 300 is configured to output the third address signal BA1 as the second address signal ADDR to the address decoding logic circuit 200. At this time, all memory banks are enabled. That is, all memory banks are enabled (this situation is not shown in Table 1).

[0151] When the mode selection signal MODE is the second mode signal, the address selection circuit 300 is configured to output a corresponding second address signal ADDR to the address logic decoding circuit 200 according to the first address signal BA0 .

[0152] The following specifically describes the available memory banks under different configurations of the first control signal SIG1 and the second control signal SIG2 and the designated memory bank ultimately determined after inputting the corresponding address signal.

[0153] In the case where the first control signal SIG1 is set to “0” and the second control signal SIG2 is set to “0”:

[0154] If the first address signal BA0 is "0", the second address signal ADDR is "0", that is, the address signal is "00", and Bank0 is the designated memory bank.

[0155] If the first address signal BA0 is "1", the second address signal ADDR is "0", that is, the address signal is "01", and Bank1 is the designated memory bank.

[0156] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “00”, the available memory banks only include Bank0 and Bank1.

[0157] In the case where the first control signal SIG1 is set to “1” and the second control signal SIG2 is set to “0”:

[0158] If the first address signal BA0 is "0", the second address signal ADDR is "1", that is, the address signal is "10", and Bank2 is the designated memory bank.

[0159] If the first address signal BA0 is "1", the second address signal ADDR is "0", that is, the address signal is "01", and Bank1 is the designated memory bank.

[0160] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “10”, the available memory banks only include Bank2 and Bank1.

[0161] In the case where the first control signal SIG1 is set to “0” and the second control signal SIG2 is set to “1”:

[0162] If the first address signal BA0 is "0", the second address signal ADDR is "0", that is, the address signal is "00", and Bank0 is the designated memory bank.

[0163] If the first address signal BA0 is "1", the second address signal ADDR is "1", that is, the address signal is "11", and Bank3 is the designated memory bank.

[0164] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “01”, the available memory banks only include Bank0 and Bank3.

[0165] In the case where the first control signal SIG1 is set to “1” and the second control signal SIG2 is set to “1”:

[0166] If the first address signal BA0 is "0", the second address signal ADDR is "1", that is, the address signal is "10", and Bank2 is the designated memory bank.

[0167] If the first address signal BA0 is "1", the second address signal ADDR is "1", that is, the address signal is "11", and Bank3 is the designated memory bank.

[0168] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “11”, the available memory banks only include Bank2 and Bank3.

[0169] Table 1 shows the corresponding relationship between different values ​​of the first control signal SIG1 and the second control signal SIG2 of the control circuit shown in FIG. 9 a and the available memory banks.

[0170] Table 1

[0171] The embodiment of the present disclosure also has the following example. As shown in FIG. 9 b , the address selection circuit 300 is connected to the first input terminal 210 of the address decoding logic circuit 200 .

[0172] It should be noted that in FIG9b, the first input terminal 210 may be the terminal receiving the low-order address signal (e.g., the first bit), and the second input terminal 220 may be the terminal receiving the high-order address signal (e.g., the second bit). In other words, the second address signal ADDR may serve as the low-order address signal for a designated memory bank, and the first address signal BA0 may serve as the high-order address signal for a designated memory bank.

[0173] When the mode selection signal MODE is the first mode signal, the address selection circuit 300 is used to output the third address signal BA1 as the second address signal ADDR to the address decoding logic circuit 200. At this time, all storage bodies are turned on, that is, all storage bodies are available storage bodies (this situation is not shown in Table 2).

[0174] When the mode selection signal MODE is the second mode signal, the address selection circuit 300 is configured to output a corresponding second address signal ADDR to the address logic decoding circuit 200 according to the first address signal BA0 .

[0175] The following specifically describes the available memory banks under different configurations of the first control signal SIG1 and the second control signal SIG2 and the designated memory bank ultimately determined after inputting the corresponding address signal.

[0176] In the case where the first control signal SIG1 is set to “0” and the second control signal SIG2 is set to “0”:

[0177] If the first address signal BA0 is "0", the second address signal ADDR is "0", that is, the address signal is "00". At this time, Bank0 is the designated memory bank.

[0178] If the first address signal BA0 is "1", the second address signal ADDR is "0", that is, the address signal is "10". At this time, Bank2 is the designated memory bank.

[0179] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “00”, the available memory banks only include Bank0 and Bank2.

[0180] In the case where the first control signal SIG1 is set to “1” and the second control signal SIG2 is set to “0”:

[0181] If the first address signal BA0 is "0", the second address signal ADDR is "1". That is, the address signal is "01". At this time, Bank1 is the designated memory bank.

[0182] If the first address signal BA0 is "1", the second address signal ADDR is "0", that is, the address signal is "10". At this time, Bank2 is the designated memory bank.

[0183] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “10”, the available memory banks only include Bank1 and Bank2.

[0184] In the case where the first control signal SIG1 is set to “0” and the second control signal SIG2 is set to “1”:

[0185] If the first address signal BA0 is "0", the second address signal ADDR is "0", that is, the address signal is "00". At this time, Bank0 is the designated memory bank.

[0186] If the first address signal BA0 is "1", the second address signal ADDR is "1", that is, the address signal is "11". At this time, Bank3 is the designated memory bank.

[0187] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “01”, the available memory banks only include Bank0 and Bank3.

[0188] In the case where the first control signal SIG1 is set to “1” and the second control signal SIG2 is set to “1”:

[0189] If the first address signal BA0 is "0", the second address signal ADDR is "1", that is, the address signal is "01". At this time, Bank1 is the designated memory bank.

[0190] If the first address signal ADDR is "1", the second address signal ADDR is "1", that is, the address signal is "11". At this time, Bank3 is the designated memory bank.

[0191] That is, when the first control signal SIG1 and the second control signal SIG2 are used for “11”, the available memory banks only include Bank1 and Bank3.

[0192] Table 2 shows the corresponding relationship between different values ​​of the first control signal SIG1 and the second control signal SIG2 of the control circuit shown in FIG. 9 b and the available memory banks.

[0193] Table 2

[0194] In summary, when the values ​​of the first control signal SIG1 and the second control signal SIG2 are different, the obtained address signals are different, and the memory banks that are turned on are also different.

[0195] In some embodiments, when the addresses of two memory banks that need to be enabled are known, the values ​​of the first control signal SIG1 and the second control signal SIG2 can be determined by looking up Table 1.

[0196] For example, when it is necessary to turn on Bank0 and Bank1 using the control circuit 1000 of FIG. 9 a , the first control signal SIG1 and the second control signal SIG2 can be used as “00” by looking up Table 1 .

[0197] When it is necessary to use the control circuit 1000 of FIG. 9 a to turn on Bank 2 and Bank 1 , the first control signal SIG1 and the second control signal SIG2 can be used for “10” by looking up Table 1 .

[0198] When it is necessary to use the control circuit 1000 of FIG. 9 a to turn on Bank 0 and Bank 3 , the first control signal SIG1 and the second control signal SIG2 can be used as “01” by looking up Table 1 .

[0199] When it is necessary to use the control circuit 1000 of FIG. 9 a to turn on Bank 2 and Bank 3 , by looking up Table 1 , the first control signal SIG1 and the second control signal SIG2 can be used as “11”.

[0200] For another example, when it is necessary to use the control circuit 1000 of FIG. 9 b to turn on Bank 0 and Bank 2 , by looking up Table 2 , the first control signal SIG1 and the second control signal SIG2 can be used as “00”.

[0201] When it is necessary to use the control circuit 1000 of FIG. 9 b to turn on Bank 1 and Bank 2 , the first control signal SIG1 and the second control signal SIG2 can be used for “10” through the lookup table 2 .

[0202] When it is necessary to use the control circuit 1000 of FIG. 9 b to turn on Bank 0 and Bank 3 , the first control signal SIG1 and the second control signal SIG2 can be used for “10” by looking up Table 2 .

[0203] When it is necessary to use the control circuit 1000 of FIG. 9 b to turn on Bank 1 and Bank 3 , the first control signal SIG1 and the second control signal SIG2 can be used as “11” by looking up Table 2 .

[0204] If the setting is "0", the control signal to be set can be connected to an antifuse unit storing data "0" (blown antifuse) or a fuse unit storing data "0" (unblown fuse), and can also be connected to the ground voltage VSS. If the setting is "1", the control signal to be set can be connected to an antifuse unit storing data "1" (unblown antifuse) or a fuse unit storing data "1" (blown fuse), and can also be connected to the power supply voltage VDD.

[0205] The above is only one embodiment of a generation circuit for enabling two memory banks. A corresponding generation circuit and its corresponding lookup table may be designed according to predetermined available memory banks to implement the function of enabling a specified memory bank.

[0206] In some embodiments, the memory banks may be randomly turned on by randomly setting the values ​​of the first control signal SIG1 and the second control signal SIG2 .

[0207] An embodiment of the present disclosure provides a memory, including a control circuit of the memory as described in any of the above embodiments.

[0208] The memory may include but is not limited to NAND Flash Memory, Vertical NAND Flash Memory, NOR Flash Memory, Dynamic Random Access Memory (DRAM), Ferroelectric Random Access Memory (FRAM), Magnetic Random Access Memory (MRAM), Phase Change Random Access Memory (PCRAM), Resistive Random Access Memory (RRAM), Nano Random Access Memory (NRAM), etc.

[0209] An embodiment of the present disclosure provides a method for operating a memory, wherein the memory includes a control circuit as described in any of the above embodiments; as shown in FIG10 , the method includes:

[0210] Step S101: input a first address signal to the address decoding logic circuit of the control circuit;

[0211] Step S102: Input the first address signal and / or the third address signal to the address selection circuit of the control circuit according to a predetermined available memory bank; wherein the address selection circuit outputs a corresponding second address signal according to the first address signal and the control signal, or outputs the third address signal as the second address signal to the address decoding logic circuit;

[0212] The address decoding logic circuit of the control circuit outputs an address signal of a designated memory bank to a memory bank group in the memory based on a combination of the first address signal and the second address signal.

[0213] In some embodiments, all memory banks may be used as available memory banks. In this case, a first address signal may be input to an address decoding logic circuit of the control circuit and a third address signal may be input to an address selection circuit of the control circuit.

[0214] In some embodiments, if only a portion of the available memory banks are available, a first address signal can be input to the address decoding logic circuit of the control circuit, and a second address signal corresponding to the control signal output can be output. For example, if a memory bank in a memory bank group is damaged, the remaining memory banks in the memory bank group can be used as available memory banks. In this way, when operations such as reading or writing to a specific memory bank are required, the address of the specific memory bank can be output to the memory bank group using the control circuit. In other words, a specific memory bank can be selected from the available memory banks based on the address signal.

[0215] In some embodiments, when it has been decided to use only part of the memory banks in the memory bank group, no addresses are applied to the remaining unused memory banks, which are the available memory banks.

[0216] The address of a specified memory bank can be outputted through the control circuit, thereby opening the predetermined available memory bank and ensuring that data is read and written effectively.

[0217] In the disclosed embodiment, when the addresses of available memory banks are obtained, and the available memory banks are part of a memory bank group, a control signal and a first address signal may be received, and a corresponding second address signal may be generated using the control signal and the first address signal, thereby enabling a predetermined memory bank. When the addresses of available memory banks are obtained, and the available memory banks are all of the memory banks in the memory bank group, a first address signal and a third address signal may be received, thereby enabling the predetermined memory bank.

[0218] In some embodiments, as shown in FIG11 , the method further includes:

[0219] Step S201: Input a mode selection signal to the address selection circuit of the control circuit. When the mode selection signal is a first mode signal, the address selection circuit outputs a corresponding second address signal to the address decoding logic circuit based on the first address signal; and when the mode selection signal is a second mode signal, the address selection circuit outputs a third address signal as the second address signal to the address decoding logic circuit.

[0220] For a control circuit having a mode control terminal, when it is necessary to enable some memory banks, a second mode signal can be input to the mode control terminal of the address selection circuit of the control circuit. In some embodiments, the second mode signal can be high level to enable some memory banks.

[0221] In some embodiments, the need to enable some memory banks is temporary, and the second mode signal may be a variable signal.

[0222] In some embodiments, the need to enable a portion of the memory banks is permanent, and the second mode signal may be a fixed signal. For example, the mode control terminal may be connected to a power supply voltage, or to an anti-fuse unit storing data "1."

[0223] In some embodiments, when all memory banks need to be enabled, a first mode signal (eg, a low level signal) may be input to a mode control terminal of an address selection circuit of a control circuit to enable all memory banks.

[0224] In some embodiments, the need to enable all memory banks is temporary, and the first mode signal may be a variable signal.

[0225] In some embodiments, the need to enable all memory banks is permanent, and the first mode signal may be a fixed signal. For example, the mode control terminal may be connected to a power supply voltage, or to an anti-fuse unit storing data "1."

[0226] In some embodiments, as shown in FIG12 , the method further includes:

[0227] Step S301: input a control signal to the address selection circuit of the control circuit; wherein the address selection circuit outputs a corresponding second address signal according to the first address signal and the control signal.

[0228] In some embodiments, as shown in FIG13 , inputting a control signal to the address selection circuit of the control circuit in step S301 includes:

[0229] Step S401: Input a first control signal and a second control signal to an address selection circuit of the control circuit; wherein the address selection circuit outputs a corresponding second address signal according to the first address signal, the first control signal, and the second control signal.

[0230] For example, for the control circuit 1000 shown in FIG9a , if it is known that the memory banks to be enabled are Bank 0 and Bank 3, the required first control signal SIG1 and second control signal SIG2 can be obtained by looking up Table 1, thereby inputting the corresponding control signals to the address selection circuit of the control circuit. Since the control signals are fixed at this time, the address selection circuit can output the corresponding second address signal based on the first address signal, thus obtaining the address signal for the specified memory bank.

[0231] For example, when a memory bank group needs to be set to partial mode, for example, 8GB of a 16GB memory bank group is enabled, two memory banks can be selected for use. In this case, the first control signal SIG1 and the second control signal SIG2 can be non-fixed signals.

[0232] In some embodiments, as shown in FIG14 , the method further includes:

[0233] Step S501: Perform a functional test on multiple memory banks of each memory bank group in a memory to determine the available memory banks in the memory bank group;

[0234] Step S502: According to the address of the available memory bank, the second signal input terminal for receiving the control signal is locked in potential. The so-called potential locking means that the potential is set to a fixed potential of "1" or "0".

[0235] Before determining the available memory banks, step S501 may be performed to perform a functional test on multiple memory banks in each memory bank group in the memory. For example, if a memory bank is irreparably damaged or has too little remaining capacity, these memory banks may be treated as unavailable memory banks. The remaining memory banks may be used as available memory banks.

[0236] After determining the available memory banks, corresponding control signals can be configured so that the control circuit has the function of disabling the damaged memory banks. For example, the potential of the second signal input terminal of the control signal is locked according to the settings of Table 1 or Table 2 above to determine the available memory banks.

[0237] In some embodiments, as shown in FIG15 , in step S502 , the step of performing potential locking on the second signal input terminal for receiving the control signal according to the address of the available memory bank includes:

[0238] Step S601: programming a first control terminal for receiving a first control signal and a second control terminal for receiving a second control signal according to the address of the available memory bank.

[0239] For example, when the available storage bodies are Bank0 and Bank1, for the control circuit shown in Figure 9a, through lookup table 1, the first control terminal can be connected to a fuse or antifuse, and the fuse or antifuse can be burned to "0", and the second control terminal can be connected to another fuse or antifuse, and the fuse or antifuse can also be burned to "0".

[0240] Although the present disclosure has been described with reference to the current specific embodiments, ordinary technicians in this technical field should recognize that the above embodiments are only used to illustrate the present disclosure, and various equivalent changes or substitutions can be made without departing from the spirit of the present disclosure. Therefore, as long as the changes and modifications to the above embodiments are within the scope of the essential spirit of the present disclosure, they will fall within the scope of the claims of this application. Industrial Applicability

[0241] The memory and control circuitry provided by the disclosed embodiments utilize a first address signal to generate a corresponding second address signal. The first and second address signals can be used to indicate the address signal of a specific memory bank. By selecting corresponding relationships, a wider range of memory bank selection options are available within a memory bank group. This allows for more flexible memory bank utilization without wasting significant storage space.

Claims

1. A control circuit (1000) of a memory, wherein the memory comprises a plurality of memory bank groups; each of the memory bank groups comprises a plurality of memory banks; The control circuit (1000) comprises: An address decoding logic circuit (200) connected to at least one memory bank group and configured to output an address signal specifying a memory bank to the memory bank group; The address decoding logic circuit (200) comprises: a first input terminal (210) configured to receive a first address signal, and a second input terminal (220) configured to receive a second address signal; a combination of the first address signal and the second address signal is configured to be an address signal indicating the designated storage body; An address selection circuit (300) connected to the second input terminal (220) or the first input terminal (210); The address selection circuit (300) is configured to output the corresponding second address signal according to the first address signal or to output a predetermined third address signal as the second address signal to the address decoding logic circuit (200).

2. The memory control circuit (1000) according to claim 1, wherein: The address selection circuit (300) comprises: A mode control terminal (340) configured to receive a mode selection signal; wherein, when the mode selection signal is a first mode signal, the address selection circuit (300) is configured to output the third address signal as the second address signal to the address decoding logic circuit (200); and when the mode selection signal is a second mode signal, the address selection circuit (300) is configured to output the corresponding second address signal to the address logic decoding circuit according to the first address signal.

3. The memory control circuit (1000) according to claim 2, wherein: The address selection circuit (300) further comprises: a generation circuit (400) and a selection circuit (500); wherein the generation circuit (400) comprises a first signal input terminal (320), a second signal input terminal (330) and an output terminal; and the selection circuit (500) comprises a plurality of selection input terminals and output terminals; The first signal input terminal (320) is configured to receive the first address signal; The second signal input terminal (330) is configured to receive a control signal; The generating circuit (400) is configured to receive the control signal and the first address signal, and output a selection signal; The plurality of selection input terminals are configured to receive the selection signal and the third address signal; The output terminal of the selection circuit (500) is configured to output the second address signal.

4. The memory control circuit (1000) according to claim 3, wherein: The selection circuit (500) comprises: a data selector (510); The data selector (510) comprises a plurality of data input terminals and a control signal terminal; The plurality of data input terminals serve as the selection input terminals and are configured to receive the selection signal and the third address signal; The control signal terminal serves as the mode control terminal (340) and is configured to receive the mode selection signal.

5. The memory control circuit (1000) according to claim 4, wherein: The control signal comprises: a first control signal and a second control signal; the second signal input terminal (330) comprises a first control terminal (331) configured to receive the first control signal and a second control terminal (332) configured to receive the second control signal; The generating circuit (400) is configured to output the selection signal to the data selector (510) according to the first control signal, the second control signal and the first address signal.

6. The memory control circuit (1000) according to claim 5, wherein: The generating circuit (400) comprises: It includes a NOT gate (610), a first AND gate (620), a second AND gate (630) and an OR gate (640); The input end of the NOT gate (610) is connected to the first signal input end (320); the output end of the NOT gate (610) is connected to the first input end of the first AND gate (620); The second input end of the first AND gate (620) is the first control end (331), and the output end of the first AND gate (620) is connected to the first input end of the OR gate (640); The first input end of the second AND gate (630) is the first signal input end (320), the second input end of the second AND gate (630) is connected to the second control end (332), and the output end of the second AND gate (630) is connected to the second input end of the OR gate (640); The output end of the OR gate (640) is connected to the data selector (510).

7. A memory, comprising the control circuit (1000) of the memory according to any one of claims 1 to 6.

8. A method for operating a memory, the memory comprising the control circuit (1000) according to any one of claims 1 to 6; the method comprising: Inputting a first address signal to an address decoding logic circuit (200) of the control circuit (1000); According to a predetermined available storage body, the first address signal and / or the third address signal are input to the address selection circuit (300) of the control circuit (1000); wherein the address selection circuit (300) outputs a corresponding second address signal to the address decoding logic circuit (200) according to the first address signal or outputs the third address signal as the second address signal to the address decoding logic circuit (200); The address decoding logic circuit (200) of the control circuit (1000) outputs an address signal of a designated memory bank to a memory bank group in the memory based on a combination of the first address signal and the second address signal.

9. The method according to claim 8, wherein: The method further comprises: A mode selection signal is input to the address selection circuit (300) of the control circuit (1000); wherein, when the mode selection signal is a first mode signal, the address selection circuit (300) outputs a corresponding second address signal to the address decoding logic circuit (200) according to the first address signal; and when the mode selection signal is a second mode signal, a third address signal is output to the address decoding logic circuit (200) as the second address signal.

10. The method according to claim 8 or 9, wherein: The method further comprises: A control signal is input to the address selection circuit (300) of the control circuit (1000); wherein the address selection circuit (300) outputs a corresponding second address signal according to the first address signal and the control signal.

11. The method according to claim 10, wherein: The inputting of a control signal to the address selection circuit (300) of the control circuit (1000) comprises: A first control signal and a second control signal are input to an address selection circuit (300) of the control circuit (1000); wherein the address selection circuit (300) outputs a corresponding second address signal according to the first address signal, the first control signal and the second control signal.

12. The method according to any one of claims 8 to 10, wherein: The method further comprises: Performing functional tests on a plurality of memory banks of each memory bank group in the memory to determine the available memory banks in the memory bank group; According to the address of the available storage body, a second signal input terminal (330) configured to receive the control signal is potential locked.

13. The method according to claim 12, wherein: The step of performing potential locking on a second signal input terminal (330) configured to receive the control signal according to the address of the available storage body comprises: According to the address of the available storage body, a first control terminal (331) configured to receive a first control signal and a second control terminal (332) configured to receive a second control signal are respectively programmed accordingly.

Citation Information

Patent Citations

  • Semiconductor memory device

    CN101089999A

  • Configurable associated repair addresses and circuitry for memory device

    CN111833957A

  • Semiconductor devices and semiconductor systems including the same

    CN112783686A

  • Devices for performing a refresh operation based on power control operation

    CN113539321A

  • Address generation circuit and semiconductor memory device including the same

    US9552857B1