Storage device, method, electronic device, and storage medium

By dividing access commands and allowing parallel access to memory array modules, the storage device addresses inefficiencies in multi-master memory access, significantly reducing access times and improving efficiency in autonomous driving-oriented deep learning chips.

JP7534472B2Active Publication Date: 2024-08-14HORIZON JOURNEY (SHANGHAI) TECHNOLOGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023051902
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-05-11
Filing Date
2023-03-28
Publication Date
2024-08-14
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The inefficiency of read/write access to memory in autonomous driving-oriented deep learning chips due to multiple masters accessing memory simultaneously, leading to increased access times and reduced efficiency.

Method used

A storage device that divides a first access command into multiple second access commands based on the access address, allowing parallel access to multiple memory array modules, thereby reducing response time and improving efficiency.

Benefits of technology

The solution effectively reduces access time for each master by enabling parallel responses from multiple memory array modules, enhancing access efficiency in multi-core heterogeneous systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007534472000022
    Figure 0007534472000022
  • Figure 0007534472000018
    Figure 0007534472000018
  • Figure 0007534472000005
    Figure 0007534472000005
Patent Text Reader

Abstract

To provide a storage device and method, an electronic device and a storage medium capable of effectively reducing access time of each master when parallel access of masters exists, and then improving access efficiency.SOLUTION: A storage device includes: a first splitting logical module for splitting a first access command into at least two second access commands based on an access address of the first access command; and at least two memory array modules, each of which is configured to perform a corresponding access operation based on one of the at least two second access commands of the first splitting logical module.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to storage technology, and in particular to a storage device, a method, an electronic device, and a storage medium. [Background technology]

[0002] With the rapid development of autonomous driving technology, autonomous driving-oriented deep learning chips usually have multi-core heterogeneity, large computing power, large bandwidth, and highly parallel memory requirements. In the related technology, a master such as an accelerator or processor core accesses a memory through a bus. When multiple masters access a memory at the same time, arbitration must be performed based on the length of read / write access bursts through the bus to determine the access order of each master to a memory module, and the memory responds to the access commands of each master in turn, which increases the time required for the masters to access the memory for read / write and reduces the efficiency of the read / write access. Summary of the Invention [Problem to be solved by the invention]

[0003] The present disclosure is proposed to solve the above technical problems such as low efficiency of read / write access, etc. Embodiments of the present disclosure provide a storage device, a method, an electronic device, and a storage medium. [Means for solving the problem]

[0004] In one aspect of an embodiment of the present disclosure, a storage device is provided, which includes a first division logic module for dividing a first access command into at least two second access commands based on an access address of the first access command, and at least two memory array modules, each memory array module in the at least two memory array modules is used to perform a corresponding access operation based on one second access command in the at least two second access commands of the first division logic module.

[0005] A storage method provided in another aspect of an embodiment of the present disclosure includes a step of dividing a first access command into at least two second access commands based on an access address of the first access command, and a step of performing a corresponding access operation based on the at least two second access commands.

[0006] In yet another aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, storing a computer program for executing the storage method according to any one of the above embodiments of the present disclosure.

[0007] In yet another aspect of an embodiment of the present disclosure, an electronic device is provided that includes a processor and a memory for storing the processor-executable instructions, the processor being used to read the executable instructions from the memory and execute the instructions to realize a storage method described in any of the above embodiments of the present disclosure, or the electronic device includes a storage device described in any of the above embodiments. Effect of the Invention

[0008] Based on the storage device, method, electronic device, and storage medium provided in the above embodiments of the present disclosure, the first division logic module divides a first access command of a long burst into a second access command of smaller granularity, and accesses at least two memory array modules in parallel, so that the at least two memory array modules can respond in parallel, and the response time of the first access command of the long burst can be effectively reduced, so that when multiple masters access in parallel, the access time of each master can be effectively reduced, and the access efficiency can be improved.

[0009] The technical solutions of the present disclosure are described in further detail below with reference to figures and examples. The above and other objects, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in combination with the drawings. The drawings are used to provide a further understanding of the embodiments of the present disclosure, constitute a part of this specification, and are used to interpret the present disclosure together with the embodiments of the present disclosure, and are not intended to limit the present disclosure. In the drawings, the same reference numerals generally represent the same components or steps. [Brief description of the drawings]

[0010] [Figure 1] 1 is an exemplary application scenario of a storage device provided in the present disclosure. [Diagram 2] 1 is a schematic diagram of a structure of a storage device provided in one exemplary embodiment of the present disclosure. [Diagram 3] 2 is a schematic diagram of a structure of a first split logic module 201 provided in one exemplary embodiment of the present disclosure. [Figure 4] FIG. 2 is a schematic diagram of a structure of a first split logic module 201 provided in another exemplary embodiment of the present disclosure. [Diagram 5] FIG. 2 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure. [Figure 6]2 is a schematic diagram of a connection between a first divided logic module 201 and a memory array module 202 provided in one exemplary embodiment of the present disclosure. [Figure 7] 2 is a schematic diagram of a connection between a first divided logic module 201 and a memory array module 202 provided in another exemplary embodiment of the present disclosure. [Figure 8] 2 is a schematic diagram of a structure of a memory array module 202 provided in one exemplary embodiment of the present disclosure. [Figure 9] FIG. 2 is a schematic diagram of a structure of a memory array module 202 provided in another exemplary embodiment of the present disclosure. [Figure 10] 2 is a schematic diagram of a structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure. [Figure 11] 2 is a schematic diagram of a structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure. [Figure 12] FIG. 2 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure. [Figure 13] FIG. 2 is a schematic diagram of an address code arrangement provided in one exemplary embodiment of the present disclosure. [Figure 14] FIG. 2 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure. [Figure 15] FIG. 2 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure. [Figure 16] 2 is a schematic diagram of an array cluster section provided in one exemplary embodiment of the present disclosure. [Figure 17] 2 is a schematic diagram of a structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure. [Figure 18] FIG. 2 is a schematic diagram of a structure of a storage device provided in another exemplary embodiment of the present disclosure. [Figure 19]FIG. 13 is a schematic diagram of a structure of a storage device provided in yet another exemplary embodiment of the present disclosure. [Figure 20] 4 is a flowchart of a storage method provided in one exemplary embodiment of the present disclosure. [Figure 21] 11 is a flowchart of a storage method provided in another exemplary embodiment of the present disclosure. [Figure 22] 5 is a flowchart of step 501 provided in one exemplary embodiment of the present disclosure. [Figure 23] 5 is a flowchart of step 501 provided in another exemplary embodiment of the present disclosure. [Figure 24] 11 is a flowchart of a storage method provided in yet another exemplary embodiment of the present disclosure. [Diagram 25] FIG. 2 is a schematic diagram of the structure of one application embodiment of the electronic device of the present disclosure. [Figure 26] FIG. 2 is a schematic diagram of the structure of another application embodiment of the electronic device of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, exemplary embodiments according to the present disclosure will be described in detail with reference to the drawings. Obviously, the described embodiments are only some embodiments of the present disclosure, but not all embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described herein.

[0012] It should be noted that unless specifically stated otherwise, the relative arrangement of components and steps, numerical expressions and values ​​discussed in these examples do not limit the scope of the present disclosure.

[0013] Those skilled in the art will understand that terms such as "first", "second", etc. in the embodiments of the present disclosure are merely used to distinguish different steps, devices, or modules, etc., and do not represent any particular technical meaning, nor indicate a necessary logical order between them.

[0014] It should be further understood that in the embodiments of the present disclosure, "plurality" can refer to two or more, and "at least one" can refer to one or two or more.

[0015] In addition, the term "and / or" in this disclosure is simply a relational relationship to describe related objects, and indicates that three relations can exist, for example, A and / or B can indicate three cases: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in this disclosure, the character " / " generally indicates that the related objects before and after it are in an "or" relationship.

[0016] It should be further understood that the description of each embodiment of the present disclosure will mainly emphasize the differences between each embodiment, and that the same or similar ones may be referenced from each other and will not be described one by one for the sake of brevity.

[0017] The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to be in any way limiting of the disclosure, its application, or uses.

[0018] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, said techniques, methods, and equipment should be considered as part of this specification.

[0019] It should be noted that like numbers and letters indicate like items in the following drawings, so that once an item is defined in one drawing, there is no need for further discussion of it in subsequent drawings.

[0020] The embodiments of the present disclosure may be applied to electronic devices such as terminal devices, computer systems, servers, and the like, and may operate with many other general-purpose or special-purpose computing system environments or configurations. Examples of well-known terminal devices, computing systems, environments, and / or configurations for use with these electronic devices include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, web personal computers, minicomputer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the above systems.

[0021] Summary of the Disclosure In the process of realizing the present disclosure, the inventors have found that autonomous driving-oriented deep learning chips usually have multi-core heterogeneity, large computing power, large bandwidth, and highly parallel memory requirements. When a master such as an accelerator or processor core accesses memory through a bus, and multiple masters access memory at the same time, it is necessary to determine the access order of each master to a memory module by arbitrating according to the length of the read / write access burst through the bus. A burst refers to accessing multiple consecutive memory addresses within one bus cycle. For example, an access command of a burst includes a starting address to be accessed and an access length, and indicates accessing a number of consecutive memory addresses equal to the access length starting from the starting address. The memory responds to the access commands of each master in turn, which increases the time for the masters to access the memory for read and write, and reduces the efficiency of the read and write access.

[0022] Illustrative Overview FIG. 1 is an exemplary application scenario of the storage device provided in this disclosure.

[0023] In this scene, N (N is a positive integer) masters can access the memory array module in the storage device of the present disclosure, and the masters may be any part that requires access to the memory on-chip, such as an accelerator, a processor core, etc. Based on the storage device of the present disclosure, the first division logic module can divide the first access command into at least two second access commands based on the access address of the first access command of the master, and the at least two memory array modules can respond to the divided at least two second access commands in parallel, effectively reducing the response time of the long burst first access command, so that when multiple masters access in parallel, the access time of each master can be effectively reduced and the access efficiency can be improved. The memory array module can include at least one memory module (e.g., DDR, etc.), and each memory module can include at least one storage unit, which is the basic unit for the master to access the memory. The number of storage units specifically included in the memory module can be set according to actual requirements. The bit width of the memory module may be set according to actual requirements, for example, may be set to be the same as the bus data width, or may be set to be larger or smaller than the bus data width according to actual requirements, and is not specifically limited. The specific division rule of the first divided logic module may be set in combination with the code arrangement of the memory address according to actual requirements. The code arrangement manner of the memory address may be, but is not limited to, an interleaved arrangement.

[0024] Exemplary Apparatus 2 is a schematic diagram of a structure of a storage device provided in one exemplary embodiment of the present disclosure, which can be used to implement an embodiment of a method according to the present disclosure, and the device shown in FIG. 2 includes a first partitioned logic module 201 and at least two memory array modules 202.

[0025] A first division logic module 201 is used to divide a first access command into at least two second access commands based on an access address of the first access command, and each of the memory array modules 202 in the at least two memory array modules is used to perform a corresponding access operation based on one second access command in the at least two second access commands of the first division logic module 201.

[0026] Here, the first access command may be an access command generated by any master. The first access command may include an access address, such as an access start address and an access length. The division of the first access command may be based on the access address of the first access command, for example, based on the access start address and access length of the first access command, the first access command is divided into at least two second access commands of shorter length, the second access command also includes an access start address and an access length, and the access length of the second access command is shorter than the first access command. For example, the first access command has an access start address of 2000 and an access length of 8, and is divided into two second access commands, one second access command has a start address of 2000 and an access length of 4, and the other second access command has a start address of 2004 and an access length of 4. The number of second access commands obtained by division may be set according to actual requirements, and the number of second access commands is equal to the number of memory array modules 202, thereby realizing parallel response of each second access command. The memory array module 202 may include at least one memory module, and each memory module may include at least one storage unit, and the partition of a specific memory array module 202 may be set according to actual requirements. The first division logic module 201 may be realized by adopting any device having a processing function, and is not limited in the present disclosure.

[0027] In one alternative embodiment, one or more masters can access simultaneously, i.e. have one or more first access commands at the same time.

[0028] In one selectable example, the access order of the first access commands of each master can be determined by arbitrating the length of read and write access bursts over the bus for multiple first access commands, and each first access command is divided in sequence and transmitted to each memory array module 202, and the parallel response of each memory array module 202 reduces the access time of each master, thereby improving access efficiency.

[0029] In one selectable example, for multiple first access commands, parallel division may be used, that is, each first access command is divided into at least two second access commands in parallel, and transmitted to corresponding memory array module 202 according to the access address of the second access command and the address arrangement rule of memory array module 202, so that memory array module 202 responds to the second access command to access it. Parallel division can further improve access efficiency. The address arrangement rule of memory array module 202 may be set according to actual requirements, and is not specifically limited. For example, when second access commands of at least two different masters need to access the same memory array module 202 at the same time, arbitration can be performed in memory array module 202 to determine the access order of each second access command, and memory array module 202 responds to each second access command in turn. Arbitration is performed at the second access command stage with small granularity, and the response time of each second access command is small, and at least two sets of second access commands are responded to in parallel. Therefore, compared with the conventional simultaneous access by multiple masters, the storage device disclosed herein can effectively reduce the access time of each master and improve access efficiency.

[0030] In one optional example, the division of the first access command by the first division logic module 201 can include one-stage or multi-stage division, and the specific number of division stages and the division granularity of each stage can be set according to actual requirements. For example, one-stage division can divide the first access command into at least two second access commands, two-stage division can finally divide the first access command into at least four second access commands, three-stage division can finally divide the first access command into at least eight second access commands, and so on. Each stage division is to re-divide the access command after the division of the previous stage.

[0031] In one alternative embodiment, each second access command accesses a memory module in a corresponding memory array module 202 based on an access address. Since the memory array module 202 can include at least one memory module, when multiple second access commands access the same memory array module 202 at the same time, arbitration can be further performed before each memory module in the memory array module 202, in this way, when multiple second access commands access different memory modules in the memory array module 202, they do not need to be queued, i.e., they can be responded to in a timely manner, and the access efficiency can be further improved. Even after arriving in the memory array module 202, multiple second access commands may also access the same memory module at the same time, and the burst granularity of the access command at the memory module stage is small, making the latency shorter, and thus the access efficiency can be effectively improved.

[0032] The storage device provided in this embodiment divides a first access command of a long burst into a second access command of smaller granularity by a first division logic module, and accesses at least two memory array modules in parallel, so that the at least two memory array modules can respond in parallel, and the response time of the first access command of the long burst can be effectively reduced, and thus, when multiple masters access in parallel, the access time of each master can be effectively reduced, and thereby the access efficiency can be improved.

[0033] In one alternative example, Figure 3 is a schematic diagram of the structure of a first division logic module 201 provided in one exemplary embodiment of the present disclosure. In this example, the first division logic module 201 includes at least one stage division logic unit, and each stage division logic unit of the at least one stage division logic unit includes at least one first division logic unit, where each of the first division logic units of the first stage division logic unit is used to perform first stage division on the corresponding first access command to obtain at least two first sub-access commands, each of the first division logic units of the intermediate stage division logic unit is used to perform division on the corresponding previous stage (immediately previous stage) sub-access command to obtain at least two current stage sub-access commands, and each of the first division logic units of the final stage division logic unit is used to divide the corresponding previous stage sub-access command to obtain the at least two second access commands.

[0034] Here, the number of stages of the divided logic units may be set according to actual requirements. When one stage of divided logic units is included, there is no intermediate stage and no final stage, and the first sub-access command obtained by dividing the divided logic unit of the first stage becomes the second access command. When two stages of divided logic units are included, there is no intermediate stage of divided logic units, and the final stage of divided logic units becomes the second stage of divided logic units, and each first sub-access command obtained by dividing the divided logic units of the first stage is transmitted to the divided logic units of the second stage, and the divided logic units of the second stage divide each first sub-access command, and each first sub-access command is divided into at least two second sub-access commands, and the second sub-access commands obtained by dividing all the first sub-access commands are the at least two second access commands. The number of first divided logic units included in the divided logic units of each stage and the connection relationship between the first divided logic units of different stages may be set according to actual requirements. When including at least three stages of divided logic units, the divided logic unit of the middle stage includes at least one stage of divided logic unit, and the specific details may be set according to actual requirements, and the description thereof will be omitted here.

[0035] Illustratively, FIG. 4 is a schematic diagram of the structure of a first divided logic module 201 provided in another exemplary embodiment of the present disclosure. Here, each first divided logic unit 2011 in the divided logic unit of each stage is connected to one first divided logic unit 2011 of its previous stage. Each first divided logic unit of the divided logic unit of the first stage may be connected to at least one master. Each first divided logic unit 2011 of the divided logic unit of the last stage is connected to at least two memory array modules 202. Different first divided logic units 2011 of the divided logic unit of the last stage may be connected to the same memory array module 202 or to different memory array modules 202, specifically, may be set according to the code arrangement rules and actual requirements of the addresses of the memory array modules, and the connection principle is to ensure that each master can access all the memory array modules. In the figure, the connection relationships between each stage in the divided logic unit of the middle stage and part of the connection relationships between the middle stage and the last stage are not shown.

[0036] 5 is a schematic diagram of the structure of a first divided logic module 201 provided in yet another exemplary embodiment of the present disclosure. In this example, each first divided logic unit 2011 of the divided logic unit of the first stage may be connected to at least one master, each first divided logic unit 2011 of the divided logic unit of the first stage is connected to each first divided logic unit 2011 of the next stage, and each first divided logic unit 2011 of the divided logic unit of the middle stage is connected to each first divided logic unit 2011 of the next stage. Each first divided logic unit 2011 of the divided logic unit of the last stage is connected to at least two memory array modules 202. The different first divided logic units 2011 of the final stage divided logic unit may be connected to the same memory array module 202 or to different memory array modules 202, which may be specifically set according to the code arrangement rules of the addresses of the memory array modules and actual requirements, as long as each master can access all the memory array modules.

[0037] 6 is a schematic diagram of the connection between the first divided logic modules 201 and the memory array modules 202 provided in one exemplary embodiment of the present disclosure. In this example, each first divided logic unit 2011 in the final stage divided logic unit is connected to each memory array module 202. In the figure, only the connection relationship between some of the first divided logic units 2011 and the memory array modules is shown, and the others are not shown, and the connection relationship is similar to that already shown.

[0038] 7 is a schematic diagram of a connection between a first divided logic module 201 and a memory array module 202 provided in another exemplary embodiment of the present disclosure. In this embodiment, each first divided logic unit 2011 of the divided logic unit at the last stage is divided into at least two sets according to a preset rule, and the corresponding memory array module 202 forms an array cluster, and each set corresponds to an array cluster, and the partition of the array cluster may be set according to actual requirements, which facilitates the parallel division of different first divided logic units in the divided logic units at each stage, and also aims to support the parallel response of more memory array modules, and ensures that each master can share all memory array modules, so that the storage device of the present disclosure can be applied to ultra-large-scale and high-traffic multi-port parallel access.

[0039] The present disclosure divides a first access command with a larger granularity into a second access command with a much finer granularity by multi-stage division before the memory array module, allowing multiple memory array modules to respond in parallel, thereby improving access efficiency and enabling large-scale, high-traffic multi-port parallel access.

[0040] 8 is a schematic diagram of a structure of a memory array module 202 provided in one exemplary embodiment of the present disclosure. In this example, the memory array module 202 includes at least one memory module 2021.

[0041] Each of the memory modules 2021 in the at least one memory module includes at least one storage unit, and each of the memory modules is used to respond to a second access command to access the memory module and perform a corresponding operation.

[0042] Here, the number of storage units included in the memory module 2021 may be set according to actual requirements and is not limited in the present disclosure. The storage unit is the basic unit for the master to access the memory, and the specific principle is omitted. The memory module is a response module for small-granularity burst access commands set according to actual requirements.

[0043] In practical applications, the memory module may be determined according to the layout plan (floorplan) of the chip design and the power consumption situation of the chip. Even if the memory module operates at a lower frequency than the bus logic, it does not affect the access and storage performance of big data.

[0044] FIG. 9 is a schematic diagram of a structure of a memory array module 202 provided in another exemplary embodiment of the present disclosure.

[0045] In one alternative embodiment, the memory array module 202 of the present disclosure comprises: Further comprising a memory module arbiter 2022 corresponding to each memory module 2021 in the at least one memory module; Each of the memory module arbiters 2022 is used to determine a target second access command to access the memory module 2021 corresponding to the memory module arbiter 2022 based on preset arbitration rules, and to make the corresponding memory module 2021 respond to the target second access command.

[0046] Here, the preset arbitration rule may be set according to actual requirements, for example, the preset arbitration rule may be round-trip, first-come, first-served, etc. There is no specific limitation. When at least two second access commands arrive at the same memory module arbiter 2022, the memory module arbiter 2022 can determine the access order of the at least two second access commands according to the preset arbitration rule, and determine the second access command currently accessing the memory module 2021 corresponding to the memory module arbiter 2022 as the target second access command according to the access order. When only one second access command currently arrives at the memory module arbiter 2022, it can be directly the target second access command.

[0047] FIG. 10 is a schematic diagram of a structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure.

[0048] In one optional example, the memory array module 202 further includes a distribution logic unit 2023 connected to the first division logic module, and the distribution logic unit 2023 is further connected to each of the memory module arbiters 2022 and is used to distribute the second access command to the memory module arbiter 2022 of the corresponding memory module 2021 based on the access address of the second access command.

[0049] Here, at least one distribution logic unit 2023 may be provided, and specifically may be provided according to actual requirements. For the multiple distribution logic units 2023, each of the distribution logic units 2023 is connected to each memory module arbiter 2022. Each distribution logic unit 2023 is further connected to the first division logic module 201, and is used to distribute the second access command transmitted from the first division logic module 201 to the corresponding memory module arbiter. Illustratively, FIG. 11 is a schematic diagram of the structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure. In this example, the memory array module 202 includes multiple distribution logic units 2023.

[0050] Optionally, each distribution logic unit 2023 in the plurality of distribution logic units corresponds to a different master, and can respectively distribute the second access commands of the different masters arriving at the memory array module 202 to the memory module arbiter 2022 of the corresponding memory module 2021 according to the access address. In this case, the first division logic module 201 accordingly has a first division logic unit corresponding to each different master, and realizes parallel division of the first access commands of the different masters, and the second access commands after division of each master can arrive in parallel to the corresponding distribution logic unit 2023 in the corresponding memory array module 202, and then be distributed in parallel to the corresponding memory module arbiter 2022. This realizes parallel response of multiple master burst access, greatly improves access efficiency, and allows the storage device of the present disclosure to be applied to ultra-large-scale and high-traffic multi-port parallel access.

[0051] FIG. 12 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure.

[0052] In one alternative example, the first partitioned logic module 201 includes at least one second partitioned logic unit 2012 .

[0053] Each of the second division logic units 2012 in the at least one second division logic unit 2012 is connected to one master via an independent bus, and each of the second division logic units 2012 is connected to the at least two memory array modules 202, and the second division logic unit 2012 is used to divide the first access command generated by the master into at least two first sub-access commands based on the access address of the first access command generated by the master and a preset address code arrangement rule, and transmit the at least two first sub-access commands in parallel to corresponding memory array modules 202 as the at least two second access commands.

[0054] Here, the bus may adopt any feasible bus, and may be specifically provided according to actual requirements. The bus may include an address bus, a data bus, and a control bus, and the description of the specific bus structure and principle is omitted. The code arrangement rule of the preset address may be set according to actual requirements, and the purpose is to make the access addresses of the second access commands obtained by dividing the first access command of each master correspond to different memory array modules 202, and ensure parallel responses to each second access command. For example, the code arrangement rule of the preset address may be an interleaved arrangement, an upper cross arrangement, a lower cross arrangement, etc. Specifically, it is not limited.

[0055] 13 is a schematic diagram of an address code arrangement provided in one exemplary embodiment of the present disclosure. In this example, the address code arrangement is performed in an interleaved arrangement manner, for example, a first access command has an access start address of 2000 and an access length of 16, and obtains four second access commands with an access length of 4 through division, and the access start addresses are 2000, 2004, 2008 and 200C respectively, and the four second access commands correspond to four different memory array modules 202, and the four memory array modules can respond to the four second access commands in parallel. This is only an exemplary arrangement, and the number of memory array modules included in the storage device and the number of addresses related to each memory array module can both be set according to actual requirements.

[0056] In the present disclosure, each second divided logical unit 2012 is connected to one master via an independent bus, and each second divided logical unit 2012 is connected to at least two memory array modules 202, thereby realizing relatively independent access between each master, which can effectively improve the access efficiency and further improve the access stability.

[0057] FIG. 14 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure.

[0058] In one alternative example, the first divided logic module 201 includes at least one third divided logic unit 2013 and at least two fourth divided logic units 2014 corresponding to each of the third divided logic units 2013, and each of the third divided logic units 2013 of the at least one third divided logic unit is connected to one master through an independent bus, and each of the fourth divided logic units 2014 is connected to the at least two memory array modules 202, and each of the third divided logic units 2013 is adapted to at least one of the first access commands based on an access address of the first access command generated by the master and a preset address code arrangement rule. and dividing the first sub-access command into at least two first sub-access commands, and transmitting the at least two first sub-access commands in parallel to the at least two fourth divided logic units 2014 corresponding to the third divided logic unit 2013, each of the fourth divided logic units 2014 being used for dividing the first sub-access command into at least two second sub-access commands based on the access address of the first sub-access command of the third divided logic unit 2013 and a code arrangement rule of the preset address, and forming each of the second sub-access commands into one second access command, and transmitting each of the second access commands in parallel to each of the memory array modules 202.

[0059] Here, the preset address code arrangement rule may be set according to actual requirements. In this example, the first divided logic module 201 includes two-stage divided logic units, and the first stage divided logic unit includes at least one third divided logic unit 2013, and each third divided logic unit 2013 is connected to one master through an independent bus, and realizes that the first access commands of different masters can be divided in parallel. Each third divided logic unit 2013 has at least two corresponding fourth divided logic units 2014 in the second stage divided logic unit. Realizes that the first access commands of different masters obtain corresponding second access commands through two-stage parallel division. Each fourth divided logic unit 2014 is connected to each memory array module 202 in the at least two memory array modules. For clarity, only the connections between some of the fourth divided logic units 2014 and the memory array modules 202 are shown in the figure, and the other fourth divided logic units 2014 are similarly connected to each memory array module 202 but are not shown.

[0060] FIG. 15 is a schematic diagram of a structure of a first split logic module 201 provided in yet another exemplary embodiment of the present disclosure.

[0061] In one optional example, the at least two memory array modules 202 form at least one array cluster based on the preset address code arrangement rule, and different fourth divided logic units 2014 in the same third divided logic unit 2013 correspond to different array clusters, and each of the fourth divided logic units 2014 in the same third divided logic unit 2013 is connected to each memory array module 202 in the corresponding array cluster.

[0062] Here, the number of array modules 202 included in the array cluster may be set according to actual requirements. For example, each array cluster may include memory array modules of 2, 3, 4, etc. The partition of the array cluster may be determined according to the number of corresponding fourth divided logic units 2014 in the second stage of the third divided logic unit 2013 of each master, ensuring that all second access commands after multi-stage division of each first access command correspond to different memory array modules respectively, and the first access commands of different masters can be isolated from each other when accessing different addresses. When the first access commands of different masters access the same address, they can correspond to more memory array modules through multi-stage division, which can perform parallel response with smaller granularity, further improve access efficiency, and make the storage device applicable to multi-port parallel access with larger scale and larger traffic. After setting the number of memory array modules to be large and performing array cluster division, the accesses of different masters rarely reach the same memory module in the same memory array module at the same time, effectively reducing the situation of queuing and access and improving the stability of access.

[0063] 16 is a schematic diagram of an array cluster partition provided in one exemplary embodiment of the present disclosure. In this example, a total of eight memory array modules 202 are included, partitioned into four array clusters, and each third division logic unit 2013 in the first stage division logic unit divides a first access command into four first sub-access commands, for example, the first access command has a starting access address of 2000 and an access length of 32, and the third division logic unit 2013 divides the first access command into four first sub-access commands, with starting addresses of 2000, 2008, 2010, and 2018, respectively, and an access length of 8. The first sub-access command is divided into two commands and distributed in parallel to the fourth division logic units 2014 of the second stage, one of which divides the first sub-access command with a starting address of 2000 into two second sub-access commands with starting addresses of 2000 and 2004 and an access length of 4, and each second sub-access command is made into one second access command, and the two second access commands are respectively transmitted to two memory array modules in the corresponding array cluster (the first array cluster in the figure). The same is true for the other three different array clusters corresponding to the other three first sub-access commands respectively. When multiple masters perform long burst access at the same time, the first access command of the long burst of each master can be divided independently, and the different masters do not affect each other. Each master can access each memory array module, and when the memory array modules are shared by different masters, the access time is greatly reduced and the access efficiency is improved.

[0064] In this example, each master has an independent channel for accessing each memory array module, and different masters are independent of each other. Based on this, in combination with multi-stage division and the code arrangement of the memory array module, ultra-large-scale and ultra-high traffic multi-port long burst access can be realized.

[0065] FIG. 17 is a schematic diagram of a structure of a memory array module 202 provided in yet another exemplary embodiment of the present disclosure.

[0066] In one alternative example, the memory array module 202 includes a distribution logic unit 2023 corresponding to each of the fourth divided logic units 2014 connected to the memory array module 202, at least one memory module arbiter 2022, and a memory module 2021 corresponding to each of the memory module arbiters 2022, each of the memory modules 2021 including at least one storage unit 20211, each of the distribution logic units 2023 being connected to each of the memory module arbiters 2022 in the at least one memory module arbiter, each of the distribution logic units 2023 being connected to the fourth divided logic unit 2014 corresponding to the distribution logic unit 2023. The second access command is used to distribute the second access command to the memory module arbiter 2022 of the corresponding memory module 2021 based on the access address of the second access command of the corresponding memory module 2021 in the at least one memory module arbiter, and each of the memory module arbiters 2022 in the at least one memory module arbiter is used to determine a target second access command to access the memory module 2021 corresponding to the memory module arbiter 2022 based on a preset arbitration rule, and each of the memory modules 2021 is used to respond to the target second access command to access the corresponding memory module 2021 and perform a corresponding operation.

[0067] Here, the number of memory modules may be set according to actual requirements. The number of distribution logic units is the same as the number of fourth divided logic units 2014 connected to the memory array module. The number of fourth divided logic units 2014 connected to the same memory array module may be set according to actual requirements, and the description thereof is omitted here, referring to the above content. The memory module performing a corresponding operation in response to the target second access command may include performing a read operation or a write operation, and is specifically performed according to the access type of the second access command. The description of the specific read and write principle is omitted.

[0068] In this example, the second access commands of different fourth divided logical units 2014 are distributed to memory module arbiters of corresponding memory modules by different distribution logical units, thereby realizing parallel distribution of multiple second access commands. When second access commands corresponding to multiple masters access the memory array module simultaneously, parallel distribution is realized within the memory array module, and access efficiency is further improved. When multiple second access commands access the same memory module after distribution, arbitration is performed by the memory module arbiter corresponding to the memory module to determine the access order.

[0069] In one alternative example, FIG. 18 is a schematic diagram of the structure of a storage device provided in another exemplary embodiment of the present disclosure. Here, only the structure of one memory array module 202 is expanded and displayed, and the other memory array modules 202 have the same structural principle as the memory array module, and the description thereof is omitted here. In this example, each master has an independent channel connected to the memory module arbiter, and the independent channel includes a third division logic unit 2013, at least two fourth division logic units 2014 connected to the third division logic unit 2013, and a distribution logic unit connected to each fourth division logic unit 2014 in the at least two fourth division logic units. Based on the relatively independent channels, independent division and distribution of the first access command of each master is realized, and there is a possibility that it will encounter queuing and accessing at the memory module stage, and the probability of such encounter is reduced to a smaller extent through the settings of the address code arrangement and the memory module, memory array module, array cluster, etc., thereby ensuring the access efficiency of the parallel access of the ultra-large scale and ultra-high traffic multi-port.

[0070] For example, in a multi-core deep learning chip, a common scenario is that a part of the stored data (e.g., weight parameters) is repeatedly read by multiple (e.g., X) acceleration cores (masters). Based on the storage device of the present disclosure, for example, if a memory array module is partitioned into M array clusters, each array cluster includes N memory array modules, and each memory array module includes K memory modules, it is possible to realize that M*N*K memory modules respond to the address request of this part of the X acceleration cores together, greatly reducing the access time and improving the access efficiency. If the master has a burst internal disorder function, even if multiple acceleration cores read simultaneously, the access and storage performance of any acceleration core will not be significantly reduced compared to the case where only one acceleration core accesses and reads. The burst internal disorder function of the master allows the data of different addresses read to not need to be returned in order, and which one can be returned first, and the master can incorporate the different return results into its required data. In the prior art, when multiple acceleration cores read simultaneously, the read performance is reduced to 1 / X, but in order to avoid the read performance being reduced to 1 / X, additional access by software or optimization of storage time shifting must be used, or the same set of data must be copied to multiple copies and stored separately, resulting in resource waste. As can be seen, the storage device of the present disclosure not only significantly improves access efficiency compared to the prior art, but also does not require additional access by software or optimization of storage time shifting, and does not require resource waste due to multiple copies being stored.

[0071] In one possible example, the number of division stages of the first divided logic module 201 and the division granularity of each stage may be specifically determined according to the situation of the layout plan (floorplan), memory requirements, and data of the parallel masters, and are not limited to the division of two stages in the above Fig. 18. For example, a deep learning acceleration chip requires many memory array modules, occupies a large area, and congestion due to windings may become an area bottleneck in order to match the parallel access of multiple masters. In this case, the number of stages of bus distribution outside the memory array module and the division granularity of each stage can be flexibly determined based on the floorplan, and the most matching combination of the number of masters and material realization can be determined.

[0072] In one optional example, each memory module in the memory array module 202 may be further partitioned horizontally or vertically according to actual requirements. When multiple second access commands access the same memory module simultaneously, the access addresses of the two second access commands are different, and memory units in different areas of the memory module will respond, thereby further improving access efficiency.

[0073] In one optional example, one memory module 2021 can be one storage unit, and each master is connected to one third division logic unit 2013 via an independent bus, and each third division logic unit is respectively connected in parallel to at least two fourth division logic units 2014 via a bus, and each fourth division logic unit 2014 is connected to one distribution logic unit 2023 in one memory array module 202, and each distribution logic unit 2023 is respectively connected to each memory module 2021 in the memory array module in which it is located via a bus, thereby realizing that each master has an independent multi-stage distribution bus, thereby decomposing the long burst transmission of the master into small granularity transmissions and transmitting them in parallel to corresponding memory array modules, and ensuring that multiple single memory module transmissions cannot be made to the same memory array module for the same burst due to the code arrangement of the addresses of the memory array modules. In the memory array module 202, each master has its own independent distribution bus, and transmits the access of a single memory module to the corresponding storage unit in the memory array module according to the code sequence of the address, and the access of multiple masters is arbitrated only when it reaches each storage unit, and the paths before arbitration are all independent, which not only ensures higher parallelism and reduces the mutual influence between different masters, but also realizes better hardware isolation, thereby achieving effective compatibility and support for ISO26262. Through multi-stage distribution outside the memory array module and one-to-multiple distribution within the memory array module, the bandwidth parallelism of the same master by the memory array module is realized and improved.

[0074] Based on the storage device of the present invention, the preset address code distribution rule may be set to various modes according to the specific requirements of the chip. For scenarios with safety requirements such as virtualization or hardware isolation, the address code distribution can realize that different masters do not access the same memory array module. In combination with different masters using completely independent buses and distribution logic, the complete physical isolation of different masters can be further realized. In scenarios without isolation requirements, the full address space code can distribute long burst access to different memory modules, ensuring that all memory modules have an average utilization rate in non-polarized scenarios, and the effect of such uniform utilization is guaranteed by the hardware, and the software does not need to perform additional adaptation work, improving the friendliness of software use and the flexibility of development, greatly reducing the amount of work in software development, and reducing the need and risk of subsequent debugging caused by lack of software optimization.

[0075] FIG. 19 is a schematic diagram of a structure of a storage device provided in yet another exemplary embodiment of the present disclosure.

[0076] In one optional example, the first split logic module 201 further includes a protocol check unit 2015 for performing a bus protocol check.

[0077] Here, the protocol check unit 2015 can perform bus protocol checks, such as checking timeouts, checking end-to-end ECC codes, etc., according to the access response situation, and may be specifically set according to actual requirements.

[0078] Illustratively, for chips with high security requirements, a protocol check unit 2015 may be provided.

[0079] In one optional example, the protocol checking unit 2015 may be installed in a split logic unit in the first stage split logic unit (e.g., the above first split logic unit 2011, the second split logic unit 2012, and the third split logic unit 2013), or may be an independent unit from the split logic units in the first stage split logic unit, and may be specifically installed according to actual requirements.

[0080] In one optional example, the first partitioning logic module 201 further includes a response unit 2016 for, based on the access result returned by the memory array module 202, transmitting the access result to the master in response to the corresponding master supporting burst internal disorder, and for sorting the access result and then transmitting it to the master in response to the master not supporting burst internal disorder.

[0081] Here, the burst internal disorder is a disordered transmission, for example, for a write transmission, the write address and write data sent from the same master are in disorder, for example, m1 can send two write commands CMD1 and CMD2 in sequence to access S1 and S2, respectively, and at this time, send write data to S2 first and then send write data to S1; for a read transmission, the read address received by the same slave (slave, for example, the storage device of the present disclosure) can be in disorder with the returned read data; for a write command sent from the same master or a read command received by the same slave, the cross-type disordered transmission between bursts is, for example, m1 can send two write commands CMD1 and CMD2 in sequence, and send data of CMD2 when the data transmission of CMD1 is not completed when writing data. The specific principle of the burst internal disorder is omitted. In combination with the internal disorder of the master, the access result returned from the memory array module 202 of the present disclosure can be returned to the master in a timely manner, thereby further improving the response efficiency of each memory array module.

[0082] By utilizing the function of supporting high parallel memory response and burst internal disorder, the storage device of the present disclosure can effectively reduce the delay impact caused by access collisions when multiple masters access the same address space at the same time, providing stable high bandwidth and low latency, while reducing the impact of parallel responses of multiple memory modules on access and storage performance caused by the efficiency of a single storage unit, and reducing the operating frequency of the memory module does not affect the access performance of big data blocks. For example, SRAM (Static Random-Access Memory) can be asynchronous to the bus, or the bus frequency can be operated at 1 / F, where F can be any valid integer. According to the actual chip frequency and process, an SRAM memory module with more ideal area and power consumption can be selected.

[0083] In one optional example, the response unit 2016 may be installed in a divided logic unit in the first stage of divided logic units (e.g., the above-mentioned first divided logic unit 2011, the second divided logic unit 2012, and the third divided logic unit 2013), or may be an independent unit from the divided logic units in the first stage of divided logic units, and may be specifically set according to actual requirements.

[0084] In one optional example, each divided logic unit of each stage of the divided logic units in the multi-stage divided logic units (for example, the first divided logic unit 2011, the second divided logic unit 2012, the third divided logic unit 2013, and the fourth divided logic unit 2014 of each stage) is provided with a response unit 2016, which is used to report the access result returned from the lower stage to the upper stage. A corresponding response unit may also be provided in the distribution logic unit 2023 of the memory array module 202, which is used to report the access result returned from the memory module to the divided logic unit connected thereto, and may be specifically set according to actual requirements. The return results of each stage may be transmitted via a bus, and the specific transmission principle is omitted from the description.

[0085] In one optional example, the connections between the first divided logic units 2011 of different stages in the storage device of the present disclosure and the connections between the first divided logic unit 2011 of the last stage and the corresponding memory array module 202 can be connected via a bus. The connections between the second divided logic unit 2012 and each memory array module 202 can be connected via a bus. The connections between the third divided logic unit 2013 and the fourth divided logic unit 2014 and the connections between the fourth divided logic unit 2014 and each memory array module 202 can also be connected via a bus. Each fourth divided logic unit 2014 and the distribution logic unit 2023 are connected via a bus. Accordingly, after the first access command of the master is divided and distributed to the memory modules, the response results of the memory modules are returned stepwise upward through the return channel of the same path as the access process, and finally returned to the master. The specific bus transmission principle is omitted here. The bus in the present disclosure may be configured according to actual requirements, such as an AMBA (Advanced Microcontroller Bus Architecture) bus.

[0086] In one alternative example, different stages of the split logic units in the at least one stage of the split logic units adopt the same or different operating frequencies, and / or the at least one stage of the split logic units adopts the same or different operating frequencies as the at least two memory array modules.

[0087] Here, the operating frequency may be synchronous or asynchronous, and may be set according to actual requirements. Specifically, the divided logic units of each stage may have their corresponding operating frequencies set according to actual requirements, and may be the same as or different from the divided logic units of other stages. The operating frequencies of the divided logic units of each stage and the memory array module may be the same or different, and are not specifically limited. For example, the divided logic units of the first stage adopt an operating frequency of 1 GHz (gigahertz), and the divided logic units of the second stage adopt an operating frequency of 0.5 GHz (gigahertz). This is merely an illustrative description and is not a limitation on the actual operating frequencies. In actual applications, the operating frequencies of the divided logic units of each stage and the memory array module may be set to any required frequency value according to actual requirements, and are not limited in the present disclosure.

[0088] In one possible example, for chips with certain security requirements, the storage data can be protected based on a preset code, for example, by setting parity or ECC (Error Correcting Code), etc. In this case, a corresponding division rule can be set based on the preset address code arrangement rule, for example, a 128-bit number can be divided into two 64+8-bit numbers for protection and storage, improving access efficiency, and the specific division can be set according to actual requirements.

[0089] The storage device of the present disclosure uses multi-stage division and distribution logic to break down long burst accesses into small granularities for access, and uses address code sequences to distribute the small granularity accesses evenly to multiple parallel memory modules. The high parallelism offsets the effects of multi-master parallel access collisions, realizing stable high traffic of data access in a multi-core parallel execution environment, and ensuring the reliability of access delays and high transparency of software usage. The storage device of the present disclosure can be used in ultra-large-scale, high-traffic, multi-port parallel on-chip shared memory systems. In addition, the storage device of the present disclosure achieves high scalability and ease of implementation through modularization and high structure, and ensures the consistency and reliability of large-capacity memory access. The storage device of the present disclosure can be realized in FPGAs (Field Programmable Gate Arrays), SoCs (System on Chips), ASICs (Application Specific Integrated Circuits), and the like.

[0090] Exemplary Methods Fig. 20 is a flowchart of a storage method provided in one exemplary embodiment of the present disclosure. This embodiment may be applied to an electronic device, specifically an autonomous driving in-vehicle computing platform, etc., and the storage method of the present disclosure may be performed by a storage device provided in any of the above embodiments or selectable examples, and as shown in Fig. 20, includes the following steps.

[0091] In step 501, a first access command is divided into at least two second access commands based on an access address of the first access command.

[0092] In step 502, a corresponding access operation is performed based on the at least two second access commands.

[0093] For the specific operations of the above steps, please refer to the above embodiment, and the description thereof will be omitted here.

[0094] The storage method provided in this embodiment divides a first access command of a long burst into second access commands of smaller granularity, and accesses at least two memory array modules in parallel, so that the at least two memory array modules can respond in parallel, effectively reducing the response time of the first access command of the long burst, and thereby effectively reducing the access time of each master when multiple masters access in parallel, thereby improving access efficiency.

[0095] FIG. 21 is a flowchart of a storage method provided in another exemplary embodiment of the present disclosure.

[0096] In one selectable example, in step 501, splitting the first access command into at least two second access commands based on the access address of the first access command includes:

[0097] In step 5011a, based on the access address of the first access command, at least one stage of division is performed on the first access command to obtain at least two second access commands, where the first stage division divides the first access command into at least two first sub-access commands, each stage of the intermediate stage division divides a corresponding previous stage sub-access command in the at least two previous stage sub-access commands obtained by the previous stage division of the current stage into at least two current stage sub-access commands, and the final stage division divides the previous stage sub-access command obtained by the previous stage division into at least two second access commands.

[0098] In one selectable example, performing a corresponding access operation based on the at least two second access commands in step 502 includes:

[0099] In 5021a, based on each of the at least two second access commands, accessing in parallel memory array modules corresponding to the second access commands, and causing the memory array modules to perform corresponding operations.

[0100] In one optional example, in 5021a, the step of accessing in parallel the memory array modules corresponding to the second access commands based on each of the at least two second access commands and causing the memory array modules to perform corresponding operations includes, for each of the second access commands, determining a target second access command to access a memory module in the memory array module based on preset arbitration rules, and causing each memory module to perform a corresponding operation in response to the target second access command.

[0101] FIG. 22 is a flowchart of step 501 provided in an exemplary embodiment of the present disclosure.

[0102] In one selectable example, in step 501, splitting the first access command into at least two second access commands based on the access address of the first access command includes:

[0103] In step 5011b, for the first access commands generated by each master in the at least one master, obtain at least one first access command.

[0104] In step 5012b, for each first access command in the at least one first access command, divide in parallel in the following manner: according to the access address of each first access command and a preset address code arrangement rule, divide the first access command into at least two first sub-access commands, and the at least two first sub-access commands are made into at least two second access commands.

[0105] FIG. 23 is a flowchart of step 501 provided in another exemplary embodiment of the present disclosure.

[0106] In one selectable example, in step 501, splitting the first access command into at least two second access commands based on the access address of the first access command includes:

[0107] In step 5011c, for the first access commands generated by each master in the at least one master, obtain at least one first access command.

[0108] In step 5012c, for each first access command in the at least one first access command, division is performed in parallel in the following steps: based on the code arrangement rule of the access address and preset address of each first access command, the first access command is divided into at least two first sub-access commands; based on the code arrangement rule of the access address and preset address of each first sub-access command in the at least two first sub-access commands, each first sub-access command is divided into at least two second sub-access commands; each second sub-access command in each first access command is treated as one second access command, and at least two second access commands are obtained.

[0109] FIG. 24 is a flowchart of a storage method provided in yet another exemplary embodiment of the present disclosure.

[0110] In one alternative example, the method of the present disclosure further includes:

[0111] In step 503, based on the access result, if the corresponding master supports burst internal disorder, the access result is transmitted to the master; if the master does not support burst internal disorder, the access result is sorted and then transmitted to the master.

[0112] In one alternative example, the method of the present disclosure may further include performing a bus protocol check.

[0113] For the specific operations of each of the above steps of the present disclosure, please refer to the embodiments of the device, and the description thereof will be omitted here.

[0114] In one alternative example, different stage divisions in the at least one stage division of the present disclosure can adopt the same or different operating frequencies, and / or the at least one stage division and the memory array module can adopt the same or different operating frequencies, which may be synchronous or asynchronous.

[0115] Any of the storage methods provided in the embodiments of the present disclosure may be executed by any device having appropriate data processing capabilities, including but not limited to terminal devices and servers. Alternatively, any of the storage methods provided in the embodiments of the present disclosure may be executed by a processor, for example, the processor executes any of the storage methods referred to in the embodiments of the present disclosure by calling corresponding instructions stored in a memory. Hereinafter, the description thereof will be omitted.

[0116] Exemplary Electronic Devices An embodiment of the present disclosure further provides an electronic device, comprising: a memory for storing a computer program; and a processor for executing a computer program stored in the memory, the computer program, when executed, implementing the storage method according to any of the above embodiments of the present disclosure.

[0117] 25 is a schematic diagram of the structure of an application embodiment of the electronic device of the present disclosure. In this embodiment, the electronic device 10 includes one or more processors 11 and a memory 12.

[0118] The processor 11 may be a central processing unit (CPU) or other form of processing unit having data processing and / or instruction execution capabilities, and may control other components in the electronic device 10 to perform desired functions.

[0119] The memory 12 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored in the computer-readable storage medium, and the processor 11 may execute the program instructions to realize the methods of the embodiments of the present disclosure described above and / or other desired functions. The computer-readable storage medium may further store various contents, such as an input signal, a signal component, a noise component, etc.

[0120] In one example, electronic device 10 may further include input devices 13 and output devices 14, with these components being connected together by a bus system and / or other form of connection (not shown).

[0121] For example, the input device 13 may be a microphone or a microphone array as described above for capturing an input signal of a sound source.

[0122] Moreover, the input device 13 may further include, for example, a keyboard and a mouse.

[0123] The output device 14 can output various information including the determined distance information, direction information, etc. to the outside. The output device 14 can include, for example, a display, a speaker, a printer, a communication network, and remote output devices connected thereto.

[0124] Of course, for the sake of simplicity, Fig. 25 shows only some of the components of the electronic device 10 according to the present disclosure, and omits components such as buses, input / output interfaces, etc. In addition, the electronic device 10 may further include any other suitable components according to a specific application situation.

[0125] In one alternative embodiment, Figure 26 is a schematic diagram of the structure of another application embodiment of the electronic device of the present disclosure. In this embodiment, the electronic device 10 includes the storage device provided in any of the above embodiments.

[0126] Exemplary Computer Program Products and Computer-Readable Storage Media In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product including computer program instructions that, when executed by a processor, cause the processor to perform steps of the methods according to various embodiments of the present disclosure described in the "Exemplary Methods" section herein above.

[0127] The computer program product may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages, with program code for carrying out operations of the disclosed embodiments. The program code may be executed entirely on the user computing device, partially on the user computing device, as a stand-alone software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0128] Further, an embodiment of the present disclosure may be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in the methods according to various embodiments of the present disclosure described in the "Exemplary Methods" section above of this specification.

[0129] The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0130] Although the basic principle of the present disclosure has been described above in combination with specific examples, it should be noted that the advantages, advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and it should not be considered that each embodiment of the present disclosure necessarily has these advantages, advantages, effects, etc. In addition, the specific details of the above disclosure are merely exemplary functions and functions for facilitating understanding, and are not limiting, and the above details do not necessarily limit the present disclosure to be realized with the above specific details.

[0131] Block diagrams of devices, apparatus, equipment, and systems according to the present disclosure are merely illustrative examples and are not intended to require or imply that they be connected, arranged, or configured in the manner shown in the block diagram. Those skilled in the art will recognize that these devices, apparatus, equipment, and systems can be connected, arranged, or configured in any manner. Words such as "include," "contain," and "have" are open-ended words, meaning "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or" and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "for example" used herein refers to the phrase "for example, but not limited to," and can be used interchangeably therewith. In addition, in the devices, apparatus, and methods of the present disclosure, each component or each step may be disassembled and / or recombined. Such disassembly and / or recombination should be considered as equivalent means of the present disclosure.

Claims

1. a first splitting logic module for splitting a first access command into at least two second access commands based on an access address of the first access command; at least two memory array modules; Each of the memory array modules in the at least two memory array modules is used to perform a corresponding access operation based on a second access command in the at least two second access commands of the first divided logic module; the first divided logic module includes at least one third divided logic unit and at least two fourth divided logic units corresponding to each of the third divided logic units; Each of the third divided logic units of the at least one third divided logic unit is connected to one master via an independent bus, and each of the fourth divided logic units is connected to the at least two memory array modules; Each of the third divided logic units divides the first access command into at least two first sub-access commands according to an access address of the first access command generated by the master and a code arrangement rule of a preset address, and transmits the at least two first sub-access commands in parallel to the at least two fourth divided logic units corresponding to the third divided logic unit; Each of the fourth division logic units is used for dividing the first sub-access command into at least two second sub-access commands according to the access address of the first sub-access command of the third division logic unit and the code arrangement rule of the preset address, and forming each of the second sub-access commands into one of the second access commands, and transmitting each of the second access commands to each of the memory array modules in parallel; the at least two memory array modules form at least one array cluster based on a code arrangement rule of the preset addresses, different fourth divided logic units in the same third divided logic unit correspond to different array clusters, and each of the fourth divided logic units in the same third divided logic unit is connected to each memory array module in a corresponding array cluster.

2. The first divided logic module comprises:

2. The apparatus of claim 1, comprising at least one stage division logic unit, wherein each stage division logic unit of the at least one stage division logic unit comprises at least one first division logic unit, wherein each of the first division logic units of the first stage division logic unit is used to perform first stage division on a corresponding first access command to obtain at least two first sub-access commands, each of the first division logic units of each stage division logic unit of an intermediate stage is used to perform division on a corresponding previous stage sub-access command to obtain at least two current stage sub-access commands, and each of the first division logic units of the final stage division logic unit is used to split a corresponding previous stage sub-access command to obtain the at least two second access commands.

3. The memory array module includes: at least one memory module, each of the at least one memory modules including at least one storage unit; The apparatus of claim 1 , wherein each of the memory modules is adapted to respond to a second access command accessing that memory module and to perform a corresponding operation.

4. The memory array module includes: further comprising a memory module arbiter corresponding to each memory module in the at least one memory module; 4. The apparatus of claim 3, wherein each of the memory module arbiters is used to determine a target second access command that accesses the memory module corresponding to that memory module arbiter based on preset arbitration rules and to make the corresponding memory module respond to the target second access command.

5. The memory array module includes:

5. The apparatus of claim 4, further comprising a distribution logic unit connected to the first partitioned logic module, the distribution logic unit further connected to each of the memory module arbiters and used to distribute the second access command to the memory module arbiter of a corresponding memory module based on an access address of the second access command.

6. The first divided logic module comprises: at least one second partitioned logic unit, each of said second partitioned logic units being connected to one master via an independent bus, each of said second partitioned logic units being connected to said at least two memory array modules; 2. The device of claim 1, wherein the second division logic unit is used to divide the first access command generated by the master into at least two first sub-access commands based on an access address of the first access command generated by the master and a preset address code arrangement rule, and transmit the at least two first sub-access commands in parallel to corresponding memory array modules as the at least two second access commands.

7. The memory array module includes: a distribution logic unit corresponding to each of the fourth partitioned logic units connected to the memory array module; at least one memory module arbiter and a memory module corresponding to each said memory module arbiter; Each of the memory modules includes at least one storage unit; each said distribution logic unit is coupled to a respective memory module arbiter in said at least one memory module arbiter; Each of the distribution logic units is used to distribute the second access command to a memory module arbiter of a corresponding memory module based on an access address of the second access command of the fourth divided logic unit corresponding to the distribution logic unit; Each of the memory module arbiters in the at least one memory module arbiter is used to determine, based on a preset arbitration rule, a target second access command for accessing a memory module corresponding to the memory module arbiter; 2. The apparatus of claim 1, wherein each of the memory modules is adapted to perform a corresponding operation in response to the targeted second access command accessing that memory module.

8. The first divided logic module comprises: The apparatus of claim 1 , further comprising a protocol checking unit for performing a bus protocol check.

9. The first divided logic module comprises:

2. The device of claim 1, further comprising: a response unit for, based on the access result returned by the memory array module, transmitting the access result to the master according to whether a corresponding master supports burst internal disorder, and for transmitting the access result to the master after sorting according to whether the master does not support burst internal disorder.

10. The divided logic units of different stages in the at least one stage of divided logic units adopt the same or different operating frequencies; and / or 3. The apparatus of claim 2, wherein the at least one stage of split logic units employs the same or a different operating frequency as the at least two memory array modules.

11. A storage method for causing a processor to execute each step, comprising: splitting the first access command into at least two second access commands based on an access address of the first access command; and accessing, in parallel, memory array modules corresponding to the second access commands based on each of the at least two second access commands, and causing the memory array modules to perform corresponding operations; The at least two memory array modules form at least one array cluster according to a preset address code arrangement rule; The step of dividing the first access command into at least two second access commands based on an access address of the first access command includes:

13. A method for storing data, comprising: for a first access command generated by each master in at least one master, obtaining at least one first access command; and for each first access command in the at least one first access command, performing parallel division in the following manner: dividing the first access command into at least two first sub-access commands based on a code arrangement rule of an access address of each of the first access commands and the preset address; dividing the first sub-access command into at least two second sub-access commands based on a code arrangement rule of an access address of each of the first sub-access commands in the at least two first sub-access commands and the preset address; and forming each of the second sub-access commands into one second access command; and obtaining the at least two second access commands.

12. The step of dividing the first access command into at least two second access commands based on an access address of the first access command includes:

12. The method of claim 11, further comprising the steps of: performing at least one stage division on the first access command based on an access address of the first access command to obtain the at least two second access commands, wherein the first stage division divides the first access command into at least two first sub-access commands; each stage of intermediate stage division divides a corresponding previous stage sub-access command in the at least two previous stage sub-access commands obtained by the previous stage division of the current stage into at least two current stage sub-access commands; and the final stage division divides a previous stage sub-access command obtained by the previous stage division into the at least two second access commands.

13. The step of dividing the first access command into at least two second access commands based on an access address of the first access command includes:

12. The method of claim 11, comprising: for a first access command generated by each master in at least one master, obtaining at least one first access command; and for each first access command in the at least one first access command, performing parallel division in the following manner: based on an access address of each first access command and a code arrangement rule of a preset address, divide the first access command into at least two first sub-access commands, and make the at least two first sub-access commands into the at least two second access commands.

14. The method of claim 11, further comprising: based on the access result, transmitting the access result to the master according to whether a corresponding master supports burst internal disorder, and transmitting the access result to the master after sorting according to whether the corresponding master does not support burst internal disorder.

15. A computer-readable storage medium storing a computer program for executing the storage method according to any one of claims 11 to 14.

16. An electronic device, A processor; a memory for storing instructions executable by said processor; an electronic device, the processor being adapted to read the executable instructions from the memory and execute the instructions to implement the storage method according to any one of claims 11 to 14; Or, An electronic device comprising the storage device according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Memory controller

    JP2003308248A

  • Resource management device

    JP2004246862A

  • Device and method for control of memory

    JP2010262429A

  • Memory system

    JP2010287058A

  • Various method and apparatus for supporting unprocessed request to a plurality of target while maintaining transaction ordering

    JP2011054184A