Memory and storage system

By using the first operation decoding module in the memory to analyze the read and write instruction signals and generate preprocessing signals, and perform the analysis of relevant instruction signals when performing read and write preprocessing operations, the multi-cycle instruction memory response time is solved. The problem of data reading and writing efficiency improves data reading and writing efficiency.

CN119088310AActive Publication Date: 2024-12-06XINCUN MICRO TECHNOLOGY (BEIJING) CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411211383.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-30
Publication Date
2024-12-06
Estimated Expiration
2044-08-30

AI Technical Summary

Technical Problem

The read and write instructions response time of the existing multi-cycle instruction memory is still long, and it is difficult to meet the needs of improving computing performance and data processing efficiency.

Method used

By introducing a first operation decoding module in the memory, performing a first analysis process on the read and write instruction signal in the bus signal, generating a read and write preprocessing signal, and starting a read and write preprocessing operation on this basis, while performing read and write. The second analytical process of the relevant instruction signals is performed simultaneously during the preprocessing operation to simplify the decoding logic of the bus signal and shorten the data reading or writing time.

Benefits of technology

It realizes the shortening of the response time of read and write instructions, simplifies the decoding logic of the bus signal, improves the memory's reading and writing efficiency of data, reduces signal delay, and improves the overall performance of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088310A_ABST
    Figure CN119088310A_ABST
Patent Text Reader

Abstract

The invention discloses a memory and a storage system, and the memory comprises a first operation decoding module which is configured to carry out first analysis processing on a read-write instruction signal in a bus signal so as to output a read-write preprocessing signal; the read-write preprocessing module is configured to start read-write preprocessing operation according to the read-write preprocessing signal so as to output a read-write operation signal to a storage array; and the at least one related decoding module is configured to perform second analysis processing on a related instruction signal in the bus signal so as to output a related operation signal to the storage array. According to the memory, the working method thereof and the memory system, the decoding logic of the bus signal can be simplified, and the time for finally reading or writing data into the memory array is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of semiconductor technology, and in particular to a memory and a storage system. Background Art

[0002] The memory is used to store information in various electronic devices (such as computers, wireless communication devices, and cameras, etc.), and the information is stored by regulating the different states of the memory. With the rapid development of artificial intelligence technology, higher requirements are placed on the computing performance, reading performance, writing performance, reliability, and data retention capabilities of electronic devices.

[0003] In existing memories, multi-cycle instruction memory can complete instruction reading operations within one or more clock cycles, which can improve processor performance, increase the parallelism of instruction acquisition, reduce waiting time, and thus improve the throughput of the entire system. 3D XPoint Phase-Change Memory (PCM) is a multi-cycle instruction memory.

[0004] In a multi-cycle instruction memory, the instruction acquisition process can be divided into multiple stages, such as the address stage, the reading stage, and the execution stage. In this way, the various modules of the processor can work simultaneously in different stages, without having to wait for each stage to complete sequentially like a single-cycle memory. This design allows the processor to start the next instruction within one clock cycle, even if the previous instruction has not been completely read.

[0005] However, the read and write instruction response time of the existing multi-cycle instruction memory still needs to be shortened. Summary of the invention

[0006] The main purpose of the present invention is to provide a memory and a storage system, aiming to shorten the response time of the read and write instructions of the memory.

[0007] To achieve the above-mentioned purpose, the technical solution of the present invention proposes a memory, including: a first operation decoding module, configured to receive a bus signal, and perform a first parsing process on the read and write instruction signal in the bus signal to output a read and write preprocessing signal; a read and write preprocessing module, configured to couple with the first operation decoding module, start a read and write preprocessing operation according to the read and write preprocessing signal, so as to output a read and write operation signal to a storage array; at least one related decoding module, configured to receive the bus signal, and perform a second parsing process on the related instruction signal in the bus signal, so as to output a related operation signal to the storage array.

[0008] In some implementations, the time for the first parsing process is less than the time for the second parsing process.

[0009] In some implementations, the read / write instruction signal includes a read / write flag signal and a read / write distinguishing signal; and the read / write preprocessing signal includes a read instruction signal or a write instruction signal.

[0010] In some embodiments, the first operation decoding module is configured to perform a first analysis process on the read / write instruction signal, specifically including: determining whether to perform a read / write operation based on the read / write flag signal; and when confirming that the read / write operation is to be performed, outputting the read instruction signal or the write instruction signal based on the read / write distinguishing signal.

[0011] In some embodiments, it also includes: at least one second operation decoding module, coupled to the first operation decoding module, and configured to: when it is confirmed that the read and write operations are not to be performed, perform a third parsing process on other instruction signals in the bus signal to output other operation signals to the storage array.

[0012] In some embodiments, the first operation decoding module includes: a first gate circuit, one input end of the first gate circuit is used to input the read-write flag signal, and the other input end is used to input the read-write command signal; a second gate circuit, one input end of the second gate circuit is used to input the read-write distinction signal, and the other input end is used to input the read-write command signal; a third gate circuit, two input ends of the third gate circuit are respectively connected to the output end of the first gate circuit and the output end of the second gate circuit, and the output end of the third gate circuit is used to output the read-write operation signal.

[0013] In some embodiments, the read-write operation signal includes a read operation signal and a write operation signal; the read-write preprocessing module is configured to start a read-write preprocessing operation according to the read-write preprocessing signal, specifically including: starting a read preprocessing operation according to the read instruction signal to output a read operation signal; starting a write preprocessing operation according to the write instruction signal to output a write operation signal.

[0014] In some implementations, the relevant decoding module is configured to: when or before starting the read / write preprocessing operation, perform a second parsing process on the relevant instruction signal in the bus signal to output a relevant operation signal to the storage array.

[0015] In some implementations, it also includes: a read / write operation core processing module, which is coupled to the read / write preprocessing module and the related decoding module respectively, and is configured to perform data read / write operations on the storage array according to the read / write operation signal and the related operation signal.

[0016] In some embodiments, it also includes: N buses, the i-th control line and the j-th control line in the N buses are used to output the read and write instruction signals, and the related control lines other than the i-th control line and the j-th control line in the N buses are used to output related instruction signals, and N, i and j are natural numbers, N≥3, i≠j, i≤N, and j≤N.

[0017] Correspondingly, the technical solution of the present invention also proposes a storage system, including: a controller for outputting a bus signal, wherein the bus signal of the first cycle includes a read-write instruction signal and a related instruction signal; and a memory as described in any one of the above items, coupled to the controller.

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

[0019] In the memory of the technical solution of the present application, the first operation decoder performs a first analysis process on the read / write instruction signal in the bus signal and outputs a read / write preprocessing signal. Since the read / write instruction signal is a partial instruction signal in the bus signal, the first analysis process on the read / write instruction signal is simple, the time of the first analysis process is short, and the output read / write preprocessing signal is simple, and it is difficult to cause back-end signal delay. Moreover, the read / write preprocessing module can start the read / write preprocessing operation based on the read / write preprocessing signal. Since the time of the first analysis process is short, that is, the time from the analysis of the bus signal to the output of the read / write operation signal to the storage array is short, that is, the response time of the storage array to the bus signal is short. At the same time, the relevant decoding module can perform a second analysis process on the relevant instruction signal in the bus signal while performing the first analysis process and the read / write preprocessing operation, and the time of the second analysis process will not extend the response time of the read / write instruction signal. In summary, the memory can simplify the decoding logic of the bus signal and shorten the time to read or write data to the storage array.

[0020] In some embodiments, the time of the first parsing process is shorter than the time of the second parsing process. On the one hand, if the parsing time of the read / write instruction is shorter than the parsing time of the related instruction, the read / write preprocessing module can start the read / write preprocessing operation before the related instruction is parsed, thereby shortening the time from the start of parsing the read / write instruction signal to the output of the read / write operation signal. On the other hand, the related instruction signal can continue to be parsed during the read / write preprocessing operation, so that the second parsing process does not extend the time for the storage array to respond to the read / write instruction.

[0021] In the working method of the memory of the technical solution of the present application, since the read-write instruction signal is a partial instruction signal in the bus signal, the first parsing process of the read-write instruction signal is simple, the time of the first parsing process is short, and the output read-write preprocessing signal is simple, and it is difficult for the back-end signal delay to occur. Moreover, since the time of the first parsing process is short, that is, the response time of the storage array to the bus signal is short. At the same time, while performing the first parsing process and the read-write preprocessing operation, the second parsing process of the relevant instruction signal in the bus signal is performed, and the time of the second parsing process will not extend the response time of the read-write instruction signal. In summary, the working method of the memory can simplify the decoding logic of the bus signal and shorten the time to read or write data to the storage array.

[0022] In the storage system of the technical solution of the present application, the decoding logic of the bus signal is simplified, and the time for reading or writing data to the storage array is shortened. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.

[0024] Figure 1 It is a schematic diagram of the structure of an embodiment of a multi-cycle instruction memory;

[0025] Figure 2 for Figure 1 A circuit structure diagram of each decoding module 100;

[0026] Figure 3 is a schematic diagram of the structure of a memory in an embodiment of the present application;

[0027] Figure 4 is a circuit structure diagram of a first operation decoding module 200 according to an embodiment of the present application;

[0028] Figure 5 is a circuit structure diagram of another embodiment of the first operation decoding module 200 of the present application;

[0029] Figure 6 Schematic diagram of the structure of the read and write operation core processing module of this embodiment;

[0030] Figure 7 is a flowchart of a memory operating method according to an embodiment of the present application;

[0031] Figure 8 is a schematic diagram of a process of performing a first parsing process and starting a read-write preprocessing operation process;

[0032] Fig. 9 yes Figure 1 The memory embodiment shown is similar to Figures 3 to 6 A timing comparison diagram of a read operation or a write operation of the memory embodiment shown.

[0033] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0034] As described in the background art, the response time of the read and write instructions of the existing multi-cycle instruction memory still needs to be shortened.

[0035] Figure 1 The present invention is a schematic diagram of a structure of a multi-cycle instruction memory embodiment, comprising: a plurality of decoding modules 100, wherein the first input end of each decoding module 100 is connected to an N-way bus CA, the second input end of each decoding module is connected to an N-bit command signal end B, and the output end of each decoding module 100 outputs an operation instruction to a storage array 101. N is a natural number.

[0036] In the multi-cycle instruction memory, the instruction information of the N-way bus CA is included in multiple cycles. Specifically, in the first cycle, the instruction information of the N-way bus CA includes all operation information, such as read operation information and write operation information; in the remaining cycles, the instruction information of the N-way bus CA includes address information, etc. However, the parsing time of each read operation information and write operation information of the multi-cycle instruction memory is relatively long. For details, please refer to Figure 2 Provide explanation.

[0037] Figure 2 for Figure 1 The circuit structure diagram of each decoding module 100 includes: N XOR gates 110, the first input end of each XOR gate 110 is respectively connected to a control line in the N-way bus CA, and the second input end of each XOR gate 110 is respectively connected to one end of the N-bit command code signal end B; a multi-level combination logic module 120, the N input ends of the multi-level combination logic module 120 are respectively connected to the output ends of the N XOR gates 110, and the output end of the multi-level combination logic module 120 is used to output a read operation instruction or a write operation instruction CMD to the storage array 101.

[0038] Since in the multi-cycle instruction memory, the read operation information or the write operation information is encoded into the multiple control lines of the N-way bus CA, each read operation information or the write operation information requires a corresponding decoding module 100 to parse, resulting in a long parsing time for each read operation information and write operation information.

[0039] Moreover, the multi-cycle instruction memory includes multiple different types of read operation types and write operation types, so multiple types such as Figure 2 The decoding module 100 shown implements parallel operation under the control of the N-bit command code signal terminal B to parse different types of read operation information and write operation information. When the parsed multiple read operation instructions or write operation instructions converge at the output terminals of multiple decoding modules 100, additional signal delays are easily introduced. Ultimately, the response time of the multi-cycle instruction memory to the read and write instructions is still relatively long.

[0040] In order to solve the above problems, an embodiment of the present application proposes a memory, including: a first operation decoding module, configured to perform a first analysis process on the read and write instruction signals in the bus signal to output a read and write preprocessing signal; a read and write preprocessing module, configured to start a read and write preprocessing operation according to the read and write preprocessing signal to output a read and write operation signal to a storage array; and at least one related decoding module, configured to perform a second analysis process on the related instruction signals in the bus signal to output the related operation signal to the storage array.

[0041] The first operation decoder performs a first analysis process on the read / write instruction signal in the bus signal and outputs a read / write preprocessing signal. Since the read / write instruction signal is a partial instruction signal in the bus signal, the first analysis process on the read / write instruction signal is simple, the time of the first analysis process is short, and the output read / write preprocessing signal is simple, and it is difficult to cause back-end signal delay. Moreover, the read / write preprocessing module can start the read / write preprocessing operation based on the read / write preprocessing signal. Since the time of the first analysis process is short, that is, the time from the analysis of the bus signal to the output of the read / write operation signal to the storage array is short, that is, the response time of the storage array to the bus signal is short. At the same time, the relevant decoding module can perform a second analysis process on the relevant instruction signal in the bus signal while performing the first analysis process and the read / write preprocessing operation, and the time of the second analysis process will not prolong the response time of the read / write instruction signal. In summary, the memory can simplify the decoding logic of the bus signal and shorten the time to read or write data to the storage array.

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] In addition, in the present invention, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0044] Figure 3 It is a structural schematic diagram of a memory according to an embodiment of the present application, comprising: a first operation decoding module 200, configured to receive a bus signal, and perform a first parsing process on a read / write instruction signal in the bus signal to output a read / write preprocessing signal; a read / write preprocessing module 210, coupled to the first operation decoding module 200, configured to start a read / write preprocessing operation according to the read / write preprocessing signal to output a read / write operation signal to a storage array 220; and at least one related decoding module 230, configured to receive the bus signal, and perform a second parsing process on a related instruction signal in the bus signal to output a related operation signal to the storage array 220.

[0045] The following is a detailed description with reference to the accompanying drawings.

[0046] The memory is a multi-cycle instruction memory, and the memory is coupled to the controller via a bus CA_n, and the controller obtains a bus signal via the bus CA_n. The bus signal of the first cycle includes all operation instruction information; in other cycles after the first cycle, the bus signal includes address information, data information, etc. In this embodiment, the bus signal of the first cycle includes a read-write instruction signal, and the read-write instruction signal is used to control the storage array 220 to perform a read operation or a write operation.

[0047] The bus CA_n includes N control lines, where N is a natural number greater than or equal to 3. In this embodiment, among the N control lines, the i-th control line and the j-th control line CA[I;j] are used to output the read / write instruction signal, which is used to distinguish whether the storage array 220 is subjected to a read operation, a write operation or other operations, wherein i and j are natural numbers, i≠j, i≤N, and j≤N.

[0048] Among the N control lines, the i-th control line and the j-th control line CA The related control lines CA_x other than the control lines CA_x are used to output related instruction signals related to the read and write operations, wherein the related instruction information includes detailed information of the read or write operation, such as whether the read or write operation is a regular read or write or a sudden read or write.

[0049] In this embodiment, the read / write instruction signal includes a read / write flag signal and a read / write distinguishing signal. The read / write flag signal is used to distinguish between read / write operations and other operations, and the read / write distinguishing signal is used to distinguish between read operations and write operations.

[0050] The first operation decoding module 200 is configured to perform a first analysis processing on the read / write instruction signal, including: judging whether to perform a read / write operation according to the read / write flag signal; and when confirming that the read / write operation is to be performed, outputting the read instruction signal or the write instruction signal according to the read / write distinguishing signal.

[0051] In this embodiment, the time of the first parsing process is shorter than the time of the second parsing process. On the one hand, if the parsing time of the read / write instruction is shorter than the parsing time of the related instruction, the read / write preprocessing module 210 can start the read / write preprocessing operation before the related instruction is parsed, thereby shortening the time from the start of parsing the read / write instruction signal to the output of the read / write operation signal. On the other hand, the related instruction signal can continue to be parsed during the read / write preprocessing operation, so that the second parsing process will not prolong the time for the storage array to respond to the read / write instruction.

[0052] In this embodiment, the i-th control line CA The j-th control line CA is used to output the read / write flag signal to the first operation decoding module 200. <j>It is used to output a read / write distinguishing signal to the first operation decoding module 200. In addition, the first operation decoding module 200 is also used to input a 2-bit read / write command signal B1 to control the operation of the first operation decoding module 200.

[0053] In this embodiment, please refer to Figure 4 , Figure 4 is a circuit structure diagram of a first operation decoding module 200 of an embodiment of the present application, comprising: a first gate circuit 201, an input terminal of the first gate circuit 201 is connected to the i-th control line CA connected to input the read / write flag signal; a second gate circuit 202, an input terminal of the second gate circuit 202 is connected to the jth control line CA <j>connection, used to input the read-write distinguishing signal; a third gate circuit 203, the two input ends of the third gate circuit 203 are respectively connected to the output end of the first gate circuit and the output end of the second gate circuit, and the output end of the third gate circuit 203 is used to output the read-write operation signal CMD; another input end of the first gate circuit 201 and another input end of the second gate circuit 202 are used to input the 2-bit read-write command signal B1.

[0054] In this embodiment, the first gate circuit 201 and the second gate circuit 202 are XOR gates, and the third gate circuit is an AND gate.

[0055] Please refer to Table 1, which is a coding table for the first operation decoding module 200 to perform a first parsing process on the read / write instruction signal.

[0056] Table 1

[0057]

[0058]

[0059] It can be seen from Table 1 that when the i-th control line CA When the high level 1 is output to the first operation decoding module 200, it is the read / write flag signal, which determines to perform a read / write operation on the storage array; when the i-th control line CA When a low level 0 is output to the first operation decoding module 200, other operations are performed on the storage array. Based on the output of high level 1 to the first operation decoding module 200, when the j-th control line CA <j>When the high level 1 is output to the first operation decoding module 200, it is determined to perform a write operation on the storage array; when the j-th control line CA <j>When a low level 0 is output to the first operation decoding module 200 , it is determined to perform a read operation on the storage array.

[0060] In another embodiment, please refer to Figure 5 , Figure 5 2 is a circuit structure diagram of another embodiment of the first operation decoding module 200 of the present application, including:

[0061] A first gate circuit 301 has an input terminal connected to an i-th control line CA. The other input terminal of the first gate circuit 301 is used to input one of the two-bit read-write command signals B1;

[0062] A second gate circuit 302, one input end of which is connected to the i-th control line CA through a first inverter 305. The first signal of the 2-bit read / write command signal B1 is input into the other input terminal of the second gate circuit 302 through the second inverter 306;

[0063] A third gate circuit 303, one input terminal of which is connected to the i-th control line CA <j>The other input terminal of the third gate circuit 303 is used to input one of the two-bit read-write command signals B1;

[0064] A fourth gate circuit 304, one input end of which is connected to the i-th control line CA through a first inverter 310. <j>The first signal of the 2-bit read / write command signal B1 is input to the other input terminal of the fourth gate circuit 304 through the second inverter 311;

[0065] a fifth gate circuit 307, wherein two input terminals of the fifth gate circuit 307 are respectively connected to output terminals of the first gate circuit 301 and the second gate circuit 302;

[0066] a sixth gate circuit 308, wherein two input terminals of the sixth gate circuit 308 are respectively connected to the output terminals of the third gate circuit 303 and the fourth gate circuit 304;

[0067] The seventh gate circuit 309 has two input terminals connected to the output terminals of the fifth gate circuit 307 and the sixth gate circuit 308 respectively. The seventh gate circuit 309 is used to output the read / write operation signal CMD.

[0068] The first gate circuit 301 , the second gate circuit 302 , the third gate circuit 303 , the fourth gate circuit 304 and the seventh gate circuit 309 are AND gates, and the fifth gate circuit 307 and the sixth gate circuit 308 are OR gates.

[0069] In some embodiments, the memory further includes at least one second operation decoding module (not shown), coupled to the first operation decoding module 200, and the second operation decoding module is configured to: when it is confirmed that the read and write operations are not to be performed, perform a third parsing process on other instruction signals in the bus signal to output other operation signals to the storage array 220. Specifically, when the i-th control line CA When the second operation decoding module outputs a low level 0, the second operation decoding module performs a third analysis process on the other instruction signal to enable the storage array 220 to perform other operations. When there are multiple second operation decoding modules, different second operation decoding modules output different operation signals, and the storage array performs corresponding operations based on the different operation signals. Each second operation decoder uses the input multi-bit command signal to control the working mode.

[0070] The read / write preprocessing module is used to start the read / write state machine based on the read / write preprocessing signal to prepare for the read / write operation of the storage array 220. In this embodiment, the read / write preprocessing signal includes a read instruction signal or a write instruction signal; the read / write operation signal includes a read operation signal and a write operation signal. The method in which the read / write preprocessing module is configured to start the read / write preprocessing operation according to the read / write preprocessing signal includes: starting the read preprocessing operation according to the read instruction signal to output the read operation signal; starting the write preprocessing operation according to the write instruction signal to output the write operation signal.

[0071] The relevant operation signal output by the relevant decoding module 230 includes detailed information related to the read and write operation, such as whether it is a regular read and write or a burst read and write, etc. The relevant operation signal and the read and write operation signal are both output to the read and write operation core processing module 240, so that the read and write operation core processing module 240 can perform corresponding operations on the above-mentioned storage array 220 based on the relevant operation signal and the read and write operation signal.

[0072] When there are multiple related decoding modules 230, different related decoding modules 230 output different related operation signals for performing different operation controls on the storage array 220. Each of the related decoding modules 230 performs operation control according to different multi-bit command signals B2-Bn to control the corresponding related decoding module 230 to output the corresponding related operation signal.

[0073] In this embodiment, the relevant decoding module 230 is configured to: when starting the read / write preprocessing operation or before starting the read / write preprocessing operation, perform a second analysis process on the relevant instruction signal in the bus signal to output the relevant operation signal to the storage array. In other embodiments, the relevant decoding module 230 is configured to: before starting the read / write preprocessing operation, perform a second analysis process on the relevant instruction signal in the bus signal.

[0074] The read / write operation core processing module is coupled to the read / write preprocessing module and the related decoding module respectively, and is configured to perform data read / write operations on the storage array 220 according to the read / write operation signal and the related operation signal.

[0075] In this embodiment, please refer to Figure 6 , Figure 6 : is a schematic diagram of the structure of the read and write operation core processing module of this embodiment, including:

[0076] A logic control module, configured to output row-column decoding signals and row-column processing signals according to the read-write operation signal CMD_1 and the related operation signal CMD_2[x;0];

[0077] a row-column decoder configured to output the row-column operation signal according to the row-column decoding signal;

[0078] A row-column processing module, configured to output a bit line driving signal and a word line driving signal according to the row-column operation signal and the row-column processing signal;

[0079] A bit line driver configured to output a bit line operation signal according to the bit line driving signal;

[0080] a word line driver configured to output a word line operation signal according to the word line driving signal;

[0081] The memory array 220 performs a read operation or a write operation according to the bit line operation signal and the word line operation signal.

[0082] In summary, the first operation decoder performs a first analysis process on the read / write instruction signal in the bus signal and outputs a read / write preprocessing signal. Since the read / write instruction signal is a partial instruction signal in the bus signal, the first analysis process on the read / write instruction signal is simple, the time of the first analysis process is short, and the output read / write preprocessing signal is simple, and it is difficult to cause back-end signal delay. Moreover, the read / write preprocessing module can start the read / write preprocessing operation based on the read / write preprocessing signal. Since the time of the first analysis process is short, that is, the time from the analysis of the bus signal to the output of the read / write operation signal to the storage array is short, that is, the response time of the storage array to the bus signal is short. At the same time, the relevant decoding module can perform a second analysis process on the relevant instruction signal in the bus signal while performing the first analysis process and the read / write preprocessing operation, and the time of the second analysis process will not extend the response time of the read / write instruction signal. In summary, the memory can simplify the decoding logic of the bus signal and shorten the time to read or write data to the storage array.

[0083] Accordingly, the present application also provides a working method of the above memory, please refer to Figure 7 , Figure 7 : is a flowchart of a memory working method according to an embodiment of the present application, including:

[0084] Step S10, obtaining a bus signal;

[0085] Step S11, performing a first analysis process on the read / write instruction signal in the bus signal to output a read / write preprocessing signal;

[0086] Step S12, starting a read / write preprocessing operation according to the read / write preprocessing signal to output a read / write operation signal to the storage array;

[0087] Step S13, performing a second analysis process on the relevant instruction signal in the bus signal to output a relevant operation signal to the storage array.

[0088] The following is a detailed description with reference to the accompanying drawings.

[0089] Please refer to Figure 7 , execute step S10 to obtain the bus signal.

[0090] The memory is a multi-cycle instruction memory. The bus signal of the first cycle includes all operation instruction information; in other cycles after the first cycle, the bus signal includes address information, data information, etc. In this embodiment, the bus signal of the first cycle includes a read-write instruction signal, and the read-write instruction signal is used to control the storage array 220 to perform a read operation or a write operation.

[0091] Please continue to refer to Figure 7 , execute step S11, perform a first analysis process on the read / write instruction signal in the bus signal to output a read / write preprocessing signal.

[0092] In this embodiment, the read / write instruction signal includes a read / write flag signal and a read / write distinguishing signal, wherein the read / write flag signal is used to distinguish between read / write operations and other operations, and the read / write distinguishing signal is used to distinguish between read operations and write operations. The read / write preprocessing signal includes a read instruction signal or a write instruction signal.

[0093] The following will be combined with reference Figure 8 The first analysis process of this embodiment is described. Figure 8 It is a flowchart of performing the first parsing process and starting the read-write preprocessing operation process.

[0094] The method for performing a first analysis process on the read / write instruction signal comprises:

[0095] Step S100, judging whether to perform a read / write operation according to the read / write flag signal;

[0096] Step S101, after confirming to perform the read / write operation, output the read instruction signal or the write instruction signal according to the read / write distinguishing signal.

[0097] Step S102, when it is confirmed that the read / write operation is not to be performed, a third analysis process is performed on other instruction signals in the bus signal to output other operation signals to the storage array.

[0098] Please continue to refer to Figure 7 , execute step S12, start the read / write preprocessing operation according to the read / write preprocessing signal to output the read / write operation signal to the storage array.

[0099] The read / write preprocessing signal is used to start the read / write state machine to prepare for the read / write operation of the storage array. In this embodiment, the read / write preprocessing signal includes a read instruction signal or a write instruction signal; the read / write operation signal includes a read operation signal and a write operation signal.

[0100] Please continue to refer to Figure 8 , the method for starting the read-write preprocessing operation according to the read-write preprocessing signal includes:

[0101] Step S103, starting a read preprocessing operation according to the read instruction signal to output a read operation signal;

[0102] Step S104: starting a write preprocessing operation according to the write instruction signal to output a write operation signal.

[0103] Please continue to refer to Figure 7 , execute step S13, perform a second parsing process on the relevant instruction signal in the bus signal to output the relevant operation signal to the storage array.

[0104] The related operation signal includes detailed information related to the read and write operation, such as whether it is a regular read and write or a burst read and write, etc. The related operation signal and the read and write operation signal are both output to the read and write operation core processing module 240, so that the read and write operation core processing module 240 can perform corresponding operations on the above-mentioned storage array 220 based on the related operation signal and the read and write operation signal.

[0105] The second analysis process includes a plurality of different analysis processes for outputting different related operation signals and performing different operation controls on the storage array 220 .

[0106] In this embodiment, the time of the first parsing process is shorter than the time of the second parsing process. On the one hand, if the parsing time of the read / write instruction is shorter than the parsing time of the related instruction, the read / write preprocessing module 210 can start the read / write preprocessing operation before the related instruction is parsed, thereby shortening the time from the start of parsing the read / write instruction signal to the output of the read / write operation signal. On the other hand, the related instruction signal can continue to be parsed during the read / write preprocessing operation, so that the second parsing process will not prolong the time for the storage array to respond to the read / write instruction.

[0107] In this embodiment, when the read / write preprocessing operation is started, the relevant instruction signal in the bus signal is subjected to a second analysis process to output the relevant operation signal to the storage array. In other embodiments, before the read / write preprocessing operation is started, the relevant instruction signal in the bus signal is subjected to a second analysis process.

[0108] After step S13, the storage array performs data read and write operations according to the read and write operation signals and the related operation signal pair.

[0109] Please refer to Fig. 9 , Fig. 9 yes Figure 1 The memory embodiment shown is similar to Figures 3 to 6 A timing comparison diagram of a read operation or a write operation of the memory embodiment shown.

[0110] Specifically, Figure 1 In the memory shown, the decoded signals output by each decoding module 100 are input into a read / write preprocessing module, and the read / write preprocessing module controls the read / write operations of the storage array. Fig. 9 In the example, T0 is the time when the memory obtains the read and write command signal; CMD_pre0 is Figure 1 In the memory embodiment shown, the working state signal of the read / write preprocessing module is reversed from a low level to a high level, that is, each decoding module 100 completes the decoding work, and the read / write preprocessing module starts working; CMD_pre1 is Figures 3 to 6 In the memory embodiment shown, the working status signal of the read / write preprocessing module 210, when the working status signal is reversed from a low level to a high level, the read / write preprocessing module 210 obtains the read / write preprocessing signal and starts the read / write preprocessing operation.

[0111] Depend on Fig. 9 It can be seen that Figure 1 In the memory shown, the time from the memory obtaining the read-write instruction signal to the start of the read-write preprocessing module is a, and the time from the read-write preprocessing module running to the start of the storage array reading and writing operations is b, that is, the time from the memory obtaining the read-write instruction signal to the start of the storage array reading and writing operations is a+b.

[0112] and Figures 3 to 6 In the memory shown, the time from the memory obtaining the read-write instruction signal to the start of the read-write preprocessing module is a1, and the time from the read-write preprocessing module running to the start of the storage array reading and writing operations is b, that is, the time from the memory obtaining the read-write instruction signal to the start of the storage array reading and writing operations is a1+b.

[0113] If a1<a, the time from when the memory of this embodiment obtains the read / write instruction signal to when the storage array starts to perform the read / write operation is shortened. Therefore, it can be seen that the response time of the storage array to the bus signal is relatively short.

[0114] In summary, since the read / write instruction signal is a partial instruction signal in the bus signal, the first analysis and processing method for the read / write instruction signal is simple, the time for the first analysis and processing is short, and the output read / write preprocessing signal is simple, and it is difficult for the back-end signal delay to occur. Moreover, since the time for the first analysis and processing is short, that is, the response time of the storage array to the bus signal is short. At the same time, while performing the first analysis and processing and the read / write preprocessing operation, the second analysis and processing of the relevant instruction signal in the bus signal is performed, and the time for the second analysis and processing will not extend the response time of the read / write instruction signal. In summary, the working method of the memory can simplify the decoding logic of the bus signal and shorten the time to finally read or write data to the storage array.

[0115] Accordingly, an embodiment of the present invention further provides a storage system, comprising: a controller, configured to output a bus signal, wherein the bus signal of the first cycle includes a read / write instruction signal and a related instruction signal; Figures 3 to 6 The memory is coupled to the controller. In the memory system, the decoding logic of the bus signal is simplified, and the time for reading or writing data to the memory array is shortened.

[0116] The above descriptions are only optional embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings, or directly / indirectly applied in other related technical fields, are included in the patent protection scope of the present invention. < / j> < / j> < / j> < / j> < / j> < / j>

Claims

1. A memory, characterized in that: include: A first operation decoding module is configured to receive a bus signal and perform a first parsing process on a read / write instruction signal in the bus signal to output a read / write preprocessing signal; a read / write preprocessing module, coupled to the first operation decoding module, and configured to start a read / write preprocessing operation according to the read / write preprocessing signal to output a read / write operation signal to a storage array; At least one relevant decoding module is configured to receive the bus signal and perform a second parsing process on a relevant instruction signal in the bus signal to output a relevant operation signal to the storage array.

2. The memory according to claim 1, wherein: The time of the first parsing process is shorter than the time of the second parsing process.

3. The memory according to claim 1, wherein: The read / write instruction signal includes a read / write flag signal and a read / write distinguishing signal; the read / write preprocessing signal includes a read instruction signal or a write instruction signal.

4. The memory according to claim 3, wherein: The first operation decoding module is configured to perform a first parsing process on the read / write instruction signal, specifically comprising: Determining whether to perform a read / write operation according to the read / write flag signal; When the read / write operation is confirmed, the read instruction signal or the write instruction signal is output according to the read / write distinguishing signal.

5. The memory according to claim 4, wherein: Also includes: At least one second operation decoding module is coupled to the first operation decoding module and is configured to: when it is confirmed that the read and write operations are not to be performed, perform a third parsing process on other instruction signals in the bus signal to output other operation signals to the storage array.

6. The memory according to claim 4, wherein: The first operation decoding module comprises: A first gate circuit, wherein one input end of the first gate circuit is used to input the read / write flag signal, and the other input end of the first gate circuit is used to input the read / write command signal; a second gate circuit, wherein one input terminal of the second gate circuit is used to input the read-write distinguishing signal, and the other input terminal of the second gate circuit is used to input the read-write command signal; A third gate circuit, wherein two input ends of the third gate circuit are respectively connected to the output end of the first gate circuit and the output end of the second gate circuit, and the output end of the third gate circuit is used to output the read-write operation signal.

7. The memory according to claim 3, wherein: The read and write operation signals include a read operation signal and a write operation signal; The read / write preprocessing module is configured to start a read / write preprocessing operation according to the read / write preprocessing signal, specifically including: Initiate a read preprocessing operation according to the read instruction signal to output a read operation signal; A write preprocessing operation is started according to the write instruction signal to output a write operation signal.

8. The memory according to claim 1, wherein: The relevant decoding module is configured to: when or before starting the read / write preprocessing operation, perform a second parsing process on the relevant instruction signal in the bus signal to output a relevant operation signal to the storage array.

9. The memory according to claim 1, wherein: Also includes: The read / write operation core processing module is coupled to the read / write preprocessing module and the related decoding module respectively, and is configured to perform data read / write operations on the storage array according to the read / write operation signal and the related operation signal.

10. The memory according to claim 1, wherein: Also includes: N buses, the i-th control line and the j-th control line in the N buses are used to output the read and write instruction signals, and the related control lines other than the i-th control line and the j-th control line in the N buses are used to output related instruction signals, wherein N, i and j are natural numbers, N≥3, i≠j, i≤N, and j≤N.

11. A storage system, characterized in that: include: A controller, used for outputting a bus signal, wherein the bus signal of the first cycle includes a read / write instruction signal and a related instruction signal; The memory according to any one of claims 1 to 10, coupled to the controller.

Citation Information

Patent Citations

  • Method and device for processing read / write request in physical host

    CN106201349A

  • Word line driving circuit and time sequence control method of memory

    CN114446341A

  • Word line control circuit and magnetic random access memory

    CN118116429A

  • Coding and decoding method and application used for reliable storing or transmitting data

    CN1976237A

  • Microprocessor having precoder unit and main decoder unit operating in pipeline processing manner

    US5233696A