memory

By introducing a permission switching module into the memory cell group, flexible switching of memory trim latch configuration permissions is achieved, solving the problems of resource waste and poor usage flexibility, and improving the usage flexibility and space utilization efficiency of the memory.

CN123182723APending Publication Date: 2026-11-27BEIJING QINGYUN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611577497.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-12
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing shared memory trimming latch solutions suffer from resource and space waste and poor flexibility.

Method used

A permission switching module is introduced into the memory cell group to enable flexible switching of configuration permissions for the shared trim latch between different memory cells through configuration registers or package pins, allowing users to freely choose the memory cell to use.

Benefits of technology

It improves the flexibility of memory usage, reduces resource and space waste, simplifies user operation processes, and saves chip area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182723A_ABST
    Figure CN123182723A_ABST
Patent Text Reader

Abstract

The application provides a memory, a permission switching module is added in each memory cell group, the configuration permission of the shared trim latch in each memory cell group is no longer fixed on a certain memory cell in the memory cell group, but can be switched between different memory cells in the memory cell group, thereby releasing the use restriction on the user, the user no longer needs to pay attention to which memory cells can be disabled and which memory cells must be enabled, the user can freely select the memory cells to be used according to the requirement to configure the shared trim latch, and the use flexibility is greatly increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of memory technology, and in particular to a memory. Background Technology

[0002] In recent years, with the rapid development of industries such as artificial intelligence, the quality and requirements for high-performance chips (such as high bandwidth) have been increasing day by day. In order to save chip area and cost, manufacturers usually share some circuits or components with the same function in the chip, such as sharing trim latches for memory such as dynamic random access memory (DRAM).

[0003] However, current shared solutions for memory trimming latches generally suffer from problems such as wasted resources and space and poor flexibility of use, and urgently need improvement. Summary of the Invention

[0004] The purpose of this invention is to provide a memory that improves the flexibility of use while enabling shared adjustment latches.

[0005] To achieve the above objectives, the present invention provides a memory comprising a plurality of memory cell groups, each memory cell group including a shared adjustment latch, a permission switching module, and a plurality of memory cells, wherein:

[0006] The shared adjustment latch is shared by the plurality of storage units and is used to latch the corresponding adjustment information and to distribute the adjustment information to the plurality of storage units.

[0007] Each of the memory cells includes multiple rows of memory cells and multiple columns of memory cells;

[0008] The permission switching module is used to switch the configuration permission of the shared adjustment latch between different storage units according to the usage of the plurality of storage units, and the storage unit with the configuration permission configures the adjustment information in the shared adjustment latch.

[0009] Optionally, only a portion of the storage units in each storage unit group are eligible to participate in the switching of configuration permissions.

[0010] Optionally, the permission switching module includes a configuration register, which modifies the configuration value in the configuration register to switch the configuration permissions of the shared adjustment latch between different memory units.

[0011] Optionally, for each of the memory cell groups, the configuration register is set inside one of the memory cells, and when the memory cell where the configuration register is located is disabled, the permission switching module switches the configuration permission to the memory cell corresponding to the default value of the configuration register. When the memory cell where the configuration register is located is used, the permission switching module switches the configuration permission to the memory cell corresponding to the modified configuration value by modifying the configuration value in the configuration register to be different from the default value.

[0012] Optionally, for each of the memory cell groups, the configuration register is set independently of each of the individual memory cells in the memory cell group.

[0013] Optionally, for each of the memory cell groups, the permission switching module further includes a gate, which is coupled to the configuration register and each memory cell in the memory cell group that is eligible to participate in the configuration permission switching, and is used to select the transmission path between the corresponding memory cell and the shared tuning latch according to the configuration value of the configuration register, wherein the memory cell on the transmission path has the configuration permission.

[0014] Optionally, the memory cells in each of the memory cell groups are used in pairs.

[0015] Optionally, for each of the memory cell groups, the total number of memory cells is greater than or equal to 4; the permission switching module includes multiple single-bit configuration registers, each of the single-bit configuration registers being coupled to two corresponding memory cells in the memory cell group; the configuration value of the single-bit configuration register is switched between 0 and 1 to realize the configuration permission switching of the two memory cells coupled to it.

[0016] Optionally, the single-bit configuration register is located inside one of its coupled memory cells.

[0017] Optionally, the permission switching module includes multiple packaged pins, each of which is coupled to two corresponding memory cells in the memory cell group, and the high and low level switching of the packaged pins is used to realize the configuration permission switching of the corresponding two memory cells.

[0018] Compared with the prior art, the technical solution of the present invention has at least one of the following beneficial effects:

[0019] 1. This invention adds a permission switching module to the memory cell group, which allows the configuration permission of the shared trim latch in the memory cell group to no longer be fixed on a certain memory cell in the memory cell group, but to be switched between different memory cells in the memory cell group. This removes the restrictions on users, and users no longer need to worry about which memory cells can be disabled and which memory cells must be used. Users can freely choose the memory cells they want to use to configure the shared trim latch according to their needs, which greatly increases the flexibility of use.

[0020] 2. Because the configuration permissions of the shared trim latch can be used, flexible switching between different memory cells in the memory cell group can be achieved through the permission switching module. Therefore, the waste of resources and space caused by the shared trim latch configuration permissions being fixed to a certain memory cell in the memory cell group can be reduced.

[0021] 3. This permission switching module can be implemented using simple logic hardware such as configuration registers or packaged pins. The solution is simple, requires minimal modification to user documentation and processes, is easy to use, and can save chip area. Attached Figure Description

[0022] Figure 1 This is a schematic diagram illustrating the principle of a shared adjustment latch scheme for a memory.

[0023] Figure 2 This is a schematic diagram of the internal architecture of the memory according to the first embodiment of the present invention.

[0024] Figure 3 This is a schematic diagram of an example architecture of the memory and its internal permission switching module according to the first embodiment of the present invention.

[0025] Figure 4 for Figure 3 The diagram shows an example architecture of a group of memory cells with m=3.

[0026] Figure 5 for Figure 4 The diagram shows the principle of the shared scheme under the memory cell group architecture.

[0027] Figure 6 This is a schematic diagram of an example architecture of the memory and its internal permission switching module according to the second embodiment of the present invention.

[0028] Figure 7 for Figure 6 The diagram shows an example architecture of a group of memory cells with m=7.

[0029] Figure 8This is a schematic diagram of an example architecture of a memory and its internal permission switching module according to a third embodiment of the present invention.

[0030] Figure 9 This is a schematic diagram of an example architecture of the memory and its internal permission switching module according to the fourth embodiment of the present invention.

[0031] Figure 10 This is a schematic diagram of an example architecture of the memory and its internal permission switching module according to the fifth embodiment of the present invention. Detailed Implementation

[0032] In the following description, numerous specific details are set forth in order to provide a more thorough understanding of the invention. However, it will be apparent to those skilled in the art that the invention may be practiced without one or more of these details. In other instances, certain technical features well-known in the art have not been described in order to avoid confusion with the invention. It should be understood that the invention can be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, providing these embodiments will make the disclosure thorough and complete, and will fully convey the scope of the invention to those skilled in the art. The same reference numerals denote the same elements throughout. It should be understood that when an element is referred to as "connected to" or "coupled to" other elements, it may be directly connected to other elements, or there may be intervening elements. Conversely, when an element is referred to as "directly connected to" other elements, there are no intervening elements. As used herein, the singular forms "a," "an," and "the" are also intended to include the plural forms, unless the context clearly indicates otherwise. It should also be understood that the term "comprising" is used to identify the presence of features, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or groups. When used herein, the term "and / or" includes any and all combinations of the associated listed items.

[0033] The complexity of semiconductor manufacturing processes inevitably leads to process fluctuations during chip fabrication and packaging (which may manifest as linewidth deviations, uneven doping concentrations, etc.). This causes certain chip characteristics (such as voltage, frequency, and impedance) to deviate from design targets. If these parameters are not adjusted, these deviations can result in unstable chip performance or even malfunction. Therefore, trimming is a crucial step for chip manufacturing, allowing for precise adjustments to these characteristics to ensure stable performance under complex manufacturing processes and varying operating environments.

[0034] For example, due to variations in manufacturing processes, physical differences may exist between two memory devices manufactured under the same design (which could be memory chips or memory dies that need to be packaged together with other dies). This could lead to undesirable operational results when operating the other memory device under the same design, as the operating parameters (i.e., specific parameters, which may include at least one of propagation delay, slew rate, timing, ideal operating voltage, and operating current) of the one that successfully operates the other memory device. To compensate for the physical differences between different memories under the same design, appropriate tuning information can be determined for each memory device, and the operating parameters of the different memories can be tuned according to this tuning information. This allows each of the different memories under the same design to be successfully operated using the same external voltage, current, timing, and other operating parameters.

[0035] For example, due to variations in manufacturing processes, physical differences exist between different memory units within a memory array divided into multiple memory cells. This can lead to a situation where the operating parameters that successfully operate one memory unit produce diminished results when operating another. To compensate for these physical differences and enhance the performance of individual memory units, appropriate tuning information can be determined for each memory unit. Based on this tuning information, the operating parameters of different memory units can be adjusted, ensuring that each memory unit can be successfully operated using the same external voltage, current, and timing parameters.

[0036] In some examples, memory trimming information can be stored in a corresponding trim latch. During memory operation, this trim latch can provide the trimming information to the relevant locations in the memory to adjust the memory's operating parameters (also known as access parameters) to enhance the overall performance of the memory. Furthermore, to save chip area and cost, each trim latch can be configured to be shared by multiple memory banks.

[0037] The following is combined Figure 1 This section will explain in detail the principles and problems of the current shared scheme for adjusting latches.

[0038] Please refer to Figure 1 The entire memory array 10 of the memory (e.g., DRAM) is divided into several memory cell groups 100, each memory cell group 100 containing several (e.g., 4 or more) memory cell units and a common tuning latch 10a shared by these memory cell units.

[0039] Each memory unit comprises multiple rows and columns of memory cells. Each row of memory cells is coupled to a corresponding word line (WL, not shown) and corresponds to a specified row address. Each column of memory cells is coupled to a corresponding bit line (BL, not shown) and corresponds to a specified column address. By specifying the row and column addresses of the corresponding memory unit, the memory cells at the intersection of the corresponding row and column can be accessed independently, and the data stored therein can be read, written, or flushed.

[0040] Currently, for each memory cell group 100, the adjustment information in the common adjustment latch 10a in the memory cell group 100 is usually configured (or "controlled") through a fixed (or "default") memory cell unit (which can be called the "master memory cell unit") in the memory cell group 100. (That is, the configuration path of the common adjustment latch 10a in each memory cell group 100 is a fixed path). After configuring the common adjustment latch 10a, the common adjustment latch 10a will send the corresponding adjustment information to each memory cell unit in the memory cell group 100 at the same time, so as to realize the simultaneous control of all memory cell units in the memory cell group 100. Obviously, this requires that the master control memory unit in each memory unit group 100 used to configure the common tuning latch 10a must be used. If the user does not use the master control memory unit, the tuning information of other memory units in the memory unit group 100 cannot be configured, which creates usage requirements for the user and limits the user's flexibility.

[0041] For example, a memory cell group 100 has four memory cells: unit0, unit1, unit2, and unit3, and a shared trimming latch 10a shared by these four memory cells. Unit0 is the master memory cell of the memory cell group 100. The user configures the trimming information in the shared trimming latch 10a through unit0. In principle, the user (or the master control chip) can choose to use or not use the memory cells unit0 to unit3 (generally, they are used in pairs). Therefore, the usage scenarios of the user (or the master control chip) for the memory cells unit0 to unit3 in the memory cell group 100 include: using only unit0 and unit1, using only unit2 and unit3, using all three memory cells, and not using any of them.

[0042] After configuring the common adjustment latch 10a of the storage unit group 100 through storage unit unit0, the common adjustment latch 10a will send the corresponding adjustment information to the storage units unit0~unit3 in the storage unit group 100 at the same time, so as to realize the simultaneous control of the storage units unit0~unit3 in the storage unit group 100.

[0043] Obviously, when storage unit 0 in storage unit group 100 is disabled, the adjustment information of storage units 0 to 3 loses its configuration method, which is not allowed. Therefore, it can only be required that users cannot arbitrarily disable storage unit 0. However, users are not actually using storage unit 0, but only treating it as a configuration device for adjustment information. This leads to a great waste of resources and space, and reduces the flexibility of use.

[0044] Based on this, please refer to Figure 2 The present invention provides an improved memory (e.g., DRAM) comprising a plurality of memory cell groups 100, each memory cell group 100 comprising a shared tuning latch 10a, a permission switching module 10b and m+1 memory cells unit, i.e., memory cells unit0 to unitm, where m is an integer and m≥1.

[0045] The memory can be random access memory (RAM), such as dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), DDR2 SDRAM, DDR3 SDRAM, or any suitable memory. The memory cells are arranged in rows and columns in a memory array of 10. Each memory cell can use the amount of charge stored in its capacitor to represent whether a binary bit is 1 or 0.

[0046] The storage array 10 can be evenly divided into these storage unit groups 100. Each storage unit in each storage unit group 100 includes multiple storage cell rows and multiple storage cell columns. Each storage cell row is coupled to a corresponding word line (WL, not shown) and corresponds to a specified row address. Each storage cell column is coupled to a corresponding bit line (BL, not shown) and corresponds to a specified column address. By specifying the row address and column address of a corresponding storage unit, the storage cells at the intersection of the corresponding row and column in that storage unit can be accessed independently, and the stored data can be read, written, or refreshed.

[0047] In addition to sharing the tuning latch 10a, the access control module 10b, and the memory array 10, the memory may also include peripheral circuitry (not shown) coupled to the memory array 10. This circuitry responds to commands (CMD) and addresses (ADDR) received from the memory controller (not shown) to write data into or read data from the corresponding memory array 10, or to perform refresh operations on the corresponding memory array 10.

[0048] Alternatively, the peripheral circuitry can be evenly distributed among these memory cell groups 100, whereby each memory cell group 100 includes its own memory control circuitry, address decoding circuitry, analog circuitry (including input / output buffers, word line drive circuitry, etc.), sense amplifier (SSA), and memory array, etc.

[0049] In the technical solution of the present invention, for each storage unit group 100, the shared adjustment latch 10a is shared by the m+1 storage units unit0 to unitm in the storage unit group 100, and is used to latch the adjustment information required by the storage units unit0 to unitm, and simultaneously distribute the adjustment information to the storage units unit0 to unitm.

[0050] Optionally, after the adjustment test is completed, during the memory power-on initialization, the adjustment information obtained after the adjustment test can be configured into the common adjustment latch 10a by the memory unit currently having the configuration permission in the memory unit group 100 through the corresponding programmable device.

[0051] Among them, only a portion of the storage units unit0 to unitm may be eligible to participate in the configuration permission switching of the shared trim latch 10a, or all of the storage units unit0 to unitm may be eligible to participate in the configuration permission switching of the shared trim latch 10a.

[0052] The permission switching module 10b can switch the configuration permission of the shared adjustment latch 10a between different storage units based on the usage of each storage unit in the storage unit group 100 that is eligible to participate in the configuration permission switching of the shared adjustment latch 10a, such as which storage units are "enabled" or "disabled". It can also use the storage unit that currently has the configuration permission to configure the adjustment information in the shared adjustment latch 10a.

[0053] The technical solution of this invention, by adding a permission switching module 10b to the storage unit group 100, enables the configuration permission of the shared trimming latch 10a in the storage unit group 100 to no longer be fixed on a certain storage unit, but to switch between different storage units. This removes the restrictions on user use, and users no longer need to worry about which storage units can be disabled or which storage units must be enabled. Users can freely select the storage unit they want to use from the storage unit group 100 according to their needs, and use the permission switching module to switch the configuration permission of the shared trimming latch to one of the storage units selected by the user. This allows the shared trimming latch to be configured through the storage unit, greatly increasing the flexibility of use. At the same time, it avoids the problem that when the configuration permission of the shared trimming latch is fixed on a certain storage unit in the storage unit group, but that storage unit is not used, other storage units in the storage unit group cannot be configured with trimming information and cannot be used normally, thereby reducing the waste of memory resources and space.

[0054] It should be understood that in the technical solution of the present invention, the shared adjustment latch 10a can be implemented using any suitable circuit design. For example, the shared adjustment latch 10a can be a latch group composed of several small-capacity latches, each small-capacity latch storing some adjustment information (for example, the adjustment information may be of multiple types, and each small-capacity latch stores one type of adjustment information, etc.). The permission switching module 10b can be implemented using any suitable logic design, as long as it can achieve "switching of the configuration permission of the shared adjustment latch 10a between different memory units" and "without increasing excessive circuit design and process complexity" within its memory unit group 100.

[0055] The following is in conjunction with the appendix Figures 3 to 10 The technical solution of the present invention will be described in detail with reference to specific embodiments.

[0056] First Embodiment

[0057] Please refer to Figure 3, a memory (e.g., a DRAM) is provided in this embodiment, which includes a plurality of bank unit groups 100, and each bank unit group 100 includes a shared trimming latch 10a, an authority switching module 10b, and m+1 bank units unit, namely bank units unit0 to unitm, where m is an integer and m≥1. The authority switching module 10b includes a configuration register reg0, and by modifying a configuration value on an s bit of the configuration register reg0 (i.e., modifying the configuration value of the configuration register reg0), the authority switching module 10b implements switching of configuration authority of the shared trimming latch 10a between different bank units unit in the bank unit group 100 where the authority switching module 10b is located.

[0058] In this embodiment, there are 2 s bank units unit in each bank unit group 100 that are eligible to participate in switching of the configuration authority of the shared trimming latch 10a, where s is an integer, s≥1, and 2 s ≤m+1. When 2 s =m+1, each bank unit unit in the bank unit group 100 is eligible to participate in switching of the configuration authority of the shared trimming latch 10a; and when 2 s <m+1, a part of the bank units unit in the bank unit group 100 are not eligible to participate in switching of the configuration authority of the shared trimming latch 10a.

[0059] Please continue to refer to Figure 3 , in this embodiment, the configuration register reg0 is disposed inside one bank unit unit in the bank unit group 100 where the configuration register reg0 is located (which may be disposed inside unit0 or inside any other bank unit unit). When the bank unit unit where the configuration register reg0 is located is disabled (i.e., "not in use"), the configuration authority of the shared trimming latch 10a is on a bank unit unit corresponding to a default value of the configuration register reg0 (it may also be said that the authority switching module 10b switches the configuration authority of the shared trimming latch 10a to the bank unit unit corresponding to the default value of the configuration register reg0); and when the bank unit unit where the configuration register reg0 is located is enabled, the authority switching module 10b modifies the configuration value in the configuration register reg0 to be different from its default value, so as to switch the configuration authority of the shared trimming latch 10a to a bank unit unit corresponding to the modified configuration value.

[0060] It should be understood that in practical applications, users sometimes do not use all the memory units in the entire memory array. In this case, any suitable technical means can be used (e.g., the pins of unused memory units are not exposed) to connect those unused memory units to a low-power mode, or in other words, disable these unused memory units. Therefore, in each memory unit group 100, only a portion of the memory units can participate in the switching of configuration permissions for the shared tuning latch 10a.

[0061] The following example uses m=3 and s=1, and combines... Figures 3 to 5 The configuration principle of the shared adjustment latch 10a of the memory in this embodiment will be explained in detail.

[0062] Please refer to Figure 4 In this example, each storage unit group 100 contains four storage units, unit0 to unit3. The storage units unit0 to unit3 share the common trim latch 10a in the storage unit group 100, and only storage units unit0 and unit2 are eligible to participate in the switching of configuration permissions for the common trim latch 10a.

[0063] In this example, configuration register reg0 is a single-bit configuration register and is located inside memory unit 0 (meaning configuration register reg0 can only be configured through memory unit 0). The default value of configuration register reg0 is "1" (i.e., reg0=1). Under this default value, memory unit 2 uniformly configures the shared trimming latch 10a shared by memory units 0 to 3. When the configuration value of configuration register reg0 is changed from "1" to "0", memory unit 0 uniformly configures the shared trimming latch 10a. That is, when the configuration value of configuration register reg0 switches between 0 and 1, the configuration permission of shared trimming latch 10a switches between memory unit 0 and memory unit 2.

[0064] When the shared adjustment latch 10a is configured, the shared adjustment latch 10a will send the corresponding adjustment information to the memory units unit0~unit3 at the same time, so as to realize the simultaneous control of the four memory units unit0~unit3.

[0065] In this example, please combine Figure 4 and Figure 5Users use memory units unit0~unit3 in pairs. The usage of memory units unit0~unit3 within each memory unit group 100 can be categorized into the following types:

[0066] (1) Only memory units unit0 and unit1 are used. The configuration process of the shared trimming latch 10a in this case is as follows: By changing the configuration value of the configuration register reg0 from the default value "1" (reg0=1) to "0" (reg0=0) through memory unit unit0, the configuration permission of the shared trimming latch 10a can be switched from the default memory unit unit2 to memory unit unit0. The trimming information (including trimming address trim addr and trimming data trim data) is first configured into the shared trimming latch 10a through memory unit unit0, and then the shared trimming latch 10a is configured (set) into both memory units unit0 and unit1. At this time, the user can use memory units unit0 and unit1 normally. In this case, the trimming information of memory unit unit1 can be regarded as being configured through memory unit unit0.

[0067] (2) Only memory units unit2 and unit3 are used. The configuration process of the shared trimming latch 10a in this case is as follows: First, since memory unit0 is disabled, the configuration value of the configuration register reg0 cannot be modified through memory unit0, so it remains at the default value "1" (reg0=1). That is, the configuration permission of the shared trimming latch 10a is still the default memory unit unit2. The trimming information (including trimming address trim addr and trimming data trim data) is configured into the shared trimming latch 10a through memory unit unit2, and then the shared trimming latch 10a configures (set) it into memory units unit2 and unit3 at the same time. At this time, the user can use memory units unit2 and unit3 normally. In this case, the trimming information of memory unit unit3 can be regarded as being configured through memory unit unit2.

[0068] (3) All memory units unit0 to unit3 are used. The configuration process of the shared trimming latch 10a in this case is as follows: First, the configuration value of the configuration register reg0 is changed from the default value "1" (reg0=1) to "0" (reg0=0) through memory unit unit0. This switches the configuration permission of the shared trimming latch 10a from the default memory unit unit2 to memory unit unit0. The trimming information (including trimming address trim addr and trimming data trim data) is first configured into the shared trimming latch 10a through memory unit unit0, and then simultaneously configured (set) into memory units unit0 to unit3 by the shared trimming latch 10a. At this time, the user can use memory units unit0 to unit3 normally. In this case, the trimming information of memory units unit1 to unit3 can be regarded as being configured through memory unit unit0.

[0069] (4) None of the memory units unit0 to unit3 are used. In this case, there is no need to execute the configuration process of the shared adjustment latch 10a.

[0070] As can be seen from the above, the memory in this embodiment, because of the configuration register reg0 to switch the configuration permission of the shared trim latch 10a, no longer restricts users to use a specific memory unit unit0, thus improving flexibility. When memory unit unit0 is disabled, memory units unit2 and unit3 can still be used, reducing resource and space waste.

[0071] Second Embodiment

[0072] In the memory scheme of the first embodiment, when the number of memory cells in the memory cell group 100 is large (e.g., 8 or more), if the configuration register reg0 is set to a certain memory cell unit, once that memory cell unit is disabled, it can only configure the shared trimming latch 10a through the memory cell unit corresponding to the default value of the configuration register reg0. In this case, once both the memory cell where the configuration register reg0 is located and the memory cell unit corresponding to its default value are disabled, other memory cells in the memory cell group 100 will also be unable to function properly because they cannot be configured with trimming information. Figure 3 The memory usage flexibility of the proposed scheme needs further improvement.

[0073] To further improve the flexibility of memory usage and reduce resource waste compared to the first embodiment, please refer to... Figure 6This embodiment provides a memory, which also includes several memory cell groups 100. Each memory cell group 100 includes a shared adjustment latch 10a, a permission switching module 10b, and m+1 memory cells unit0 to unitm, where m is an integer and m≥1 (optionally, m≥7). The permission switching module 10b also includes a configuration register reg0. By modifying the configuration value of the s bit in the configuration register reg0 (i.e., modifying the configuration value of the configuration register reg0), the permission switching module 10b switches the configuration permission of the shared adjustment latch 10a between different memory cells unit within its memory cell group 100.

[0074] The memory in this embodiment differs from that in the first embodiment in that, for each memory cell group 100, the configuration register reg0 in the permission switching module 10b is set independently of the memory cells unit0~unitm in that memory cell group 100.

[0075] Therefore, even if the memory unit corresponding to the default value of the configuration register reg0 and other memory units that are eligible to participate in the configuration permission switching are disabled, as long as there is still one memory unit in the memory unit group 100 that is eligible to participate in the configuration permission switching, the permission switching module 10b can assign the configuration permission of the shared adjustment latch 10a to that memory unit. Thus, the shared adjustment latch 10a can be configured through that memory unit. This allows other memory units in the memory unit group 100 that are in use to still be configured with adjustment information by the shared adjustment latch 10a and used normally, improving the flexibility of use and reducing resource waste.

[0076] The following example uses m=7 and s=2, and combines... Figure 7 The configuration principle of the shared adjustment latch 10a of the memory in this embodiment will be explained in detail.

[0077] Please refer to Figure 7 In this example, each memory cell group 100 contains eight memory cells, unit0 to unit7, and these memory cells share a common trim latch 10a within the memory cell group 100. The permission switching module 10b has a configuration register reg0, and the configuration register reg0 is set independently of memory cells unit0 to unit7.

[0078] In this example, users use memory units 0 through 7 in pairs within each memory unit group 100, and the paired use of memory units 0 through 7 can be categorized into the following 16 cases:

[0079] (1) Only use unit0 and unit1;

[0080] (2) Only use unit2 and unit3;

[0081] (3) Only use unit4 and unit5;

[0082] (4) Only use unit6 and unit7;

[0083] (5) Only use unit0 and unit1, unit2 and unit3;

[0084] (6) Only use unit0 and unit1, unit4 and unit5;

[0085] (7) Only use unit0 and unit1, unit6 and unit7;

[0086] (8) Use only unit2 and unit3, and unit4 and unit5;

[0087] (9) Only use unit2 and unit3, unit6 and unit7;

[0088] (10) Only use unit4 and unit5, unit6 and unit7;

[0089] (11) Only use unit2~unit3, unit4~unit5, unit6~unit7;

[0090] (12) Only use unit0~unit1, unit4~unit5, unit6~unit7;

[0091] (13) Only use unit0~unit1, unit2~unit3, unit6~unit7;

[0092] (14) Only use unit0~unit1, unit2~unit3, unit4~unit5;

[0093] (15) All units from 0 to 7 are used;

[0094] (16) Units 0 through 7 are not used.

[0095] Among them, units0, 2, 4, and 6 of storage units 0 to 7 are eligible to participate in the configuration permission switching of the shared adjustment latch 10a, i.e., 2 s =4.

[0096] For the cases (1), (5)~(7), and (12)~(15) mentioned above, since memory unit 0 is used, the configuration process of the shared trimming latch 10a in these cases can be as follows: Modify the configuration value of the 2 bits in the configuration register reg0 to "0", thereby switching the configuration permission of the shared trimming latch 10a to memory unit 0. The trimming information (including trimming address trim addr and trimming data trim data) is first configured into the shared trimming latch 10a through memory unit 0, and then simultaneously configured (set) into other used memory units by the shared trimming latch 10a. At this time, the user can use memory unit 0 and other used memory units normally. In this case, the trimming information of the used memory units can be regarded as being configured through memory unit 0.

[0097] For the cases (2), (8)~(9) and (11) above, since memory unit 2 is used, the configuration process of the shared trimming latch 10a in these cases can be as follows: Modify the configuration value of the 2 bits in the configuration register reg0 to "1", thereby switching the configuration permission of the shared trimming latch 10a to memory unit 2. The trimming information (including trimming address trim addr and trimming data trim data) is configured into the shared trimming latch 10a through memory unit 2, and then the shared trimming latch 10a is simultaneously configured (set) into memory unit 2 and other used memory units. At this time, the user can use memory unit 2 and other used memory units normally. In this case, the trimming information of other used memory units can be regarded as being configured through memory unit 2.

[0098] For cases (3) and (10) above, since memory unit 4 is used, the configuration process of the shared trimming latch 10a in these cases can be as follows: Modify the configuration value of the 2-bit bit in the configuration register reg0 to "2", thereby switching the configuration permission of the shared trimming latch 10a to memory unit 4. The trimming information (including trimming address trim addr and trimming data trim data) is configured into the shared trimming latch 10a through memory unit 4, and then the shared trimming latch 10a is simultaneously configured (set) into memory unit 4 and other used memory units. At this time, the user can use memory unit 4 and other used memory units normally. In this case, the trimming information of other used memory units can be regarded as being configured through memory unit 4.

[0099] In case (4) above, since memory unit 6 is used, the configuration process of the shared trimming latch 10a in these cases can be as follows: Modify the configuration value of the 2-bit bit in the configuration register reg0 to "3", thereby switching the configuration permission of the shared trimming latch 10a to memory unit 6. The trimming information (including trimming address trim addr and trimming data trim data) is configured into the shared trimming latch 10a through memory unit 6, and then the shared trimming latch 10a is simultaneously configured (set) into memory unit 6 and memory unit 7. At this time, the user can use memory unit 6 and its memory unit 7 normally. In this case, the trimming information of memory unit 7 can be regarded as being configured through memory unit 6.

[0100] It is worth noting that, in the cases (5) to (15) above, when two or more memory units are used and are eligible to participate in the configuration permission switching of the shared trim latch 10a, in one example, the configuration permission priority of these memory units can be set. Therefore, when modifying the configuration value of the 2 bits in the configuration register reg0, the principle is to switch the configuration permission of the shared trim latch 10a to the memory unit with higher priority. The configuration value corresponding to the memory unit with the highest or second highest priority can be set to the default value of the configuration register reg0. For example, in the cases (5) to (7) and (12) to (15) above, the configuration value of the 2 bits in the configuration register reg0 is modified to "0" first, so that only memory unit unit0 is used to configure other used memory units unit. In another example, when modifying the configuration value of the 2 bits in the configuration register reg0, its configuration value can be modified to the configuration value corresponding to any of the used memory units that are eligible to participate in the configuration permission switching of the shared trim latch 10a. For example, in the case of (12) above, unit0, unit4, and unit6 are all used and all have the qualification to participate in the configuration permission switching of the shared adjustment latch 10a. They can choose to modify the configuration value of the 2 bits in the configuration register reg0 to "0", thereby configuring other used memory units unit0~unit1, unit4~unit7 through memory unit unit0; or they can choose to modify the configuration value of the 2 bits in the configuration register reg0 to "2", thereby configuring other used memory units unit0~unit1, unit4~unit7 through memory unit unit4; or they can choose to modify the configuration value of the 2 bits in the configuration register reg0 to "3", thereby configuring other used memory units unit0~unit1, unit4~unit7 through memory unit unit6.

[0101] In summary, the configuration values ​​on the 2 bits of the configuration register reg0 in this example are as follows:

[0102] 0: Configure the shared trimming latch 10a through unit0, thereby controlling the trimming information configuration of all units;

[0103] 1: Configure the shared trim latch 10a through unit2, thereby controlling the trim configuration of all units;

[0104] 2: Configure the shared trim latch 10a through unit4 to control the trim configuration of all units;

[0105] 3: Configure the shared trim latch 10a through unit6 to control the trim configuration of all units.

[0106] Alternatively, the configuration value corresponding to any one of the memory units unit0, unit2, unit4, and unit6 can be specified as the default value of the configuration register reg0.

[0107] In this embodiment, even if the memory unit corresponding to the default value of the configuration register reg0 and other memory units eligible to participate in the configuration permission switching are disabled, as long as there is still one memory unit in the memory unit group 100 eligible to participate in the configuration permission switching in use, the permission switching module 10b can allocate the configuration permission of the shared trimming latch 10a to that memory unit, thereby configuring the shared trimming latch 10a through that memory unit. This allows other memory units in the memory unit group 100 that are in use to still be configured with trimming information by the shared trimming latch 10a and used normally. For example, in the case (10) described above, even if unit0 and unit2 are disabled (one of them corresponds to the default value of the configuration register reg0), the shared trimming latch 10a can be configured by modifying the configuration value of the configuration register reg0 to "2" or "3", thereby controlling the trimming information of unit4~unit7 and enabling unit4~unit7 to be used normally. Clearly, compared to the first embodiment, this embodiment further improves the flexibility of memory use and reduces the waste of memory resources and space.

[0108] Third Embodiment

[0109] Please refer to Figure 8 This embodiment also provides a memory (e.g., DRAM), which includes several memory cell groups 100. Each memory cell group 100 includes a shared tuning latch 10a, a permission switching module 10b, and m+1 memory cells, i.e., memory cells unit0~unitm, where m is an integer and m≥1.

[0110] The memory in this embodiment differs from that in the second embodiment in that the permission switching module 10 includes not only a configuration register reg0 set independently of the memory units unit0~unitm, but also a selector MUX. The selector MUX is coupled to the configuration register reg0 and each memory unit in the memory unit group 100 that is eligible to participate in the configuration permission switching of the shared tuning latch 10a.

[0111] In this embodiment, there are 2 storage units unit0~unitm. sEach storage unit is eligible to participate in the switching of configuration permissions for the shared tuning latch 10a, 2 s ≤m+1, and modifying the configuration value of the s bit in the configuration register reg0, will allow the configuration permissions of the shared adjustment latch 10a to be set within these 2 bits. s The configuration principle for switching between memory units and sharing the trim latch 10a is as follows:

[0112] First, by modifying the configuration value of the s bit in the configuration register reg0, the selector MUX can be controlled to select the transmission path from the memory unit corresponding to the configuration value to the common trimming latch 10a. That is, the memory unit on the selected transmission path has the configuration permission of the common trimming latch 10a.

[0113] Next, the trimming information (including trimming address trim addr and trimming data trim data) can be configured into the common trimming latch 10a through the storage unit and its transmission path;

[0114] Subsequently, the shared adjustment latch 10a simultaneously configures the adjustment information into each of the used memory units.

[0115] Optionally, all memory units in each memory unit group 100 of this embodiment are used in pairs.

[0116] This embodiment can also achieve the switching of configuration permissions of the shared tuning latch 10a between different memory units by configuring simple logic devices such as register reg0 and strobe MUX.

[0117] Fourth embodiment

[0118] Please refer to Figure 9 This embodiment also provides a memory (e.g., DRAM), which includes several memory cell groups 100. Each memory cell group 100 includes a shared tuning latch 10a, a permission switching module 10b, and m+1 memory cells, i.e., memory cells unit0~unitm, where m is an integer and m≥1.

[0119] The memory in this embodiment differs from the first embodiment in that, for each memory cell group 100, the total number of its memory cell units m+1≥4, of which 2k memory cell units are eligible to participate in the configuration permission switching of the shared adjustment latch 10a; the permission switching module 10 includes k (k is an integer and k≥1, 2k≤m+1) single-bit configuration registers reg1, reg2, ..., each single-bit configuration register is coupled to two corresponding memory cell units in the memory cell group 100, and the configuration value of each single-bit configuration register is switched between 0 and 1 to realize the configuration permission switching of the two memory cell units coupled to it (the remaining single-bit configuration registers can be disabled or floating, and their values ​​cannot be set to 0 or 1).

[0120] Optionally, all memory units in each memory unit group 100 of this embodiment are used in pairs.

[0121] Optionally, each single-bit configuration register is located inside one of the memory cells it is coupled to.

[0122] For example, single-bit configuration register reg1 is coupled to memory units uni0 and unit2 and is located inside memory unit uni0; single-bit configuration register reg2 is coupled to memory units uni4 and unit6 and is located inside memory unit uni4, and so on. When only single-bit configuration register reg1 is enabled, and the other single-bit configuration registers are disabled or floating (their values ​​cannot be configured to 0 or 1), if reg1 is configured as 0, the configuration permission of the shared trimming latch 10a is switched to memory unit uni0; if reg1 is configured as 1, the configuration permission of the shared trimming latch 10a is switched to memory unit uni2. When only single-bit configuration register reg1 is enabled, and the other single-bit configuration registers are disabled or floating (their values ​​cannot be configured to 0 or 1), if reg2 is configured as 0, the configuration permission of the shared trimming latch 10a is switched to memory unit uni4; if reg2 is configured as 1, the configuration permission of the shared trimming latch 10a is switched to memory unit uni6, and so on.

[0123] This embodiment uses multiple single-bit configuration registers to form a permission switching module, which can also realize the switching of configuration permissions of the shared trim latch 10a between different memory units.

[0124] Fifth embodiment

[0125] Please refer to Figure 9This embodiment also provides a memory (e.g., DRAM), which includes several memory cell groups 100. Each memory cell group 100 includes a shared tuning latch 10a, a permission switching module 10b, and m+1 memory cells, i.e., memory cells unit0~unitm, where m is an integer and m≥1.

[0126] Optionally, the total number of storage units in each storage unit group 100 is m+1≥4, of which 2k storage units are eligible to participate in the configuration permission switching of the shared tuning latch 10a;

[0127] The memory in this embodiment differs from that in the fourth embodiment in that, for each memory cell group 100, the permission switching module 10 includes k (k is an integer and k≥1, 2k≤m+1) packaged pins pin1, pin2, ..., pink. Each packaged pin is coupled to two corresponding memory cells in the memory cell group 100. The high and low level switching of each packaged pin is used to realize the configuration permission switching of the two memory cells coupled to it (the remaining packaged pins can be disabled or floated).

[0128] Optionally, all memory units in each memory unit group 100 of this embodiment are used in pairs.

[0129] For example, package pin 1 is coupled to memory cell uni0 and unit2, package pin 2 is coupled to memory cell uni4 and unit6 and is located inside memory cell uni4, and so on. When only pin 1 is enabled and the remaining pins 2 to pink are disabled or floating, if the configuration pin 1 level is pulled low (i.e., pin 1 = 0), the configuration permission of the shared trimming latch 10a switches to memory cell uni0; if the pin 1 level is pulled high (i.e., pin 1 = 1), the configuration permission of the shared trimming latch 10a switches to memory cell uni2. When only pin 2 is enabled and the remaining pins are disabled or floating, if the configuration pin 2 level is pulled low (i.e., pin 2 = 0), the configuration permission of the shared trimming latch 10a switches to memory cell uni4; if the pin 2 level is pulled high (i.e., pin 2 = 1), the configuration permission of the shared trimming latch 10a switches to memory cell uni6, and so on.

[0130] This embodiment uses a packaged pin to form a permission switching module, which can also realize the switching of configuration permissions of the shared trim latch 10a between different memory units.

[0131] The above description is only a description of preferred embodiments of the present invention and is not intended to limit the scope of the present invention in any way. Any changes or modifications made by those skilled in the art based on the above disclosure shall fall within the protection scope of the present invention.

Claims

1. A memory, characterized in that, The memory includes several groups of memory cells, each group of memory cells including a shared adjustment latch, a permission switching module, and several memory cells, wherein: The shared adjustment latch is shared by the plurality of storage units and is used to latch the corresponding adjustment information and to distribute the adjustment information to the plurality of storage units. Each of the memory cells includes multiple rows of memory cells and multiple columns of memory cells; The permission switching module is used to switch the configuration permission of the shared adjustment latch between different storage units according to the usage of the plurality of storage units, and the storage unit with the configuration permission configures the adjustment information in the shared adjustment latch.

2. The memory as claimed in claim 1, characterized in that, Only a subset of the storage units in each storage unit group are eligible to participate in the switching of configuration permissions.

3. The memory as described in claim 1 or 2, characterized in that, The permission switching module includes a configuration register. The permission switching module switches the configuration permissions of the shared adjustment latch between different memory units by modifying the configuration value in the configuration register.

4. The memory as described in claim 3, characterized in that, For each of the memory cell groups, the configuration register is set inside one of the memory cells. When the memory cell where the configuration register is located is disabled, the permission switching module switches the configuration permission to the memory cell corresponding to the default value of the configuration register. When the memory cell where the configuration register is located is used, the permission switching module switches the configuration permission to the memory cell corresponding to the modified configuration value by modifying the configuration value in the configuration register to be different from the default value.

5. The memory as described in claim 3, characterized in that, For each of the memory cell groups, the configuration register is set independently of each of the individual memory cells in the memory cell group.

6. The memory as claimed in claim 5, characterized in that, For each of the memory cell groups, the permission switching module further includes a gate, which is coupled to the configuration register and each memory cell in the memory cell group that is eligible to participate in the configuration permission switching, and is used to select the transmission path between the corresponding memory cell and the shared tuning latch according to the configuration value of the configuration register, wherein the memory cell on the transmission path has the configuration permission.

7. The memory as described in any one of claims 1-2 and 4-6, characterized in that, The memory cells in each of the memory cell groups are used in pairs.

8. The memory as claimed in claim 1 or 2, characterized in that, For each of the memory cell groups, the total number of memory cells is greater than or equal to 4; the permission switching module includes multiple single-bit configuration registers, each of the single-bit configuration registers being coupled to two corresponding memory cells in the memory cell group; the configuration value of the single-bit configuration register is switched between 0 and 1 to realize the configuration permission switching of the two memory cells coupled to it.

9. The memory as claimed in claim 8, characterized in that, The single-bit configuration register is located inside one of its coupled memory cells.

10. The memory as claimed in claim 1 or 2, characterized in that, The permission switching module includes multiple packaged pins, each of which is coupled to two corresponding memory cells in the memory cell group. The high and low level switching of the packaged pins is used to switch the configuration permissions of the corresponding two memory cells.