Data Processing Circuit and Device
By designing the data processing circuit, using two storage groups and corresponding write circuits and read circuits, the problem of large circuit size in the central area is solved, and more efficient memory read and write is achieved.
Patent Information
- Application Number
- CN202110296073.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-19
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-03-19
AI Technical Summary
The current circuit size in the central area is large, which affects the read and write efficiency of the memory.
A data processing circuit is designed, including two storage groups and corresponding write circuits and read circuits, and data exchange is performed through the write input buffer circuit and the read output buffer circuit to reduce the circuit size of the central area.
By combining the write and read circuits, the circuit size of the center area is reduced and the read and write efficiency of the memory is improved.
Smart Images

Figure CN115116513B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of integrated circuit technology, and in particular, to a data processing circuit and device. Background Art
[0002] In a memory, data is stored through a storage array, and the storage array in the memory can be one or more. One common type of memory can be DRAM (dynamic random access memory), and DRAM is a kind of internal memory. To improve the read and write efficiency of DRAM, in DDR (double data rate) DRAM, the internal storage array is usually divided into several BGs (bank groups), and cross-read and write operations are performed between different BGs. The data lines connected to each BG need to be merged in the central area, and the merged data lines share a data bus to achieve data reading.
[0003] However, the circuit size of the central area in the above solution is relatively large. Summary of the Invention
[0004] The embodiments of the present application provide a data processing circuit and device, which can solve the problem of the relatively large circuit size of the current central area.
[0005] In a first aspect, the embodiments of the present application provide a data processing circuit, which includes:
[0006] A first storage group and a second storage group;
[0007] A write circuit, including a write input buffer circuit, receiving stored data from a write bus through the write input buffer circuit, writing the stored data to the first storage group through a first read / write bus, and writing the stored data to the second storage group through a second read / write bus;
[0008] A read circuit, including a read output buffer circuit, reading the stored data from the first storage group through the first read / write bus, reading the stored data from the second storage group through the second read / write bus, and sending the stored data to a read bus through the read output buffer circuit.
[0009] Optionally, the write circuit further includes:
[0010] A write control circuit, respectively connected to the write input buffer circuit, a first write output buffer circuit, and a second write output buffer circuit, sending the stored data sent by the write input buffer circuit to the first write output buffer circuit or the second write output buffer circuit;
[0011] The first write output buffer circuit, connected to the first memory bank, sends the stored data sent by the write control circuit to the first memory bank;
[0012] The second write output buffer circuit, connected to the second memory bank, sends the stored data sent by the write control circuit to the second memory bank.
[0013] Optionally, the write input buffer circuit receives the stored data through a first control signal, and the frequency of the first control signal is the same as the clock frequency for writing the stored data.
[0014] Optionally, the first write output buffer circuit writes the stored data into the first memory bank through a second control signal, and the second write output buffer circuit writes the stored data into the second memory bank through a third control signal. The frequencies of the second control signal and the third control signal are half of the frequency of the first control signal, and the falling edges of the second control signal and the third control signal appear alternately.
[0015] Optionally, the read circuit includes:
[0016] The first read input buffer circuit, connected to the first memory bank, reads the stored data from the first memory bank;
[0017] The second read input buffer circuit, connected to the second memory bank, reads the stored data from the second memory bank;
[0018] The read control circuit, connected to the first read input buffer circuit and the second read input buffer circuit respectively, sends the stored data sent by the first read input buffer circuit or the second read input buffer circuit to the read output buffer circuit.
[0019] Optionally, the first read input buffer circuit reads the stored data through a fourth control signal, the second read input buffer circuit reads the stored data through a fifth control signal, the frequencies of the fourth control signal and the fifth control signal are the same, and the falling edges in the fourth control signal and the falling edges in the fifth control signal appear alternately.
[0020] Optionally, the read output buffer circuit sends the stored data to the read bus through a sixth control signal, and the frequency of the sixth control signal is twice the frequency of the fourth control signal.
[0021] Optionally, the first read / write bus and the second read / write bus are arranged in a cross pattern.
[0022] Optionally, the first read / write bus includes a first sub-bus of multiple bits, and the second read / write bus includes a second sub-bus of multiple bits. After the first sub-bus and the second sub-bus corresponding to the same bit extend to the same height, they are respectively connected to the first storage group and the second storage group.
[0023] Optionally, the writing circuit and the reading circuit are arranged in parallel on a first straight line, the first storage group and the second storage group are arranged in parallel on a second straight line, and the first straight line and the second straight line are parallel.
[0024] Optionally, a first area where the writing circuit and the reading circuit are located and a second area where the first storage group and the second storage group are located are arranged in parallel on a third straight line, and the third straight line is perpendicular to the first straight line.
[0025] Optionally, the data read / write times of the first storage group and the second storage group are different, and the data read / write logics of the first storage group and the second storage group are the same.
[0026] In a second aspect, an embodiment of the present application provides a memory, including:
[0027] Two data processing circuits as described in the first aspect above. The writing circuits in the two data processing circuits are connected to the same writing bus, and the reading circuits in the two data processing circuits are connected to the same reading bus.
[0028] Optionally, the memory is a double data rate dynamic random access memory DDR DRAM.
[0029] Optionally, the writing circuits and the reading circuits in the two data processing circuits are located in a central area. The first storage group and the second storage group in one of the data processing circuits are located on one side of the central area, and the first storage group and the second storage group in the other data processing circuit are located on the other side of the central area.
[0030] In a third aspect, an embodiment of the present application provides a memory, including: the memory of the second aspect.
[0031] An embodiment of the present application provides a data processing circuit and device. The data processing circuit includes: a first storage group and a second storage group; a writing circuit including a writing input buffer circuit that receives storage data from a writing bus through the writing input buffer circuit, writes the storage data to the first storage group through a first read-write bus, and writes the storage data to the second storage group through a second read-write bus; a reading circuit including a reading output buffer circuit that reads the storage data from the first storage group through the first read-write bus, reads the storage data from the second storage group through the second read-write bus, and sends the storage data to a reading bus through the reading output buffer circuit. Each writing circuit in the embodiment of the present application includes a writing input buffer circuit, and each reading circuit includes a reading output buffer circuit. Since the writing circuit and the reading circuit are located in the central area, the circuit size of the central area can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for the description of the embodiments of the present application or the prior art. Obviously, the drawings in the following description are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0033] Figure 1 An exemplary structural diagram of a memory DDR DRAM in the prior art is shown;
[0034] Figure 2 、 Figure 3 Exemplary structural diagrams of two data processing circuits provided by the embodiments of the present application are shown;
[0035] Figure 4 An exemplary arrangement diagram of a first read-write bus and a second read-write bus provided by the embodiments of the present application is shown;
[0036] Figure 5 、 Figure 6 Exemplary structural diagrams of two data processing circuits provided by the embodiments of the present application are shown;
[0037] Figure 7 An exemplary timing diagram of a data writing process provided by the embodiments of the present application is shown;
[0038] Figures 8 to 11 Exemplary structural diagrams of four memories provided by the embodiments of the present application are shown;
[0039] Figure 12 An exemplary circuit structural diagram of a semi-latch provided by the embodiments of the present application is shown;
[0040] Figure 13 Exemplarily shown is a schematic circuit diagram of a full latch provided by an embodiment of the present application;
[0041] Figure 14 、 Figure 15 Exemplarily shown are two specific schematic structural diagrams of a data processing circuit provided by an embodiment of the present application. Detailed implementation manners
[0042] To make the objectives, implementation manners, and advantages of the present application clearer, the following will clearly and completely describe the exemplary implementation manners of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application. Apparently, the described exemplary embodiments are only a part rather than all of the embodiments of the present application.
[0043] Based on the exemplary embodiments described in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope protected by the appended claims of the present application. In addition, although the disclosure in the present application is introduced according to one or several exemplary instances, it should be understood that each aspect of these disclosures can also constitute a complete implementation manner alone.
[0044] It should be noted that the brief description of the terms in the present application is only for facilitating the understanding of the subsequent described implementation manners, rather than intending to limit the implementation manners of the present application. Unless otherwise specified, these terms should be understood according to their ordinary and general meanings.
[0045] The terms "first", "second", "third", etc. in the description, claims, and the above-mentioned drawings of the present application are used to distinguish similar or like objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise indicated. It should be understood that such terms can be interchanged under appropriate circumstances, for example, can be implemented according to an order other than those given in the illustration or description of the embodiments of the present application.
[0046] In addition, the terms "comprising" and "having" and any variations thereof are intended to cover but not exclude inclusion. For example, a product or device comprising a series of components does not necessarily have to be limited to those components clearly listed, but may include other components not clearly listed or inherent to these products or devices.
[0047] The embodiments of the present application can be applied to a data access scenario. For example, storing data into a memory or reading stored data from a memory. Among them, the memory in the embodiments of the present application is an internal memory.
[0048] Figure 1An exemplary structural schematic diagram of a memory DDR DRAM in the prior art is shown. Refer to Figure 1 As shown, the DDR DRAM includes four BGs for storing data: BG0, BG1, BG2, and BG3. Among them, BG0 and BG1 are arranged side by side in a row, BG2 and BG3 are arranged side by side in another row, and the row where BG0 and BG1 are located is parallel to the row where BG2 and BG3 are located.
[0049] In addition, there is a central area 100 between the above two columns. The circuit in the central area 100 is used to control writing stored data into each BG and reading stored data from each BG. There are four circuits in the central area 100: a writing circuit 101, a writing circuit 103, a reading circuit 102, and a reading circuit 104.
[0050] Among them, the writing circuit 101 is used to write the stored data in the writing bus 106 into BG0 and BG1, the writing circuit 103 is used to write the stored data in the writing bus 106 into BG2 and BG3, the reading circuit 102 is used to send the stored data read from BG0 and BG1 to the reading bus 105, and the reading circuit 104 is used to send the stored data read from BG2 and BG3 to the reading bus 105.
[0051] The stored data in the above writing bus 106 is the stored data obtained from the DQ (data queue).
[0052] For the above writing circuit 101, it includes a writing input buffer circuit 1013 and a writing input buffer circuit 1016, a writing control circuit 1012 and a writing control circuit 1015, a writing output buffer circuit 1011 and a writing output buffer circuit 1014.
[0053] It can be seen that the writing input buffer circuit 1013, the writing control circuit 1012, and the writing output buffer circuit 1011 are used to write stored data into BG0, and the writing input buffer circuit 1016, the writing control circuit 1015, and the writing output buffer circuit 1014 are used to write stored data into BG1.
[0054] Among them, one end of the writing input buffer circuit 1013 is connected to the writing bus 106, and the other end is connected to the writing control circuit 1012, and is used to send the stored data obtained from the writing bus 106 to the writing control circuit 1012.
[0055] One end of the writing control circuit 1012 is connected to the above writing input buffer circuit 1013, and the other end is connected to the writing output buffer circuit 1011, and is used to send the stored data received from the writing input buffer circuit 1013 to the writing output buffer circuit 1011.
[0056] One end of the write output buffer circuit 1011 is connected to the above-mentioned write control circuit 1012, and the other end is connected to BG0, and is used to send the stored data received from the write control circuit 1012 to BG0.
[0057] Similarly, one end of the write input buffer circuit 1016 is connected to the write bus 106, and the other end is connected to the write control circuit 1015, and is used to send the stored data received from the write bus 106 to the write control circuit 1015.
[0058] One end of the write control circuit 1015 is connected to the above-mentioned write input buffer circuit 1016, and the other end is connected to the write output buffer circuit 1014, and is used to send the stored data received from the write input buffer circuit 1016 to the write output buffer circuit 1014.
[0059] One end of the write output buffer circuit 1014 is connected to the above-mentioned write control circuit 1015, and the other end is connected to BG1, and is used to send the stored data received from the write control circuit 1015 to BG1.
[0060] It can be understood that for the write circuit 103, its structure is the same as that of the write circuit 101, the difference is that the two write output buffer circuits in the write circuit 103 are respectively connected to BG2 and BG3, and are used to write the stored data into BG2 and BG3.
[0061] For the above-mentioned read circuit 102, it includes a read output buffer circuit 1023 and a read output buffer circuit 1026, a read control circuit 1022 and a read control circuit 1025, a read input buffer circuit 1021 and a read input buffer circuit 1024.
[0062] It can be seen that the read input buffer circuit 1021, the read control circuit 1022, and the read output buffer circuit 1023 are used to read the stored data from BG0, and the read input buffer circuit 1024, the read control circuit 1025, and the read output buffer circuit 1026 are used to read the stored data from BG1.
[0063] Among them, one end of the read input buffer circuit 1021 is connected to BG0, and the other end is connected to the read control circuit 1022, and is used to send the stored data read from BG0 to the read control circuit 1022.
[0064] One end of the read control circuit 1022 is connected to the above-mentioned read input buffer circuit 1021, and the other end is connected to the read output buffer circuit 1023, and is used to send the stored data received from the read input buffer circuit 1021 to the read output buffer circuit 1023.
[0065] One end of the read output buffer circuit 1023 is connected to the above-mentioned read control circuit 1022, and the other end is connected to the read bus 105, and is used to send the stored data received from the read control circuit 1022 to the read bus 105.
[0066] Similarly, one end of the read input buffer circuit 1024 is connected to BG1, and the other end is connected to the read control circuit 1025, and is used to send the stored data read from BG1 to the read control circuit 1025.
[0067] One end of the read control circuit 1025 is connected to the above-mentioned read input buffer circuit 1024, and the other end is connected to the read output buffer circuit 1026, and is used to send the stored data received from the read input buffer circuit 1024 to the read output buffer circuit 1026.
[0068] One end of the read output buffer circuit 1026 is connected to the above-mentioned read control circuit 1025, and the other end is connected to the read bus 105, and is used to send the stored data received from the read control circuit 1025 to the read bus 105.
[0069] It can be understood that for the read circuit 104, its structure is the same as that of the read circuit 102, except that the two read input buffer circuits in the read circuit 104 are respectively connected to BG2 and BG3, and are used to send the stored data in BG2 and BG3 to the read bus 105.
[0070] However, the circuit size of the central region 100 of the above-mentioned memory is relatively large.
[0071] To solve the above problems, after the applicant's research on the above-mentioned circuit, it is found that the process of writing stored data into BG0 and BG1 is carried out alternately, and their writing times are different, so there is no writing conflict between them. In addition, the process of reading stored data from BG0 and BG1 is also carried out alternately, and their reading times are different, so there is no reading conflict between them. Similarly, there are no writing conflicts and reading conflicts between BG2 and BG3.
[0072] Based on the above findings, the embodiments of the present application can perform at least one of the following circuit merges: the merge of the write input buffer circuits corresponding to BG0 and BG1, the merge of the write control circuits corresponding to BG0 and BG1, the merge of the read output buffer circuits corresponding to BG0 and BG1, the merge of the read control circuits corresponding to BG0 and BG1, the merge of the write input buffer circuits corresponding to BG2 and BG3, the merge of the write control circuits corresponding to BG2 and BG3, the merge of the read output buffer circuits corresponding to BG2 and BG3, the merge of the read control circuits corresponding to BG2 and BG3. In this way, the circuit size of the merged central region can be reduced.
[0073] The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0074] Figure 2 and Figure 3 The structural diagrams of two data processing circuits provided by the embodiments of the present application are exemplarily shown. Refer to Figure 2 and Figure 3 As shown, the above data processing circuit mainly includes:
[0075] A first storage group 201 and a second storage group 202; a writing circuit 203, the writing circuit 203 includes a writing input buffer circuit 2031, the writing circuit 203 receives stored data from a writing bus 206 through the writing input buffer circuit 2031, the writing circuit 203 writes the stored data into the first storage group 201 through a first read / write bus 207, and the writing circuit 203 writes the stored data into the second storage group 202 through a second read / write bus 208; a reading circuit 204, the reading circuit 204 includes a reading output buffer circuit 2041, the reading circuit 204 reads the stored data from the first storage group 201 through the first read / write bus 207, the reading circuit 204 reads the stored data from the second storage group 202 through the second read / write bus 208, and the reading circuit 204 sends the stored data to a reading bus 205 through the reading output buffer circuit 2041.
[0076] Among them, the data read / write times of the first storage group 201 and the second storage group 202 are different. The above first storage group 201 and second storage group 202 are two storage groups that alternately store data, and at the same time, they are also two storage groups that alternately write stored data, that is, the stored data is alternately written into the first storage group 201 and the second storage group 202, and the stored data is alternately read from the first storage group 201 and the second storage group 202. In addition, the data read / write logics of the first storage group 201 and the second storage group 202 are the same, so the writing circuits of the first storage group 201 and the second storage group 202 can be combined, and the reading circuits of the first storage group 201 and the second storage group 202 can be combined. For example, when the above first storage group 201 is Figure 1 BG0 in Figure 1 the second storage group 202 is BG1; when the above first storage group 201 is
[0077] From Figure 2 it can be seen that the above writing circuit 203 includes: a writing input buffer circuit 2031, a first writing control circuit 2032, a second writing control circuit 2034, a first writing output buffer circuit 2033, and a second writing output buffer circuit 2035.
[0078] Among them, the write input buffer circuit 2031 is respectively connected to the write bus 206, the first write control circuit 2032, and the second write control circuit 2034, and is used to send the stored data obtained from the write bus 206 to the first write control circuit 2032 and the second write control circuit 2034.
[0079] The first write control circuit 2032 is respectively connected to the write input buffer circuit 2031 and the first write output buffer circuit 2033, and is used to send the stored data sent by the write input buffer circuit 2031 to the first write output buffer circuit 2033.
[0080] The second write control circuit 2034 is respectively connected to the write input buffer circuit 2031 and the second write output buffer circuit 2035, and is used to send the stored data sent by the write input buffer circuit 2031 to the second write output buffer circuit 2035. The first write output buffer circuit 2033 is respectively connected to the first write control circuit 2032 and the first storage group 201, and sends the stored data sent by the first write control circuit 2032 to the first storage group 201.
[0081] The second write output buffer circuit 2035 is respectively connected to the second write control circuit 2034 and the second storage group 202, and sends the stored data sent by the second write control circuit 2034 to the second storage group 202.
[0082] Among them, the first write output buffer circuit 2033 and the first storage group 201 are connected through the first read / write bus 207, and the second write output buffer circuit 2035 and the second storage group 202 are connected through the second read / write bus 208. Embodiments of the present application can Figure 2 through the write input buffer circuit 2031, the first write control circuit 2032, and the first write output buffer circuit 2033 in, write the stored data in the write bus 206 into the first storage group 201, and through the write input buffer circuit 2031, the second write control circuit 2034, and the second write output buffer circuit 2035, write the stored data in the write bus 206 into the second storage group 202.
[0083] From Figure 2 it can be seen that the above-mentioned read circuit 204 includes: a read output buffer circuit 2041, a first read control circuit 2042, a second read control circuit 2044, a first read input buffer circuit 2043, and a second read input buffer circuit 2045.
[0084] Among them, the first read input buffer circuit 2043 is respectively connected to the first storage group 201 and the first read control circuit 2042, and is used to send the stored data obtained from the first storage group 201 to the first read control circuit 2042.
[0085] The second read input buffer circuit 2045 is respectively connected to the second storage group 202 and the second read control circuit 2044, and is used to send the stored data obtained from the second storage group 202 to the second read control circuit 2044.
[0086] The first read control circuit 2042 is respectively connected to the first read input buffer circuit 2043 and the read output buffer circuit 2041, and is used to send the stored data obtained from the first read input buffer circuit 2043 to the read output buffer circuit 2041.
[0087] The second read control circuit 2044 is respectively connected to the second read input buffer circuit 2045 and the read output buffer circuit 2041, and is used to send the stored data obtained from the second read input buffer circuit 2045 to the read output buffer circuit 2041.
[0088] The read output buffer circuit 2041 is respectively connected to the first read control circuit 2042, the second read control circuit 2044, and the read bus 205, and is used to send the stored data obtained from the first read control circuit 2042 and the second read control circuit 2044 to the read bus 205.
[0089] Among them, the first read input buffer circuit 2043 and the first storage group 201 are connected through the first read / write bus 207, and the second read input buffer circuit 2045 and the second storage group 202 are connected through the second read / write bus 208. In the embodiments of the present application, Figure 2 through the first read input buffer circuit 2043, the first read control circuit 2042, and the read output buffer circuit 2041 in, the stored data in the first storage group 201 can be read onto the read bus 205, and through the second read input buffer circuit 2045, the second read control circuit 2044, and the read output buffer circuit 2041, the stored data in the second storage group 202 can be read onto the read bus 205.
[0090] From Figure 3 it can be seen that the write circuit 203 includes: a write input buffer circuit 2031, a write control circuit 2036, a first write output buffer circuit 2033, and a second write output buffer circuit 2035.
[0091] Among them, the write input buffer circuit 2031 is respectively connected to the write bus 206 and the write control circuit 2036, and is used to send the stored data obtained from the write bus 206 to the write control circuit 2036.
[0092] The write control circuit 2036 is respectively connected to the write input buffer circuit 2031, the first write output buffer circuit 2033, and the second write output buffer circuit 2035, and is used to send the stored data sent by the write input buffer circuit 2031 to the first write output buffer circuit 2033 or the second write output buffer circuit 2035.
[0093] The first write output buffer circuit 2033 is connected to the first storage group 201, and sends the stored data sent by the write control circuit 2036 to the first storage group 201.
[0094] The second write output buffer circuit 2035 is connected to the second storage group 202, and sends the stored data sent by the write control circuit 2036 to the second storage group 202.
[0095] The embodiment of the present application can Figure 3 through the write input buffer circuit 2031, the write control circuit 2036, and the first write output buffer circuit 2033 in, write the stored data on the write bus 206 into the first storage group 201, and can write the stored data on the write bus 206 into the second storage group 202 through the write input buffer circuit 2031, the write control circuit 2036, and the second write output buffer circuit 2035. Optionally, Figure 2 or the write input buffer circuit 2031 in 3 receives the stored data through the first control signal, and the frequency of the first control signal is the same as the clock frequency of writing the stored data.
[0096] In the process of the above write input buffer circuit 2031 receiving the stored data from the write bus 206, it needs to rely on the frequency of the first control signal, and the frequency of the first control signal is the frequency at which the first control signal receives the stored data. For example, the first control signal can be a clock signal, and the stored data on the write bus 206 is transferred to the write input buffer circuit 2031 at the rising edge or falling edge of each clock signal.
[0097] It can be understood that when the frequency of the first control signal is greater than the clock frequency for writing stored data, the write input buffer circuit 2031 has no stored data to receive at some moments, wasting the resources of the write input buffer circuit 2031; when the frequency of the first control signal is less than the clock frequency for writing stored data, the write input buffer circuit 2031 will miss some of the stored data that needs to be written. The embodiments of the present application can make the frequency of the first control signal the same as the clock frequency for writing stored data, which can not only save resources but also avoid missing the stored data that needs to be written.
[0098] Optionally, Figure 2 The first write output buffer circuit 2033 in 3 or writes the stored data into the first storage group 201 through the second control signal, and the second write output buffer circuit 2035 writes the stored data into the second storage group 202 through the third control signal. The frequencies of the second control signal and the third control signal are half of the frequency of the first control signal, and the falling edges of the second control signal and the third control signal appear alternately.
[0099] It can be understood that the write circuit 203 is used to alternately write stored data into the first storage group 201 and the second storage group 202, so that the falling edges of the second control signal and the third control signal appear alternately. For Figure 2 the write circuit 203 shown, when the falling edge of the second control signal appears, the first write output buffer circuit 2033 writes the stored data obtained from the first write control circuit 2032 into the first storage group 201. When the falling edge of the third control signal appears, the second write output buffer circuit 2035 writes the stored data obtained from the second write control circuit 2034 into the second storage group 202. It should be noted that the falling edge drive of the control signal does not constitute a limitation on the drive method. In some embodiments, the rising edge drive or the level drive can also be used.
[0100] For Figure 3 the write circuit 203 shown, when the falling edge of the second control signal appears, the first write output buffer circuit 2033 writes the stored data obtained from the write control circuit 2036 into the first storage group 201. When the falling edge of the third control signal appears, the second write output buffer circuit 2035 writes the stored data obtained from the write control circuit 2036 into the second storage group 202.
[0101] In addition, the arrival frequency of the falling edges of the second control signal and the third control signal is half of the frequency of the first control signal, that is, half of the clock frequency for writing stored data. In this way, the stored data on the write bus 206 can be evenly and alternately written into the first storage group 201 and the second storage group 202. For example, the stored data is written into the first storage group 201 and the second storage group 202 in the following order: the first storage group 201 - the second storage group 202 - the first storage group 201 - the second storage group 202 -... - the first storage group 201 - the second storage group 202, and so on in a cycle.
[0102] It can be seen from Figure 3 that the above-mentioned reading circuit 204 includes: a reading output buffer circuit 2041, a reading control circuit 2046, a first reading input buffer circuit 2043, and a second reading input buffer circuit 2045.
[0103] Among them, the first reading input buffer circuit 2043 is connected to the first storage group 201 and is used to read the stored data from the first storage group 201.
[0104] The second reading input buffer circuit 2045 is connected to the second storage group 202 and is used to read the stored data from the second storage group 202.
[0105] The reading control circuit 2046 is respectively connected to the first reading input buffer circuit 2043 and the second reading input buffer circuit 2045, and is used to send the stored data sent by the first reading input buffer circuit 2043 or the second reading input buffer circuit 2045 to the reading output buffer circuit 2041.
[0106] The reading output buffer circuit 2041 is respectively connected to the reading control circuit 2046 and the reading bus 205, and is used to send the stored data obtained from the reading control circuit 2046 to the reading bus 205.
[0107] Among them, the first reading input buffer circuit 2043 and the first storage group 201 are connected through a first read-write bus 207, and the second reading input buffer circuit 2045 and the second storage group 202 are connected through a second read-write bus 208. In the embodiment of the present application, the reading output buffer circuit 2041, the reading control circuit 2046, and the first reading input buffer circuit 2043 in the reading circuit 204 can be used to read the stored data from the first storage group 201 into the reading bus 205, and the reading output buffer circuit 2041, the reading control circuit 2046, and the second reading input buffer circuit 2045 in the reading circuit 204 can be used to read the stored data from the second storage group 202 into the reading bus 205.
[0108] It should be noted that Figure 1The time intervals for reading the data in the write control circuit 1012, write control circuit 1015, read control circuit 1022, and read control circuit 1025 are all the same. For example, it can be 5 nanoseconds. Figure 3 The data intervals in the write control circuit 2036 and read control circuit 2046 in are both Figure 1 half of that of the write control circuit 1012 in, for example, 2.5 nanoseconds.
[0109] The above Figure 3 The number of bits of the read bus 205, write bus 206, first read / write bus 207, and second read / write bus 208 in can be selected according to the actual application scenario. Figure 14 Exemplarily shows a specific structural schematic diagram of a data processing circuit provided by an embodiment of the present application. From Figure 14 it can be seen that when the read bus 205 and write bus 206 are both 36 (i.e., [35:0]) bits, the first read / write bus 207 and second read / write bus 208 can be 72 (i.e., [71:0]) bits. In this way, for the same storage group, writing and reading can be performed simultaneously. For example, while writing data to the first storage group 201 through the [35:0] bits of the write bus 206 and first read / write bus 207, data can also be read from the first storage group 201 through the [71:36] bits of the read bus 205 and first read / write bus 207. It should be noted that Figure 14 The data processing circuit in can be composed of multiple sub-circuits. For example, it is composed of 9 sub-circuits, and the structure of each sub-circuit is the same as that of the Figure 14 circuit structure in, but the write bus 206 and read bus 205 of each sub-circuit are both 4 (i.e., [3:0]) bits, the first read / write bus 207 and second read / write bus 208 are both 8 (i.e., [7:0]) bits, and the first storage groups in all sub-circuits are the same, and the second storage groups in all sub-circuits are the same.
[0110] Optionally, Figure 2 The first read input buffer circuit 2043 in or 3 reads the stored data through the fourth control signal, and the second read input buffer circuit 2045 reads the stored data through the fifth control signal. The frequency of the fourth control signal is the same as the frequency of the fifth control signal, and the falling edges in the fourth control signal and the falling edges in the fifth control signal appear alternately.
[0111] It can be understood that the reading circuit 204 is used to alternately read stored data from the first storage group 201 and the second storage group 202, so that the falling edges of the fourth control signal and the fifth control signal appear alternately. When the falling edge of the fourth control signal appears, the first read input buffer circuit 2043 reads the stored data from the first storage group 201. When the falling edge of the fifth control signal appears, the second read input buffer circuit 2045 reads the stored data from the second storage group 202.
[0112] In addition, the arrival frequencies of the falling edges of the fourth control signal and the fifth control signal are the same. In this way, the stored data can be read evenly and alternately from the first storage group 201 and the second storage group 202. For example, the stored data is read from the first storage group 201 and the second storage group 202 in the following order: the first storage group 201 - the second storage group 202 - the first storage group 201 - the second storage group 202 -... - the first storage group 201 - the second storage group 202, and so on in a cycle.
[0113] Optionally, Figure 2 The read output buffer circuit 2041 in 8 or 3 sends the stored data to the read bus 205 through the sixth control signal, and the frequency of the sixth control signal is twice the frequency of the fourth control signal.
[0114] Among them, the frequency of the sixth control signal is the arrival frequency of the falling edge in the sixth control signal. When the falling edge of the sixth control signal arrives, the read output buffer circuit 2041 sends the stored data to the read bus 205. Since the read output buffer circuit 2041 not only needs to send the stored data read by the first read input buffer circuit 2043 from the first storage group 201 to the read bus 205, but also needs to send the stored data read by the second read input buffer circuit 2045 from the second storage group 202 to the read bus 205, the frequency of the sixth control signal is twice the frequency of the fourth control signal.
[0115] When the falling edges of the fourth control signal and the fifth control signal alternate, the read output buffer circuit 2041 can alternately send the stored data in the first storage group 201 and the stored data in the second storage group 202 to the read bus 205.
[0116] Optionally, the first read-write bus 207 and the second read-write bus 208 are arranged in a cross pattern. The first read-write bus 207 includes a first sub-bus with multiple bits, and the second read-write bus 208 includes a second sub-bus with multiple bits. After the first sub-bus and the second sub-bus corresponding to the same bit extend to the same height, they are respectively connected to the first storage group 201 and the second storage group 202.
[0117] In practical applications, the first sub-bus with multiple bits can achieve multi-bit parallel reading or multi-bit parallel writing to the first storage group 201, and the second sub-bus with multiple bits can achieve multi-bit parallel reading or multi-bit parallel writing to the second storage group 202. Figure 4 An exemplary arrangement diagram of the first read / write bus and the second read / write bus provided by the embodiments of the present application is shown. As Figure 4 shown, the first read / write bus 207 includes a first sub-bus with 5 bits: b11, b12, b13, b14, and b15, and the second read / write bus includes a second sub-bus with 5 bits: b21, b22, b23, b24, and b25. Among them, b11 and b21 are the same bit, b12 and b22 are the same bit, b13 and b23 are the same bit, b14 and b24 are the same bit, and b15 and b25 are the same bit. It can be seen that after b11 and b21 extend to the same height, b11 is connected to the first storage group 201, b12 is connected to the second storage group 202, and so on.
[0118] From Figure 4 it can be seen that the first sub-bus included in the first read / write bus 207 and the second sub-bus included in the second read / write bus 208 are arranged crosswise.
[0119] By the above arrangement of the read / write buses, the embodiments of the present application can enable the first sub-bus and the second sub-bus of the same bit to share a horizontal lane, which helps to reduce the number of lanes and further reduce the size of the data processing circuit.
[0120] Optionally, the writing circuit 203 and the reading circuit 204 are arranged side by side on a first straight line, the first storage group 201 and the second storage group 202 are arranged side by side on a second straight line, and the first straight line and the second straight line are parallel.
[0121] It should be noted that the first straight line and the second straight line are parallel to each other but do not coincide. In this way, it is convenient for the line connection between the writing circuit 203 and the first storage group 201, the line connection between the writing circuit 203 and the second storage group 202, the line connection between the reading circuit 204 and the first storage group 201, and the line connection between the reading circuit 204 and the second storage group 202.
[0122] Optionally, the first area where the writing circuit 203 and the reading circuit 204 are located and the second area where the first storage group 201 and the second storage group 202 are located are arranged side by side on a third straight line, and the third straight line is perpendicular to the first straight line.
[0123] It can be understood that when the third straight line is perpendicular to the first straight line and the first straight line is parallel to the second straight line, the writing circuit, the reading circuit, the first storage group, and the second storage group can form an approximate rectangle, which helps to minimize the size of the circuit as much as possible.
[0124] The principle of writing data to the first storage group and the second storage group through a writing circuit during the writing process is described in detail above. Next, the principle of writing data to the first storage group and the second storage group through two writing circuits will be described in detail.
[0125] Figure 5 Or Figure 6 Exemplarily shown is a schematic structural diagram of a third data processing circuit provided by an embodiment of the present application. Refer to Figure 5 Or Figure 6 As shown, the data processing circuit mainly includes:
[0126] A first storage group 301 and a second storage group 302; two writing circuits 303 and 304. The writing circuit 303 includes a writing input buffer circuit 3031, and the writing circuit 304 includes a writing input buffer circuit 3041. The writing circuits 303 and 304 respectively receive storage data from the same writing bus 306 through the writing input buffer circuits 3031 and 3041, write the storage data to the first storage group 301 through the first read / write bus 307, and write the storage data to the second storage group 302 through the second read / write bus 308; the control signals adopted by the two writing input buffer circuits 3031 and 3041 both have a frequency that is half of the clock frequency of writing storage data on the writing bus 306, and the falling edges appear alternately.
[0127] Among them, for the detailed description of the first storage group 301 and the second storage group 302, reference can be made to the detailed description of the first storage group 201 and the second storage group 202, which will not be elaborated here.
[0128] From Figure 5 it can be seen that the above-mentioned writing circuit 303 includes: a writing input buffer circuit 3031, a first writing control circuit 3032, a second writing control circuit 3034, a first writing output buffer circuit 3033, and a second writing output buffer circuit 3035.
[0129] Among them, the writing input buffer circuit 3031 is respectively connected to the writing bus 306, the first writing control circuit 3032, and the second writing control circuit 3034, and is used to send the storage data obtained from the writing bus 306 to the first writing control circuit 3032 and the second writing control circuit 3034.
[0130] The first writing control circuit 3032 is respectively connected to the writing input buffer circuit 3031 and the first writing output buffer circuit 3033, and is used to send the storage data sent by the writing input buffer circuit 3031 to the first writing output buffer circuit 3033.
[0131] The second write control circuit 3034 is respectively connected to the write input buffer circuit 3031 and the second write output buffer circuit 3035, and is configured to send the stored data sent by the write input buffer circuit 3031 to the second write output buffer circuit 3035.
[0132] The first write output buffer circuit 3033 is respectively connected to the first write control circuit 3032 and the first storage group 301, and sends the stored data sent by the first write control circuit 3032 to the first storage group 301.
[0133] The second write output buffer circuit 3035 is respectively connected to the second write control circuit 3034 and the second storage group 302, and sends the stored data sent by the second write control circuit 3034 to the second storage group 302.
[0134] Among them, the first write output buffer circuit 3033 and the first storage group 301 are connected through the first read / write bus 307, and the second write output buffer circuit 3035 and the second storage group 302 are connected through the second read / write bus 308. In the embodiments of the present application, the Figure 5 in the write input buffer circuit 3031, the first write control circuit 3032, and the first write output buffer circuit 3033 can be used to write the stored data in the write bus 306 into the first storage group 301, and the write input buffer circuit 3031, the second write control circuit 3034, and the second write output buffer circuit 3035 in the write circuit 303 can be used to write the stored data in the write bus 306 into the second storage group 302.
[0135] The structure of the write circuit 304 is the same as that of 303, and will not be described in detail here.
[0136] In the embodiments of the present application, Figure 5 in the first branch (the circuit composed of the write input buffer circuit 3031, the first write control circuit 3032, and the first write output buffer circuit 3033), and the second branch (the circuit composed of the write input buffer circuit 3041, the first write control circuit 3042, and the first write output buffer circuit 3043), the stored data in the write bus 306 can be written into the first storage group 301 in parallel, and through Figure 5 in the third branch (the circuit composed of the write input buffer circuit 3031, the second write control circuit 3034, and the second write output buffer circuit 3035), and the fourth branch (the circuit composed of the write input buffer circuit 3041, the second write control circuit 3044, and the second write output buffer circuit 3045), the stored data in the write bus 306 can be written into the second storage group 302 in parallel.
[0137] Such as Figure 5As shown, two branches, namely the first branch and the second branch, perform parallel writing. In some embodiments, there may also be four branches or eight branches for parallel writing. The number of writing branches can be determined according to the number of bits of the writing bus 306, and there is no limitation here.
[0138] From Figure 6 it can be seen that the writing circuit 303 includes: a writing input buffer circuit 3031, a writing control circuit 3036, a first writing output buffer circuit 3033, and a second writing output buffer circuit 3035.
[0139] The writing input buffer circuit 3031 is respectively connected to the writing bus 306 and the writing control circuit 3036, and is used to send the stored data obtained from the writing bus 306 to the writing control circuit 3036.
[0140] The writing control circuit 3036 is connected to the writing input buffer circuit 3031 in its own writing circuit 303, the first writing output buffer circuit 3033 in its own writing circuit 303, and the second writing output buffer circuit 3035 in its own writing circuit 303, and is used to send the stored data sent by the writing input buffer circuit 3031 to the first writing output buffer circuit 3033 or the second writing output buffer circuit 3035.
[0141] The first writing output buffer circuit 3033 is connected to the first storage group 301, and is used to send the stored data sent by the writing control circuit 3036 to the first storage group 301.
[0142] The second writing output buffer circuit 3035 is connected to the second storage group 302, and is used to send the stored data sent by the writing control circuit 3036 to the second storage group 302.
[0143] Similarly, the structure of the writing circuit 304 is the same as that of the writing circuit 303, and will not be elaborated here.
[0144] The embodiment of the present application can pass Figure 6 the first branch (the circuit composed of the writing input buffer circuit 3031, the writing control circuit 3036, and the first writing output buffer circuit 3033) in Figure 6The third branch (the circuit composed of the write input buffer circuit 3031, the write control circuit 3036, and the second write output buffer circuit 3035), and the fourth branch (the circuit composed of the write input buffer circuit 3041, the write control circuit 3046, and the second write output buffer circuit 3045) parallelly write the stored data in the write bus 306 into the second storage group 302.
[0145] As Figure 6 shown, two branches in total, namely the first branch and the second branch, perform parallel writing. In some embodiments, there may also be four branches or eight branches for parallel writing. The number of write branches can be determined according to the number of bits of the write bus 306, and there is no limitation here.
[0146] It should be noted that Figure 1 the time intervals of the data in the write control circuit 1012, the write control circuit 1015, the read control circuit 1022, and the read control circuit 1025 in Figure 6 are the same. For example, it can be 5 nanoseconds. Figure 1 The data intervals in the write control circuits 3036 and 3046 in
[0147] are half of that of the write control circuit 1012 in Figure 6 For example, it is 2.5 nanoseconds. Figure 15 Exemplarily shows a specific structural schematic diagram of another data processing circuit provided by an embodiment of the present application. As can be seen from Figure 15 when the write bus 306 is 4 (i.e., [3:0]) bits, the first read / write bus 307 and the second read / write bus 308 can be 8 (i.e., [7:0]) bits. In this way, two consecutive 4-bit data on the write bus 306 can be simultaneously written into the first storage group 201 through the [3:0] bits and [7:4] bits of the first read / write bus 307 respectively, or two consecutive 4-bit data on the write bus 306 can be simultaneously written into the second storage group 202 through the [3:0] bits and [7:4] bits of the second read / write bus 308 respectively.
[0148] As can also be seen from Figure 15 for the first storage group 201, the write circuit 303 can be used to write 4 (i.e., [3:0]) bits into the first storage group 201, and the write circuit 304 can be used to write 4 (i.e., [7:4]) bits into the first storage group 201. Similarly, for the second storage group 202, the write circuit 303 can be used to write 4 (i.e., [3:0]) bits into the second storage group 202, and the write circuit 304 can be used to write 4 (i.e., [7:4]) bits into the second storage group 202.
[0149] Figure 15 It includes two writing circuits. In practical applications, the data processing circuit may also include more than two writing circuits, and their connection manners are the same as those Figure 15 shown. For example, when the write bus 306 is 36 (i.e., [35:0]) bits, the first read / write bus 307 and the second read / write bus may be 72 (i.e., [71:0]) bits, so the writing circuits included therein are 18, that is, it includes 9 groups Figure 15 of the data processing circuits shown.
[0150] Optionally, Figure 5 or Figure 6 the first write output buffer circuits 3033 and 3043 in the two writing circuits 303 and 304 adopt the same second control signal, and the second write output buffer circuits 3035 and 3045 in the two writing circuits 303 and 304 adopt the same third control signal. The frequencies of the second control signal and the third control signal are both one-fourth of the clock frequency for writing and storing data, and the falling edges of the second control signal and the third control signal appear alternately.
[0151] Figure 7 Exemplarily shows a timing diagram provided by an embodiment of the present application, Figure 7 which is Figure 6 the timing diagram corresponding to the data processing circuit. It can be seen from Figure 7 that the frequencies of the control signals adopted by the write input buffer circuits 3031 and 3041 of the two writing circuits 303 and 304 are both half of the clock frequency for writing and storing data on the write bus 306, that is: the occurrence frequency of the falling edge of the write input buffer circuit 3031 and the occurrence frequency of the falling edge of the write input buffer circuit 3041 are half of the frequency of writing and storing data. In addition, it can also be seen that the falling edge of the write input buffer circuit 3031 and the falling edge of the write input buffer circuit 3041 appear alternately.
[0152] At time t1, due to the arrival of a falling edge of the control signal written to the input buffer circuit 3031, the write control circuit 3036 outputs the currently received stored data d1. At time t2, due to the arrival of a falling edge of the control signal written to the input buffer circuit 3041, the write control circuit 3046 outputs the currently received stored data d2. At the same time, at time t2, due to the arrival of a falling edge of the control signal of the first write output buffer circuit 3033, the first write output buffer circuit 3033 writes the stored data d1 output by the write control circuit 3036 into the first storage group 301. At the same time, at time t2, due to the arrival of a falling edge of the control signal of the first write output buffer circuit 3043, the first write output buffer circuit 3043 writes the stored data d2 output by the write control circuit 3046 into the second storage group 302. It can be seen that through the above process, the stored data d1 and d2 at different times are written into the first storage group 301 at the same time t2.
[0153] Similarly, at time t3, due to the arrival of a falling edge of the control signal written to the input buffer circuit 3031, the write control circuit 3036 outputs the currently received stored data d3. At time t4, due to the arrival of a falling edge of the control signal written to the input buffer circuit 3041, the write control circuit 3046 outputs the currently received stored data d4. At the same time, at time t4, due to the arrival of a falling edge of the control signal of the second write output buffer circuit 3035, the second write output buffer circuit 3035 writes the stored data d3 output by the write control circuit 3036 into the second storage group 302. At the same time, at time t4, due to the arrival of a falling edge of the control signal of the second write output buffer circuit 3045, the second write output buffer circuit 3045 writes the stored data d4 output by the write control circuit 3046 into the second storage group 302. It can be seen that through the above process, the stored data d3 and d4 at different times are written into the second storage group 302 at the same time t4.
[0154] When Figure 6 the write bus in Figure 7 is 4 bits, the stored data d1, d2, d3, and d4 in the above
[0155] can all be 4 bits. d1 is the [3:0] bits written to the first storage group 301, d2 is the [7:4] bits written to the first storage group 301, d3 is the [3:0] bits written to the second storage group 302, and d4 is the [7:4] bits written to the second storage group 302.
[0155] Optionally, referring to Figure 6Among them, the frequencies of the control signals adopted by the write control circuits 3036 and 3046 in the two write circuits 303 and 304 are the same as those of the control signals adopted by the write input buffer circuits 3031 and 3041. In this way, the storage data sent by the write input buffer circuits 3031 and 3041 can be received synchronously, avoiding the loss of storage data.
[0156] Optionally, both the first write output buffer circuit and the second write output buffer circuit in one of the write circuits adopt full latches, and both the first write output buffer circuit and the second write output buffer circuit in the other write circuit adopt half latches. The write control circuit in the write circuit controls data writing with the time delay between column address strobes, and the time delay between column address strobes includes four clock cycles.
[0157] Among them, a latch is a storage unit circuit sensitive to pulse level or rising edge or falling edge, and is used for data caching. In the embodiments of the present application, the write input buffer circuit, the first write output buffer circuit, the second write output buffer circuit, the first read input buffer circuit, the second read input buffer circuit, and the read output buffer circuit are all latches.
[0158] In the embodiments of the present disclosure, for the write circuit, the storage data in the write bus 306 is serial in time. In order to realize writing the serial storage data into the first storage group 301 or the second storage group 302 simultaneously, the write circuit that receives the storage data first needs to wait for the write circuit that receives the storage data later. Therefore, the first write output buffer circuit and the second write output buffer circuit in the write circuit that receives the storage data first can adopt full latches, and the first write output buffer circuit and the second write output buffer circuit in the write circuit that receives the storage data later can adopt half latches. Since the caching duration of the full latch for the storage data is longer than that of the half latch for the storage data, the two write circuits that receive the storage data at different times can write the storage data simultaneously, realizing the serial-to-parallel data writing process.
[0159] Figure 12 、 Figure 13 Exemplarily shows the circuit structure diagrams of the half latch and the full latch provided by the embodiments of the present application. As Figure 12 and 13 shown, the full latch is obtained by connecting two half latches in series, D is the data input port, CK and CKB are complementary clock ports, and Q and QB are the data output ports.
[0160] Optionally, the first read / write bus and the second read / write bus are arranged in a cross pattern.
[0161] Optionally, the first read / write bus includes a first sub-bus of multiple bits, and the second read / write bus includes a second sub-bus of multiple bits. After the first sub-bus and the second sub-bus corresponding to the same bit extend to the same height, they are respectively connected to the first storage group and the second storage group.
[0162] Optionally, the two write circuits are arranged side by side on a first straight line, the first storage group and the second storage group are arranged side by side on a second straight line, and the first straight line and the second straight line are parallel.
[0163] It should be noted that the first straight line and the second straight line are parallel to each other but do not coincide. In this way, the circuit connection between the write circuit and the first storage group and the circuit connection between the write circuit and the second storage group can be facilitated.
[0164] Optionally, the first area where the two write circuits are located, and the second area where the first storage group and the second storage group are located are arranged side by side on a third straight line, and the third straight line is perpendicular to the first straight line.
[0165] Optionally, the data writing times of the first storage group and the second storage group are different, and the data writing logics of the first storage group and the second storage group are the same. In this way, when there is no writing conflict, the write circuits for writing data with the same writing logic into the first storage group and the second storage group can be combined.
[0166] Figures 8 to 11 Exemplarily shown is a schematic structural diagram of four memories provided by an embodiment of the present application. Refer to Figures 8 to 11 As shown, each write circuit in the two data processing circuits is connected to the same write bus. For the two data processing circuits having read circuits, each read circuit in the two data processing circuits is connected to the same read bus.
[0167] Refer to Figure 8 As shown or Figure 9 As shown, a data processing circuit 401 includes: a first storage group BG0, a second storage group BG1, a write circuit 203, and a read circuit 204. Another data processing circuit 402 includes: a first storage group BG2, a second storage group BG3, a write circuit 209, and a read circuit 210. Figure 8 The two data processing circuits 401 and 402 in Figure 2 have the same structure as the data processing circuit shown in Figure 9 The two data processing circuits 401 and 402 in Figure 3 have the same structure as the data processing circuit shown in
[0168] Of course, Figure 2 the data processing circuit in Figure 3The data processing circuit in can form a memory, that is, the memory includes a Figure 2 shown data processing circuit and a Figure 3 shown data processing circuit.
[0169] Referring to Figure 10 shown or Figure 11 shown, a data processing circuit 401 includes: a first storage group BG0, a second storage group BG1, a write circuit 303 and a write circuit 304, and another data processing circuit 402 includes: a first storage group BG2, a second storage group BG3, a write circuit 309 and a write circuit 310. Figure 10 The two data processing circuits 401 and 402 in are the same as the Figure 5 shown data processing circuit in structure, Figure 11 The two data processing circuits 401 and 402 in are the same as the Figure 6 shown data processing circuit in structure.
[0170] Of course, Figure 5 The data processing circuit in can be combined with the Figure 6 The data processing circuit in to form a memory, that is, the memory includes a Figure 5 shown data processing circuit and a Figure 6 shown data processing circuit.
[0171] Optionally, the above memory is a double data rate dynamic random access memory DDR DRAM.
[0172] Optionally, the write circuits in the two data processing circuits are located in the central area, the first storage group and the second storage group in one of the data processing circuits are located on one side of the central area, and the first storage group and the second storage group in the other data processing circuit are located on the other side of the central area.
[0173] Similarly, the read circuits in the two data processing circuits are located in the central area, the first storage group and the second storage group in one of the data processing circuits are located on one side of the central area, and the first storage group and the second storage group in the other data processing circuit are located on the other side of the central area.
[0174] As Figure 8 or 9 shown, the write circuits 203, 209, the read circuits 204, 210 are located in the central area 200, the first storage group BG0 and the second storage group BG1 in the data processing circuit 401 are located on the upper side of the central area 200, and the first storage group BG2 and the second storage group BG3 in the data processing circuit 402 are located on the lower side of the central area 200.
[0175] As Figure 10 As shown in FIG. 10 or FIG. 11, the writing circuits 303, 304, 309, and 310 are located in the central region 300. The first storage group BG0 and the second storage group BG1 in the data processing circuit 401 are located on the upper side of the central region 300, and the first storage group BG2 and the second storage group BG3 in the data processing circuit 402 are located on the lower side of the central region 300. In this way, it is convenient for the wiring connection between the storage group and the reading circuit and the writing circuit.
[0176] In an embodiment of the present application, an electronic device including the above-mentioned memory is further provided.
[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.
[0178] For the sake of convenience of explanation, the above description has been made in combination with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or to limit the embodiments to the specific forms disclosed above. According to the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are for better explaining the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A data processing circuit, characterized in that, it includes: a first storage group and a second storage group; a writing circuit, including a writing input buffer circuit, receiving storage data from a writing bus through the writing input buffer circuit, writing the storage data to the first storage group through a first read-write bus, and writing the storage data to the second storage group through a second read-write bus; a reading circuit, including a reading output buffer circuit, reading the storage data from the first storage group through the first read-write bus, reading the storage data from the second storage group through the second read-write bus, and sending the storage data to a reading bus through the reading output buffer circuit; the writing circuit further includes: a writing control circuit, connected to the writing input buffer circuit, a first writing output buffer circuit, and a second writing output buffer circuit respectively, and sending the storage data sent by the writing input buffer circuit to the first writing output buffer circuit or the second writing output buffer circuit; a first writing output buffer circuit, connected to the first storage group, and sending the storage data sent by the writing control circuit to the first storage group; a second writing output buffer circuit, connected to the second storage group, and sending the storage data sent by the writing control circuit to the second storage group; the writing input buffer circuit receives the storage data through a first control signal, and the frequency of the first control signal is the same as the clock frequency for writing the storage data; the first writing output buffer circuit writes the storage data into the first storage group through a second control signal, the second writing output buffer circuit writes the storage data into the second storage group through a third control signal, the frequencies of the second control signal and the third control signal are half of the frequency of the first control signal, and the falling edges of the second control signal and the third control signal appear alternately.
2. The data processing circuit according to claim 1, characterized in that, the reading circuit includes: a first reading input buffer circuit, connected to the first storage group, and reading the storage data from the first storage group; a second reading input buffer circuit, connected to the second storage group, and reading the storage data from the second storage group; a reading control circuit, connected to the first reading input buffer circuit and the second reading input buffer circuit respectively, and sending the storage data sent by the first reading input buffer circuit or the second reading input buffer circuit to the reading output buffer circuit.
3. The data processing circuit according to claim 2, characterized in that, the first reading input buffer circuit reads the storage data through a fourth control signal, the second reading input buffer circuit reads the storage data through a fifth control signal, the frequencies of the fourth control signal and the fifth control signal are the same, and the falling edges in the fourth control signal and the falling edges in the fifth control signal appear alternately.
4. The data processing circuit according to claim 3, characterized in that, The read output buffer circuit sends the stored data to the read bus through a sixth control signal, and the frequency of the sixth control signal is twice the frequency of the fourth control signal.
5. The data processing circuit according to claim 1, wherein, the first read / write bus and the second read / write bus are arranged in a cross pattern.
6. The data processing circuit according to claim 5, wherein, the first read / write bus includes a first sub-bus of multiple bits, the second read / write bus includes a second sub-bus of multiple bits, after the first sub-bus and the second sub-bus corresponding to the same bit extend to the same height, they are respectively connected to the first storage group and the second storage group.
7. The data processing circuit according to claim 1, wherein, the write circuit and the read circuit are arranged side by side on a first straight line, the first storage group and the second storage group are arranged side by side on a second straight line, and the first straight line and the second straight line are parallel.
8. The data processing circuit according to claim 7, wherein, the first area where the write circuit and the read circuit are located and the second area where the first storage group and the second storage group are located are arranged side by side on a third straight line, and the third straight line is perpendicular to the first straight line.
9. The data processing circuit according to claim 1, wherein, the data read / write times of the first storage group and the second storage group are different, and the data read / write logics of the first storage group and the second storage group are the same.
10. A memory, wherein, it includes two data processing circuits according to any one of claims 1 to 9. The write circuits in the two data processing circuits are connected to the same write bus, and the read circuits in the two data processing circuits are connected to the same read bus.
11. The memory according to claim 10, wherein, the memory is a double data rate dynamic random access memory DDR DRAM.
12. The memory according to claim 10 or 11, wherein, the write circuits and the read circuits in the two data processing circuits are located in the central area, the first storage group and the second storage group in one of the data processing circuits are located on one side of the central area, and the first storage group and the second storage group in the other data processing circuit are located on the other side of the central area.
13. An electronic device, wherein, it includes the memory according to any one of claims 10 to 12.
Citation Information
Patent Citations
Improved DDR II dram data path
CN1825479A
Stored write scheme for high speed / wide bandwidth memory devices
US6351427B1