Data configuration circuit and method based on memory array
Patent Information
- Application Number
- CN202111449101.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-11-30
Smart Images

Figure CN114171075B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of integrated circuits, and in particular to a data configuration circuit and method based on a memory array. Background Art
[0002] FPGA is a logic device with rich hardware resources, powerful parallel processing capabilities and flexible reconfiguration capabilities. These features make FPGA more and more widely used in many fields such as data processing, communication, and networking. Since FPGA is reconfigurable, the memory array in FPGA can be reconfigured to perform different functions.
[0003] At present, the data reconfiguration circuit in the FPGA controls all the memory arrays in the FPGA through the signals in the upper layer code stream each time the FPGA is reconfigured, so that all the memory arrays are reconfigured to make the FPGA perform different functions. However, reconfiguring all the memory arrays will cause a waste of computing resources and storage resources in the FPGA, and reduce the efficiency of data reconfiguration. Summary of the invention
[0004] The embodiments of the present application provide a data configuration circuit and method based on a memory array, which can avoid the waste of computing resources and storage resources in FPGA and improve the efficiency of data reconfiguration.
[0005] In a first aspect, an embodiment of the present application provides a data configuration circuit based on a memory array, comprising:
[0006] A multi-level memory array, each level of the memory array is used to receive a first control signal and a first data signal, and output a second data signal according to the first control signal and the first data signal; wherein the memory array is used to perform data configuration according to the first data signal under the control of the first control signal;
[0007] A multi-stage control circuit, each stage of the control circuit is used to receive a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal and a fourth data signal; output a second selection signal according to the address selection signal and the identity signal, output a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal; output a third control signal and a fourth control signal according to the second control signal and the second selection signal;
[0008] The multi-stage control circuits are cascaded, and the multi-stage control circuits correspond to the multi-stage memory arrays one by one; the second data signal is used to be transmitted to the next stage control circuit as the third data signal of the next stage control circuit, the fifth data signal is used to be transmitted to the next stage control circuit as the fourth data signal of the next stage control circuit, the sixth data signal is used to be transmitted to the memory array corresponding to the control circuit as the first data signal of the memory array, the second selection signal is used to be transmitted to the next stage control circuit as the first selection signal of the next stage control circuit, the third control signal is used to be transmitted to the memory array as the first control signal of the memory array, and the fourth control signal is used to be transmitted to the next stage control circuit as the second control signal of the next stage control circuit;
[0009] Wherein, when the multi-level memory arrays are all configured with data, the second data signals output by the multi-level memory arrays are all valid, the second control signal is valid, the sixth data signals output by the multi-level control circuits are all invalid, and the second data signals output by the memory arrays are all buffered by the control circuits and then transmitted to the next level memory array;
[0010] When data is configured for a certain memory array, the second control signal is valid, the sixth data signal output by the control circuit corresponding to the certain memory array is valid, and the fifth data signal output by the control circuit corresponding to the certain memory array is the same as the sixth data signal.
[0011] In one possible implementation, the control circuit includes a selection module for generating the second selection signal according to the address selection signal and the identity identification signal; wherein, when the second selection signal is at a high level, the second selection signal is used to indicate that the memory array corresponding to the control circuit is selected.
[0012] In a possible implementation, the control circuit includes a data selection module, which is used to generate the fifth data signal and the sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal.
[0013] In a possible implementation, the control circuit includes a control module, which is used to generate the third control signal according to the second selection signal and the second control signal, so that the memory array corresponding to the control circuit completes data configuration.
[0014] In a possible implementation, the third control signal includes a first write signal and a first word line signal, the second control signal includes a second initialization signal, a second write signal and a second word line signal, and the control module includes a first control module and a second control module;
[0015] The first control module is used to generate the first word line signal according to the second initialization signal, the second word line signal, the address selection signal and the second selection signal; the first word line signal is used to be transmitted to the memory array corresponding to the control circuit;
[0016] The second control module is used for determining the first write signal according to the second selection signal and the second write signal;
[0017] When the first word line signal is valid and the first write signal is valid, the memory array is used to perform data configuration according to the first data signal under the drive of the first word line signal.
[0018] In a possible implementation, the third control signal includes a first initialization signal, the second control signal includes a second initialization signal, and the control module further includes a third control module, which is used to generate the first initialization signal according to the second selection signal and the second initialization signal; the first initialization signal is used to be transmitted to the memory array corresponding to the control circuit;
[0019] When the first initialization signal is valid, the memory array is used to be initialized according to the first initialization signal before data configuration to delete data in the memory array.
[0020] In a possible implementation, the address selection signal includes a k-bit character, and the identity signal includes a k-1-bit character;
[0021] The gating module is used to compare the characters from the 1st bit to the k-1th bit in the address selection signal with the characters from the 1st bit to the k-1th bit in the identity signal in a one-to-one correspondence to obtain a comparison signal; wherein, when the comparison signal is at a high level, the address selection signal matches the identity signal;
[0022] Determining the second selection signal according to the k-th character in the address selection signal and the comparison signal;
[0023] Wherein, when the k-th character is at a high level, the second selection signal is at a high level; when the k-th character is at a low level and the comparison signal is at a high level, the second selection signal is at a high level.
[0024] In a possible implementation, the third control signal includes a first read signal, the second control signal includes a second read signal, and the control module further includes a fourth control module, which is used to generate the first read signal according to the second selection signal and the second read signal; the first read signal is used to be transmitted to the memory array corresponding to the control circuit;
[0025] When the first read signal is valid, the memory array is used to read data in the memory array according to the first read signal.
[0026] In a possible implementation, the second control signal and the fourth control signal include a second initialization signal, a second write signal, and a second read signal, and the control circuit further includes a buffer;
[0027] The buffer is used to buffer the second initialization signal, the second write signal and the second read signal, and then output the second initialization signal, the second write signal and the second read signal to the next level control circuit.
[0028] In a second aspect, an embodiment of the present application provides a data configuration method based on a memory array, characterized in that it is applied to the data configuration circuit based on the memory array described in the first aspect or any possible implementation of the first aspect, the data configuration circuit comprising: a multi-level memory array and a multi-level control circuit, the multi-level control circuits are cascaded, and the multi-level control circuits correspond one-to-one to the multi-level memory array; the method comprises:
[0029] Each level of the memory array in the multi-level memory array is used to receive a first control signal and a first data signal, and output a second data signal according to the first control signal and the first data signal; wherein the memory array performs data configuration according to the first data signal under the control of the first control signal;
[0030] Each control circuit of the multi-stage control circuit is used to receive a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal and a fourth data signal; output a second selection signal according to the address selection signal and the identity signal, output a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the second control signal, the third data signal and the fourth data signal; output a third control signal and a fourth control signal according to the second control signal and the second selection signal;
[0031] The second data signal is used to be transmitted to the next-stage control circuit as the third data signal of the next-stage control circuit, the fifth data signal is used to be transmitted to the next-stage control circuit as the fourth data signal of the next-stage control circuit, the sixth data signal is used to be transmitted to the memory array corresponding to the control circuit as the first data signal of the memory array, the second selection signal is used to be transmitted to the next-stage control circuit as the first selection signal of the next-stage control circuit, the third control signal is used to be transmitted to the memory array as the first control signal of the memory array, and the fourth control signal is used to be transmitted to the next-stage control circuit as the second control signal of the next-stage control circuit;
[0032] Wherein, when the multi-level memory arrays are all performing data configuration, the second data signals outputted by the multi-level memory arrays are all valid, the second control signal is valid, the sixth data signals outputted by the multi-level control circuits are all invalid, the second data signals outputted by the memory arrays are all buffered by the control circuits and then transmitted to the next-level memory array, and the multi-level memory arrays perform data configuration according to the first data signal under the control of the second control signal;
[0033] When data configuration is performed on a certain memory array, the second control signal is valid, the sixth data signal output by the control circuit corresponding to the certain memory array is valid, and the fifth data signal output by the control circuit corresponding to the certain memory array is the same as the sixth data signal, and the certain memory array is controlled by the second control signal and performs data configuration according to the sixth data signal.
[0034] In a possible implementation, the control circuit includes a gating module;
[0035] The step of outputting a second selection signal according to the address selection signal and the identity identification signal comprises:
[0036] The selection module generates the second selection signal according to the address selection signal and the identity identification signal; wherein, when the second selection signal is at a high level, the second selection signal is used to indicate that the memory array corresponding to the control circuit is selected.
[0037] In a possible implementation, the control circuit includes a data selection module;
[0038] The step of outputting a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal comprises:
[0039] The data selection module generates the fifth data signal and the sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal.
[0040] In a possible implementation, the control circuit includes a control module and a buffer;
[0041] Outputting a third control signal and a fourth control signal according to the second control signal and the second selection signal comprises:
[0042] The control module generates the third control signal according to the second selection signal and the second control signal;
[0043] The buffer buffers the second control signal and then outputs the fourth control signal.
[0044] In a possible implementation, the third control signal includes a first write signal and a first word line signal, the second control signal includes a second initialization signal, a second write signal and a second word line signal, and the control module includes a first control module and a second control module;
[0045] The control module generates the third control signal according to the second selection signal and the second control signal, including:
[0046] The first control module generates the first word line signal according to the second initialization signal, the second word line signal, the address selection signal and the second selection signal; the first word line signal is used to be transmitted to the memory array corresponding to the control circuit;
[0047] The second control module generates a first write signal according to the second selection signal and the second write signal;
[0048] The memory array performs data configuration according to the first data signal under the control of the first control signal, including:
[0049] When the first word line signal is valid and the first write signal is valid, the first word line signal is used to drive the memory array to perform data configuration according to the first data signal when the first write signal is valid.
[0050] In a possible implementation, the third control signal includes a first initialization signal, the second control signal includes a second initialization signal, and the control module further includes a third control module;
[0051] The control module generates the third control signal according to the second selection signal and the second control signal, including:
[0052] The second control module generates the first initialization signal according to the second selection signal and the second initialization signal;
[0053] Before the memory array performs data configuration according to the first data signal, the method further includes:
[0054] When the first initialization signal is valid, the memory array is initialized according to the first initialization signal.
[0055] In a possible implementation, the address selection signal includes a k-bit character, and the identity signal includes a k-1-bit character; the gating module generates the second gating signal according to the address selection signal and the identity signal, including:
[0056] The gating module compares the characters from the 1st bit to the N-1th bit in the address selection signal with the characters from the 1st bit to the N-1th bit in the identity signal in a one-to-one correspondence to obtain a comparison signal; wherein, when the comparison signal is at a high level, the address selection signal matches the identity signal;
[0057] Determining the second selection signal according to the k-th character in the address selection signal and the comparison signal;
[0058] Wherein, when the k-th character is at a high level, the second selection signal is at a high level; when the k-th character is at a low level and the comparison signal is at a high level, the second selection signal is at a high level.
[0059] The third control signal includes a first read signal, the second control signal includes a second read signal, the control module further includes a fourth control module, which is used to generate the first read signal according to the second selection signal and the second read signal; the first read signal is used to be transmitted to the memory array corresponding to the control circuit;
[0060] When the first read signal is valid, the memory array is used to read data in the memory array according to the first read signal.
[0061] In a possible implementation, the second control signal and the fourth control signal include a second initialization signal and a second write signal, and the control circuit further includes a buffer;
[0062] The buffer is used to buffer the second initialization signal, the second write signal and the second read signal, and then output the second initialization signal, the second write signal and the second read signal to the next level control circuit.
[0063] In a possible implementation, the second control signal and the fourth control signal include a second initialization signal and a second write signal, and the buffer outputs the fourth control signal after buffering the second control signal, including:
[0064] The buffer buffers the second initialization signal and the second write signal, and then outputs the second initialization signal and the second write signal to the next-stage control circuit.
[0065] In a third aspect, an embodiment of the present application provides a chip, comprising a data configuration circuit based on a memory array as described in the first aspect or any possible implementation of the first aspect.
[0066] The data configuration circuit and method based on the memory array provided in the embodiment of the present application are connected in a one-to-one correspondence by setting a multi-level control circuit and a multi-level memory array, that is, each level of the memory array corresponds to a level of control circuit. In addition, the multi-level control circuits are cascaded, so that the control circuit corresponding to each level of the memory array can control the memory array to perform data configuration, thereby avoiding the waste of computing resources and storage resources in the FPGA and improving the efficiency of data reconfiguration. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] Figure 1 A schematic diagram of a structure of data configuration of a memory array in the prior art provided by an embodiment of the present application is shown;
[0068] Figure 2 A schematic structural diagram of a data configuration circuit based on a memory array provided in an embodiment of the present application is shown;
[0069] Figure 3 A schematic structural diagram of another data configuration circuit based on a memory array provided in an embodiment of the present application is shown;
[0070] Figure 4 A schematic diagram showing the structure of another data configuration circuit based on a memory array provided in an embodiment of the present application is shown;
[0071] Figure 5 A schematic diagram of the structure of a gating module in a control circuit provided in an embodiment of the present application is shown;
[0072] Figure 6 A truth table for determining a gating signal by a gating module provided in an embodiment of the present application is shown;
[0073] Figure 7 A schematic diagram of the structure of a data selection module provided in an embodiment of the present application is shown;
[0074] Figure 8A schematic diagram showing the flow of a data signal output by a data selection module in a multi-stage control circuit provided by an embodiment of the present application;
[0075] Fig. 9 A truth table for selecting output data by a data selection module provided in an embodiment of the present application is shown;
[0076] Fig.10 A schematic diagram showing an exemplary data signal flow provided by an embodiment of the present application;
[0077] Fig.11 A schematic diagram showing another exemplary data signal flow provided by an embodiment of the present application;
[0078] Fig.12 A schematic diagram showing another exemplary data signal flow provided by an embodiment of the present application;
[0079] Fig.13 A schematic diagram of the structure of a first control module provided in an embodiment of the present application is shown;
[0080] Fig.14 shows a truth table of a signal output by the first control module provided in an embodiment of the present application;
[0081] Fig.15 A schematic diagram of the structure of a second control module provided in an embodiment of the present application is shown;
[0082] Fig.16 A schematic diagram of the structure of a third control module provided in an embodiment of the present application is shown;
[0083] Fig.17 A schematic diagram of the structure of a fourth control module provided in an embodiment of the present application is shown;
[0084] Fig.18 A timing diagram of a data configuration circuit based on a memory array provided in an embodiment of the present application is shown;
[0085] Fig.19 A schematic diagram of a flow chart of data configuration based on a memory array provided in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0086] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0087] In the description of the embodiments of the present application, words such as "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a concrete way.
[0088] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the term "multi-level" means two or more levels. For example, a multi-level system refers to a system of two or more levels, and a multi-level screen terminal refers to a screen terminal of two or more levels.
[0089] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more levels of the feature. The terms "include", "comprises", "has" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.
[0090] Currently, in FPGA, such as Figure 1 As shown, usually, all memory arrays 10 in the FPGA are controlled by signals in the upper code stream to perform data configuration, thereby completing the data configuration of the memory arrays, so that the FPGA can perform different functions. However, in the process of changing the functions that the FPGA can implement, not all memory arrays need to be reconfigured in all cases. Therefore, controlling all memory arrays to perform data reconfiguration through signals in the upper code stream causes a waste of computing resources and storage resources in the FPGA, and also reduces the efficiency of data reconfiguration.
[0091] Based on this, an embodiment of the present application provides a data configuration circuit and method based on a memory array. By connecting each level of the memory array to a corresponding control circuit, data configuration can be performed only on the selected memory array, thereby avoiding waste of computing resources and storage resources in the FPGA and improving the efficiency of data reconfiguration.
[0092] Figure 2 1 is a schematic diagram of a data configuration circuit based on a memory array provided in an embodiment of the present application. Figure 2As shown, the memory array-based data configuration circuit provided in the embodiment of the present application may include a multi-level memory array 201 and a multi-level control circuit 202 .
[0093] In order to realize independent control of each level of memory array 201, each level of memory array 201 corresponds to a level of control circuit 202, so that the control circuit 202 can independently control the corresponding memory array 201, that is, there is a one-to-one connection relationship between the control circuit 202 and the memory array 201. In a multi-level control circuit, two adjacent levels of control circuits 202 are connected, that is, the multi-level control circuits 202 are cascaded.
[0094] In the embodiments of the present application, Figure 3 As shown, the memory array is used to receive a first control signal and a first data signal, and output a second data signal according to the first control signal and the first data signal. The memory array can perform data configuration according to the first data signal under the control of the first control signal, and output the second data signal after the data configuration.
[0095] The control circuit is used to receive a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal and a fourth data signal. The control circuit can output a second selection signal according to the address selection signal and the identity signal. The control circuit can also output a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal. The control circuit can also output a third control signal and a fourth control signal according to the second selection signal and the second control signal.
[0096] Here, the second data signal output by the i-th level memory array is used to be transmitted to the i+1-th level control circuit and is used as the third data signal received by the i+1-th level control circuit. The second selection signal output by the i-th level control circuit is used to be transmitted to the i+1-th level control circuit and is used as the first selection signal received by the i+1-th level control circuit. The fifth data signal output by the i-th level control circuit is used to be transmitted to the i+1-th level control circuit and is used as the fourth data signal received by the i+1-th level control circuit. The sixth data signal output by the i-th level control circuit is used to be transmitted to the i-th level memory array and is used as the first data signal received by the i-th level memory array. The third control signal output by the i-th level control circuit is used to be transmitted to the i-th level memory array and is used as the first control signal received by the i-th level memory array. The fourth control signal output by the i-th level control circuit is used to be transmitted to the i-th level memory array and is used as the second control signal received by the i+1-th level memory array. Wherein, i=1, 2, ..., N, N is a positive integer.
[0097] In order to enable the control circuit to control the memory array, the control circuit controls the memory array to perform data configuration through the address selection signal (block-dress), the identity signal (ID-code) and the processing logic in the control circuit. Among them, the identity signal (ID-code) received by the i-th level control circuit is the identity signal of the i-th level memory array. The second selection signal output by the i-th level control circuit can be used to indicate whether the i-th level memory array is enabled. If the i-th level memory array is enabled, the i-th level memory array performs data configuration. Configuring the memory array includes data configuration of the entire memory array and data reconfiguration of part of the memory array. Data reconfiguration refers to updating the data in the memory array on the basis that the memory array has been data configured.
[0098] For ease of understanding, the following Figures 3 to 10 The logic circuit in the control circuit provided in the embodiment of the present application is described.
[0099] like Figure 4 As shown, the control circuit provided by the embodiment of the present application includes a gating module, a control module, a data selection module and a buffer. Among them, the control module includes a first control module, a second control module and a third control module; the buffer includes a first buffer, a second buffer and a third buffer.
[0100] In some embodiments, the address selection signal is used to indicate whether the memory array is to be data configured. The identity signal is used to indicate the identity of the memory array. The gating module can compare the address selection signal (block-dress) and the identity signal (ID-code) to output a second gating signal. If the second gating signal is high, the memory array is turned on and the memory array is to be data configured.
[0101] For example, if the address selection signal includes the identification signal of the i-th memory array, the i-th memory array needs to be data configured, and the second selection signal (Block-select) output by the selection module is at a high level.
[0102] The address selection signal includes a k-bit character, and the identity identification signal includes a k-1-bit character, where k is a positive integer; the selection module is used to compare the 1st to k-1th characters in the address selection signal with the 1st to k-1th characters in the identity identification signal one by one to obtain a comparison signal; wherein, when the comparison signal is at a high level, the address selection signal and the identity identification signal match; according to the k-th character in the address selection signal and the comparison signal, a second selection signal is determined; wherein, when the k-th character is at a high level, the second selection signal is at a high level; when the k-th character is at a low level and the comparison signal is at a high level, the second selection signal is at a high level.
[0103] Exemplarily, the address selection signal may include a k-bit character, and the identity signal may include a k-1-bit character. Figure 5 As shown, the gating module may include k-1 XOR gates (xor2), an OR gate (or k-1), a NOR gate (nor2) and an invertor (inv). The XOR gate is used to perform an XOR operation on the j-th character in the address selection signal and the j-th character in the identity signal, where j=1, 2, ..., k. The k-th character in the address selection signal is used to control whether all memory arrays are configured for data. For example, Figure 5 As shown, when the k-th character in the address selection signal is at a high level, the level state of the second selection signal output by the selection module is independent of the first k-1 characters in the address selection signal and the identity signal.
[0104] For example, the address selection signal consists of 4 bits, and the identity signal consists of 3 bits. The address selection signal can be expressed as block_adress[3:0], and the identity signal can be expressed as ID_code[2:0]. The truth table of the logic operation of the strobe module on the address selection signal and the identity signal is as follows: Figure 6As shown. When block_adress[3] is at a high level "1", the second selection signal output by the selection module is at a high level "1". When block_adress[3] is at a low level "0", block_address[2:0] is compared with ID_code[2:0]. When ID_code[2:0]=block_address[2:0], the memory array is turned on and the memory array performs data configuration; when ID_code[2:0]≠block_address[2:0], the memory array is not turned on and the memory array does not perform data configuration. For example, when block_address[3:0] is "0001", the identity signal ID_code1 of memory array 1 is "001", the second selection signal (Block-select) is at a high level, memory array 1 is turned on, and the rest of the memory arrays are turned off.
[0105] The second selection signal generated by the selection module can be transmitted to the data selection module and the control module, so as to control the level state of the signal output by the data selection module and the control module.
[0106] like Figure 4 , Figure 7 and Figure 8 As shown, the data selection module in the i-th control circuit is used to output a fifth data signal (Data-bypass i) and a sixth data signal (Data 2) according to a first selection signal (Block-select i-1), a second selection signal (Block-select i), a third data signal (Data-out i-1) and a fourth data signal (Data-bypass i-1).
[0107] Here, the data selection module can be composed of a selector, a NOT gate, and a NOR gate. The truth table of the logic operation of the data selection module is as follows: Fig. 9As shown, the control circuit selects the output data signal under the control of the first selection signal (Block-select i-1) and the second selection signal (Block-select i). When the memory array of the i-1th level is turned on, that is, the first selection signal (Block-select i-1) is at a high level, the data signal (Data-bypass i0) output by the invertor (inv1) in the control circuit of the i-th level is the third data signal (Data-out i-1); when the memory array of the i-th level is turned off, that is, the first selection signal (Block-select i-1) is at a low level, the data signal (Data-bypass i0) output by the invertor (inv1) in the control circuit of the i-th level is the fourth data signal (Data-bypass i-1). When the memory array of the i-1th level is turned on and the memory array of the i-th level is turned on, that is, the first selection signal (Block-select i-1) and the second selection signal (Block-select i) are both high, the sixth data signal (Data i) output by the NOR gate is the third data signal (Data-out i-1); when the memory array of the i-1th level is turned on and the memory array of the i-th level is turned off, that is, the first selection signal (Block-select i-1) is high and the second selection signal (Block-select i) is low, the sixth data signal (Data i) output by the NOR gate is empty; when the memory array of the i-1th level is turned off and the memory array of the i-th level is turned on, that is, the first selection signal (Block-select i-1) is low and the second selection signal (Block-select i) is high, the sixth data signal (Data i) output by the NOR gate is the fourth data signal (Data-bypass i). i-1); when the memory array of the i-1th level is turned off and the memory array of the ith level is turned off, that is, the first selection signal (Block-select i-1) and the second selection signal (Block-select i) are both low levels, the sixth data signal (Data i) output by the NOR gate is empty.
[0108] like Figure 8 As shown, after the data selection module outputs the data signal (Data-bypass i0), after the data signal (Data-bypass i0) is transmitted to the first buffer, the first buffer outputs the data signal (Data-bypass i0), that is, the fifth data signal (Data-bypass i).
[0109] The following is a combination of the structure of the above data selection module and Figures 10 to 12, the flow direction of the data signal is exemplified. Fig.10 As shown, the data coordination circuit based on the memory array includes five memory arrays and control circuits corresponding to the memory arrays one by one.
[0110] When all five memory arrays need to be configured with data, that is, when all five memory arrays are turned on, Fig.10 As shown, the signal transmitted by the dotted line is an invalid signal, and the signal transmitted by the solid line is a valid signal. The data signal Data-bypassi output by the control circuit is invalid, the data signal Datai output by the control circuit is valid, and after the i-th level memory array performs data configuration according to the data signal Datai, the output data signal Data-out1 is valid.
[0111] When the third memory array among the five memory arrays needs to be configured with data, that is, when the third memory array is turned on, Fig.11 As shown, the signal transmitted by the solid line part is the transmission path of the data signal for data configuration of the memory array. In order to transmit the data for data configuration of the memory array 3 in the top code stream signal to the memory array 3, the data signal Data-bypass1 output by the control circuit 1 and the data signal Data-bypass2 output by the control circuit 2 are both valid signals. And the data signal Data1 and the data signal Data2 are both invalid signals. In this way, the data signal Data-out1 output by the memory array 1 and the data signal Data-out2 output by the memory array 2 are invalid signals. In this way, after receiving the data signal Data-bypass2 and the data signal Data-out2, the control circuit 3 outputs a valid data signal Data3, and the memory array 3 performs data configuration according to the data signal Data3.
[0112] In the case where the second memory array and the fourth memory array among the five memory arrays need to be configured with data, that is, the second memory array and the third memory array are turned on, such as Fig.12As shown, the signal transmitted by the solid line part is the transmission path of the data signal for data configuration of the memory array. In order to transmit the data for data configuration in the top-level code stream signal to the memory array 2 and the memory array 4, the data signal Data-bypass1 output by the control circuit 1, the data signal Data-bypass2 output by the control circuit 2, and the data signal Data-bypass3 are all data signals for data configuration. In this way, after receiving the data signal Data2, the memory array 2 performs data configuration and outputs the data signal Data-out2. In order to transmit the data signal Data-out2 output by the memory array 2 to the memory array 4, the control circuit 3 can transmit the data signal Data-out2 to the control circuit 4 under the control of the first selection signal, that is, the data signal Data-bypass3 is the data signal Data-out2. In this way, the data signal in the upper code stream runs through all the memory arrays that need to be data configured.
[0113] It should be noted that, when the memory array is turned on, the control signals received by the control circuit corresponding to the memory array are all valid signals. For example, Fig.11 The control signals received by the memory array 3 are all valid signals, so that data configuration can be performed under the control of the control signals.
[0114] In this way, under the control of the first selection signal and the second selection signal, the data selection module determines the data signal output to the memory array and the state of the data signal, so that the control circuit independently controls the memory array to perform data configuration, avoids the waste of computing resources and storage resources in the FPGA, and improves the efficiency of data reconfiguration.
[0115] In the embodiment of the present application, the control circuit further includes a control module, wherein the control module can generate a third control signal according to the second selection signal and the second control signal, so that the memory array corresponding to the control circuit completes data configuration.
[0116] In some embodiments, Figure 4As shown, the control module includes a first control module, a second control module and a third control module. The control signal includes two paths, one control signal is a third control signal transmitted by the control circuit to the memory array corresponding to the control circuit, and the other signal is a second control signal (fourth control signal) transmitted by the i-th level control circuit to the i+1-th level control circuit. Here, when the third control signal (first control signal) is valid and the first data signal is valid, the memory array performs data configuration according to the first data signal. Among them, the third control signal includes a first initialization signal (initial-bypassi), a first write signal (write-outi), a first word line signal (WL-outi) and a first read signal (read-outi), and the second control signal includes a second initialization signal (initial-bypassi-1), a second write signal (write-bypassi-1), a second word line signal (WL) and a second write signal (read-bypassi-1).
[0117] like Fig.13 As shown, the first control module can be composed of an invertor (inv), an NAND gate (nand1, nand2, nand3 and nand4), and an AND gate (and). The invertor is used to receive the k-th signal block_address in the address selection signal (block_addressi). <k>The truth table of the first control module for performing logic operations is as follows: Fig.14 As shown, when the address selection signal (block_address[k]) is at a high level, all N memory arrays are turned on, and the second word line signal runs through all control circuits and memory arrays. When the address selection signal (block_address[k]) is at a low level, when the address selection signal (block_address[k]) is at a low level and the second selection signal (block_selecti) is at a high level, the current memory array is turned on, and when the second initialization signal (initial-bypass i-1) is at a high level, the current memory array is initialized; when the second initialization signal (initial-bypass i-1) is at a low level, the second word line signal is equal to the first word line signal, and read and write operations are performed. When the second selection signal (block_selecti) is at a low level, the current memory array is not turned on, and when the second initialization signal (initial-bypass i-1) is at a high level, the current memory array is not initialized; when the second initialization signal (initial-bypass i-1) is at a low level, the second word line signal is equal to the first word line signal, but no read and write operations are performed.
[0118] like Fig.15 As shown, the second control module can be composed of an AND gate (AND). Among them, the second control module can output a first write signal (write-out) according to the second selection signal (block_selecti) and the second write signal (write-bypass i-1) output by the previous level control circuit. Thereby, the first write signal (write-out) is transmitted to the memory array. In this way, when the first word line signal (WL-outi) is valid and the first write signal (write-out) is valid, the memory array is used to perform data configuration according to the first data signal under the drive of the first word line signal (WL-outi). In addition, the write signal is a signal that runs through all control circuits. Therefore, the second control module can also output a second write signal (write-bypass i), so that the write signal can run through all control circuits.
[0119] In some embodiments, the third control signal further includes a first initialization signal, and the second control signal includes a second initialization signal. Fig.16 As shown, the third control module can be composed of an AND gate, and the third control module can generate a first initialization signal (Initial-bypass i) according to the second selection signal (block_selecti) and the second initialization signal (Initial-bypass i-1) output by the upper-level control circuit. When the first initialization signal (Initial-bypass i) is valid, the memory array is used to initialize according to the first initialization signal (Initial-bypass i) before data configuration to delete data in the memory array. In this way, after the memory array is initialized, the memory array performs data configuration.
[0120] In some embodiments, the third control signal further includes a first read signal (read-outi), and the second control signal further includes a second read signal. Fig.17 As shown, the fourth control module can be composed of an AND gate. The fourth control module can output a first read signal (read-out) according to the second selection signal (block_selecti) and the second read signal (read-bypass i-1) output by the previous control circuit, and transmit the first read signal (read-out) to the memory array. In this way, when the first word signal (WL-oui) is valid and the first read signal (read-out) is valid, the memory array is used to read out data under the action of the first word line signal (WL-oui) to verify the data in the memory array. In addition, the read signal is a signal that runs through all control circuits. Therefore, the second control module can also output a second read signal (read-bypass i), so that the read signal can run through all control circuits.
[0121] In some embodiments, the second control signal and the fourth control signal include a second initialization signal, a second write signal, and a second read signal; Figure 4 As shown, the buffer also includes a second buffer, a third buffer and a fourth buffer. The second buffer is used to cache the second initialization signal and output the second initialization signal to the next level control circuit. The third buffer outputs the second write signal and outputs the second write signal to the next level control circuit. The fourth buffer is used to cache the second read signal and output the second write signal to the next level control circuit.
[0122] For example, Fig.18 As shown, the address selection signal consists of 4-bit characters, of which there are 8 memory arrays, namely block0 to block7. The signals in the upper layer code stream include clock signal (clk), reconfiguration signal (Re_init), initialization signal (Initial), data signal (data), write signal (write), address selection signal (block_address[3:0]), identity signal (ID_code1[2:0] to ID_code7[2:0]), and word line signal (WL0 to WL7). The first stage of data configuration of the memory array includes the first initialization stage and the first configuration stage. The stage of data configuration of the memory array again includes the reinitialization stage and the reconfiguration stage.
[0123] like Fig.18 As shown, in the first initialization stage, memory array 0 (block0) to memory array 7 (block7) all need to be initialized, so the initialization signal (initial) in the upper code stream is high level, and the word line signals received by memory array 0 (block0) to memory array 7 (block7) are all high level. In this way, under the drive of the word line signal, memory array 0 (block0) to memory array 7 (block7) can be initialized according to the initialization signal to clear the data in the memory array. In the first data configuration stage, the write signal in the upper code stream is high level, so that the write signals received by memory array 0 (block0) to memory array 7 (block7) are all high level. The word line signals received by memory array 0 (block0) to memory array 7 (block7) are all high level. In this way, under the drive of the word line signal, memory array 0 (block0) to memory array 7 (block7) can write the data carried by the data signal in the upper code stream into the memory array. In the reinitialization phase, the initialization signal (initial) in the upper code stream is high, the word line signals received by memory array 0 (block0) to memory array 6 (block6) are all low, and the word line signal received by memory array 7 (block7) is high. In this way, driven by the word line signal, memory array 7 (block7) can be initialized according to the initialization signal to clear the data in memory array 7 (block7). In the first data configuration phase, the write signal in the upper code stream is high. The write signals received by memory array 0 (block0) to memory array 6 (block6) are all low. The write signal received by memory array 7 (block7) is high. The word line signals received by memory array 0 (block0) to memory array 6 (block6) are all low, and the word line signal received by memory array 7 (block7) is high. In this way, driven by the word line signal, memory array 7 (block7) can write the data carried by the data signal in the upper code stream into the memory array.
[0124] The above is a detailed description of the data configuration circuit based on the memory array provided in the embodiment of the present application. Next, the data configuration method based on the memory array provided in the embodiment of the present application is described.
[0125] The present application embodiment provides a data configuration method based on a memory array. The present application is a reasonable method for configuring a data configuration method based on a memory array for application in Figures 2 to 10 The data configuration circuit based on the memory array in the corresponding embodiment. Fig.19 As shown, the method includes:
[0126] S1901: Each level of memory array in the multi-level memory array receives a first control signal and a first data signal, and outputs a second data signal according to the first control signal and the first data signal; wherein the memory array performs data configuration according to the first data signal under the control of the first control signal;
[0127] S1902: Each control circuit in the multi-stage control circuit receives a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal, and a fourth data signal; outputs a second selection signal according to the address selection signal and the identity signal, and outputs a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the second control signal, the third data signal, and the fourth data signal; outputs a third control signal and a fourth control signal according to the second control signal and the second selection signal;
[0128] The second data signal is used to be transmitted to the next-stage control circuit as the third data signal of the next-stage control circuit, the fifth data signal is used to be transmitted to the next-stage control circuit as the fourth data signal of the next-stage control circuit, the sixth data signal is used to be transmitted to the memory array corresponding to the control circuit as the first data signal of the memory array, the second selection signal is used to be transmitted to the next-stage control circuit as the first selection signal of the next-stage control circuit, the third control signal is used to be transmitted to the memory array as the first control signal of the memory array, and the fourth control signal is used to be transmitted to the next-stage control circuit as the second control signal of the next-stage control circuit;
[0129] S1903: when the multi-level memory arrays are all performing data configuration, the second data signals outputted by the multi-level memory arrays are all valid, the second control signal is valid, the sixth data signals outputted by the multi-level control circuits are all invalid, the second data signals outputted by the memory arrays are all buffered by the control circuits and then transmitted to the next-level memory array, and the multi-level memory arrays perform data configuration according to the first data signal under the control of the second control signal;
[0130] S1904: When data is configured for a certain memory array, the second control signal is valid, the sixth data signal output by the control circuit corresponding to the certain memory array is valid, and the fifth data signal output by the control circuit corresponding to the certain memory array is the same as the sixth data signal, and the certain memory array is controlled by the second control signal and performs data configuration according to the sixth data signal.
[0131] In a possible implementation, the control circuit includes a gating module;
[0132] Outputting a second selection signal according to the address selection signal and the identity identification signal includes:
[0133] The gating module generates a second gating signal according to the address selection signal and the identity identification signal; wherein, when the second gating signal is at a high level, the second gating signal is used to indicate that the memory array corresponding to the control circuit is gated.
[0134] In a possible implementation, the control circuit includes a data selection module;
[0135] Outputting a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal, comprising:
[0136] The data selection module generates a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal.
[0137] In a possible implementation, the control circuit includes a control module and a buffer;
[0138] Outputting a third control signal and a fourth control signal according to the second control signal and the second selection signal, including:
[0139] The control module generates a third control signal according to the second selection signal and the second control signal;
[0140] The buffer outputs a fourth control signal after buffering the second control signal.
[0141] In a possible implementation, the third control signal includes a first initialization signal, a first write signal, and a first word line signal, the second control signal includes a second initialization signal and a second word line signal, and the control module includes a first control module;
[0142] The control module generates a third control signal according to the second selection signal and the second control signal, including:
[0143] The first control module generates a first word line signal according to the second initialization signal, the second word line signal, the address selection signal and the second selection signal; the first word line signal is used to transmit to the memory array corresponding to the control circuit;
[0144] The memory array performs data configuration according to the first data signal, including:
[0145] When the first word line signal is valid, the first word line signal is used to drive the memory array to perform data configuration according to the first data signal when the first write signal is valid.
[0146] In a possible implementation, the third control signal includes a first initialization signal, the second control signal includes a second initialization signal, and the control module further includes a second control module;
[0147] The control module generates a third control signal according to the second selection signal and the second control signal, including:
[0148] The second control module generates a first initialization signal according to the second selection signal and the second initialization signal;
[0149] Before the memory array performs data configuration according to the first data signal, the method further includes:
[0150] When the first initialization signal is valid, the memory array is initialized according to the first initialization signal.
[0151] In a possible implementation, the address selection signal includes a k-bit character, and the identity identification signal includes a k-1-bit character; the gating module generates a second gating signal according to the address selection signal and the identity identification signal, including:
[0152] The selection module compares the characters from the 1st bit to the N-1th bit in the address selection signal with the characters from the 1st bit to the N-1th bit in the identity signal in a one-to-one correspondence to obtain a comparison signal; wherein, when the comparison signal is at a high level, the address selection signal and the identity signal match;
[0153] Determine a second selection signal according to the k-th bit character in the address selection signal and the comparison signal;
[0154] When the k-th character is at a high level, the second selection signal is at a high level; when the k-th character is at a low level and the comparison signal is at a high level, the second selection signal is at a high level.
[0155] In a possible implementation, the third control signal includes a first read signal, the second control signal includes a second read signal, and the control module further includes a fourth control module, which is used to generate the first read signal according to the second selection signal and the second read signal; the first read signal is used to be transmitted to the memory array corresponding to the control circuit;
[0156] When the first read signal is valid, the memory array is used to read data in the memory array according to the first read signal.
[0157] In a possible implementation, the second control signal and the fourth control signal include a second initialization signal, a second write signal, and a second read signal, and the control circuit further includes a buffer;
[0158] The buffer is used to buffer the second initialization signal, the second write signal and the second read signal, and then output the second initialization signal, the second write signal and the second read signal to the next level control circuit.
[0159] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.
[0160] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0161] The above reference is according to the method of the embodiment of the present application, the flow chart of the device (system) and the computer program product and / or the block diagram of the present application. It should be understood that each level of the block in the flow chart and / or the block diagram and the combination of each block in the flow chart and / or the block diagram can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the realization of the function / action specified in the one or more levels of the flow chart and / or the block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each level of the block in the block diagram and / or the flow chart and the combination of the blocks in the block diagram and / or the flow chart can also be realized by the dedicated hardware that performs the specified function or action, or can be realized by the combination of dedicated hardware and computer instructions.
[0162] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.< / k>
Claims
1. A data configuration circuit based on a memory array, characterized in that: include: A multi-level memory array, each level of the memory array is used to receive a first control signal and a first data signal, and output a second data signal according to the first control signal and the first data signal; wherein the memory array is used to perform data configuration according to the first data signal under the control of the first control signal; A multi-stage control circuit, each stage of the control circuit is used to receive a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal and a fourth data signal; output a second selection signal according to the address selection signal and the identity signal, output a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal; output a third control signal and a fourth control signal according to the second control signal and the second selection signal; The multi-stage control circuits are cascaded, and the multi-stage control circuits correspond to the multi-stage memory arrays one by one; the second data signal is used to be transmitted to the next stage control circuit as the third data signal of the next stage control circuit, the fifth data signal is used to be transmitted to the next stage control circuit as the fourth data signal of the next stage control circuit, the sixth data signal is used to be transmitted to the memory array corresponding to the control circuit as the first data signal of the memory array, the second selection signal is used to be transmitted to the next stage control circuit as the first selection signal of the next stage control circuit, the third control signal is used to be transmitted to the memory array as the first control signal of the memory array, and the fourth control signal is used to be transmitted to the next stage control circuit as the second control signal of the next stage control circuit; Wherein, when the multi-level memory arrays are all configured with data, the second data signals output by the multi-level memory arrays are all valid, the second control signal is valid, the sixth data signals output by the multi-level control circuits are all invalid, and the second data signals output by the memory arrays are all buffered by the control circuits and then transmitted to the next level memory array; When data is configured for a certain memory array, the second control signal is valid, the sixth data signal output by the control circuit corresponding to the certain memory array is valid, and the fifth data signal output by the control circuit corresponding to the certain memory array is the same as the sixth data signal.
2. The circuit according to claim 1, characterized in that The control circuit includes a gating module for generating the second gating signal according to the address selection signal and the identity identification signal; wherein, when the second gating signal is at a high level, the second gating signal is used to indicate that the memory array corresponding to the control circuit is gated.
3. The circuit according to claim 1, characterized in that The control circuit includes a data selection module for generating the fifth data signal and the sixth data signal according to the first selection signal, the second selection signal, the third data signal and the fourth data signal.
4. The circuit according to claim 1, characterized in that The control circuit includes a control module, which is used to generate the third control signal according to the second selection signal and the second control signal, so that the memory array corresponding to the control circuit completes data configuration.
5. The circuit according to claim 4, characterized in that The third control signal includes a first write signal and a first word line signal, the second control signal includes a second initialization signal, a second write signal and a second word line signal, and the control module includes a first control module and a second control module; The first control module is used to generate the first word line signal according to the second initialization signal, the second word line signal, the address selection signal and the second selection signal; The first word line signal is used to transmit to the memory array corresponding to the control circuit; The second control module is used for generating the first write signal according to the second selection signal and the second write signal; When the first word line signal is valid and the first write signal is valid, the memory array is used to perform data configuration according to the first data signal under the drive of the first word line signal.
6. The circuit according to claim 4, characterized in that The third control signal includes a first initialization signal, the second control signal includes a second initialization signal, and the control module further includes a third control module for generating the first initialization signal according to the second selection signal and the second initialization signal; the first initialization signal is used to be transmitted to the memory array corresponding to the control circuit; When the first initialization signal is valid, the memory array is used to be initialized according to the first initialization signal before data configuration to delete data in the memory array.
7. The circuit according to claim 2, characterized in that The address selection signal includes a k-bit character, and the identity identification signal includes a k-1-bit character; The gating module is used to compare the characters from the 1st bit to the k-1th bit in the address selection signal with the characters from the 1st bit to the k-1th bit in the identity signal in a one-to-one correspondence to obtain a comparison signal; wherein, when the comparison signal is at a high level, the address selection signal matches the identity signal; Determining the second selection signal according to the k-th character in the address selection signal and the comparison signal; Among them, when the k-th character is at a high level, the second selection signal is at a high level; when the k-th character is at a low level and the comparison signal is at a high level, the second selection signal is at a high level, and k is a positive integer.
8. The circuit according to claim 4, characterized in that The third control signal includes a first read signal, the second control signal includes a second read signal, the control module further includes a fourth control module, which is used to generate the first read signal according to the second selection signal and the second read signal; the first read signal is used to be transmitted to the memory array corresponding to the control circuit; When the first read signal is valid, the memory array is used to read data in the memory array according to the first read signal.
9. The circuit according to claim 1, characterized in that The second control signal and the fourth control signal include a second initialization signal, a second write signal and a second read signal, and the control circuit further includes a buffer; The buffer is used to buffer the second initialization signal, the second write signal and the second read signal, and then output the second initialization signal, the second write signal and the second read signal to the next level control circuit.
10. A data configuration method based on a memory array, characterized in that: The method is applied to a data configuration circuit based on a memory array as claimed in any one of claims 1 to 9, wherein the data configuration circuit comprises: a multi-level memory array and a multi-level control circuit, wherein the multi-level control circuits are cascaded, and the multi-level control circuits correspond one to one to the multi-level memory array; and the method comprises: Each level of the memory array in the multi-level memory array is used to receive a first control signal and a first data signal, and output a second data signal according to the first control signal and the first data signal; wherein, under the control of the first control signal, the memory array performs data configuration according to the first data signal; Each control circuit of the multi-stage control circuit is used to receive a first selection signal, a third data signal, a second control signal, an address selection signal, an identity signal and a fourth data signal; output a second selection signal according to the address selection signal and the identity signal, output a fifth data signal and a sixth data signal according to the first selection signal, the second selection signal, the second control signal, the third data signal and the fourth data signal; output a third control signal and a fourth control signal according to the second control signal and the second selection signal; The second data signal is used to be transmitted to the next-stage control circuit as the third data signal of the next-stage control circuit, the fifth data signal is used to be transmitted to the next-stage control circuit as the fourth data signal of the next-stage control circuit, the sixth data signal is used to be transmitted to the memory array corresponding to the control circuit as the first data signal of the memory array, the second selection signal is used to be transmitted to the next-stage control circuit as the first selection signal of the next-stage control circuit, the third control signal is used to be transmitted to the memory array as the first control signal of the memory array, and the fourth control signal is used to be transmitted to the next-stage control circuit as the second control signal of the next-stage control circuit; Wherein, when the multi-level memory arrays are all performing data configuration, the second data signals outputted by the multi-level memory arrays are all valid, the second control signal is valid, the sixth data signals outputted by the multi-level control circuits are all invalid, the second data signals outputted by the memory arrays are all buffered by the control circuits and then transmitted to the next-level memory array, and the multi-level memory arrays perform data configuration according to the first data signal under the control of the second control signal; When data configuration is performed on a certain memory array, the second control signal is valid, the sixth data signal output by the control circuit corresponding to the certain memory array is valid, and the fifth data signal output by the control circuit corresponding to the certain memory array is the same as the sixth data signal, and the certain memory array is controlled by the second control signal and performs data configuration according to the sixth data signal.
