Executable memory unit

By using a data processing unit with multiple executable memory units in the computing system, parallel processing of data and code is achieved, which solves the problem of limited data processing performance in the existing technology and improves processing efficiency and power utilization.

CN113168325BActive Publication Date: 2024-10-18SANDISK TECH
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201980076895.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-19
Publication Date
2024-10-18
Estimated Expiration
2039-12-19

AI Technical Summary

Technical Problem

When existing computing systems process data, data and executable code need to be transferred back and forth between persistent storage devices and volatile memories, resulting in limited processing performance, especially in big data processing.

Method used

Using a data processing unit with multiple executable memory units, each executable memory unit can both store data and process data, and reduce the back-and-forth transmission of data and code by storing and processing data in the same executable memory unit, Implement parallel data processing.

Benefits of technology

It improves the speed and performance of data processing, reduces power consumption, and enhances processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113168325B_ABST
    Figure CN113168325B_ABST
Patent Text Reader

Abstract

The present disclosure provides a computing unit, the computing unit comprising a data processing unit having a plurality of executable memory units. Each of the plurality of executable memory units comprises a code portion for storing code, a data portion for storing data, and an arithmetic logic unit for applying the code to the data. The computing system further comprises a compilation unit for converting an instruction sequence into an execution stream. The execution stream comprises the code and the data executed by the plurality of executable memory units.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is a PCT application of U.S. non-provisional application No. 16 / 354,038 filed on March 14, 2019, which is related to non-provisional patent application No. 16 / 354,053 filed on March 14, 2019. The contents of each of the foregoing applications are incorporated herein by reference in their entirety. Background Art

[0003] The following description is provided to aid the reader's understanding. No information provided or references cited are admitted to be prior art.

[0004] Computing techniques for processing data typically require that executable code and data be copied from persistent storage to volatile memory before the executable code is applied to the data. The results of the processing are then returned to the persistent storage. As computing systems evolve to provide faster read and write speeds to persistent storage, the above methods of transferring data back and forth between persistent storage and volatile memory result in processing limitations and significant bottlenecks. Therefore, existing computing mechanisms are limited by their configuration and the way they operate. Summary of the invention

[0005] According to some aspects of the present disclosure, a method is disclosed. The method includes storing a first code in a code portion of a first executable memory unit, and applying the first code to first data by a first arithmetic logic unit of the first executable memory unit in a first operation. The first data is stored in a data portion of the first executable memory unit.

[0006] According to some other aspects of the present disclosure, a device is disclosed. The device includes a data processing unit having a plurality of executable memory units. Each of the plurality of executable memory units includes a code portion for storing code, a data portion for storing data, and an arithmetic logic unit for applying the code to the data. The device also includes a compilation unit for converting an instruction sequence into an execution stream. The execution stream includes code and data executed by the plurality of executable memory units.

[0007] According to yet another aspect of the present disclosure, a non-transitory computer-readable medium is disclosed, the non-transitory computer-readable medium including computer-executable instructions embodied thereon. These instructions, when executed by a data processing unit of a computing system, cause the data processing unit to perform a process including the following operations: storing a first code in a code portion of a first executable memory unit of the data processing unit, and applying the first code to first data by a first arithmetic logic unit of the first executable memory unit. The first data is stored in a data portion of the first executable memory unit.

[0008] The foregoing summary is illustrative only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features will become apparent by reference to the following drawings and detailed descriptions. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is an exemplary block diagram of a computing system according to some embodiments of the present disclosure.

[0010] Figure 2 According to some embodiments of the present disclosure Figure 1 An exemplary block diagram of a data processing unit of a computing system.

[0011] Figure 3 According to some embodiments of the present disclosure Figure 2 An exemplary block diagram of a memory unit of a data processing unit of FIG.

[0012] Figure 4 is a diagram showing some embodiments of the present disclosure. Figure 3 An exemplary flow chart of a single-operand operation performed by a memory unit of FIG.

[0013] Figure 5 is a diagram showing some embodiments of the present disclosure. Figure 3 An exemplary flow chart of a dual-operand operation performed by a memory unit of FIG.

[0014] Figure 6 is a diagram showing some embodiments of the present disclosure. Figure 3 Another exemplary flow chart of a dual-operand operation performed by a memory unit of FIG.

[0015] Figure 7 According to some embodiments of the present disclosure, Figure 1 An exemplary execution flow created by instructions processed by a computing system.

[0016] Figure 8 is a diagram showing the use of some embodiments according to the present disclosure Figure 7 An exemplary block diagram of operations performed by an execution flow of .

[0017] Fig. 9 According to some embodiments of the present disclosure, Figure 1 Another exemplary execution flow created by instructions processed by a computing system.

[0018] Fig.10 is a diagram showing the use of some embodiments according to the present disclosure Fig. 9 An exemplary block diagram of operations performed by an execution flow of .

[0019] Fig.11 is a diagram showing the use of some embodiments according to the present disclosure Fig. 9 An exemplary flowchart of the operations performed by the execution flow of FIG.

[0020] The above and other features of the present disclosure will become apparent from the following description and the appended claims in conjunction with the accompanying drawings. It should be understood that these drawings depict only several embodiments according to the present disclosure and are therefore not to be considered as limiting the scope thereof. The present disclosure will be described in more detail and in greater detail through the use of the accompanying drawings. DETAILED DESCRIPTION

[0021] In the following detailed description, reference is made to the accompanying drawings which form a part of the detailed description. In the accompanying drawings, similar symbols generally identify similar parts unless the context otherwise indicates. The exemplary embodiments described in the detailed description, drawings and claims are not intended to be limiting. Other embodiments may be utilized and other changes may be made without departing from the spirit or scope of the subject matter presented herein. It will be readily understood that the various aspects of the present disclosure as generally described herein and shown in the drawings may be arranged, substituted, combined and designed into a wide variety of different configurations, all of which are expressly contemplated and become a part of the present disclosure.

[0022] Modern computing technology relies on a centralized approach to processing data. The centralized approach uses a host device having a central processing unit (CPU) and a volatile or main memory associated with the CPU, and a persistent storage device (e.g., a non-volatile memory associated with a memory controller), from which data and executable code are transferred to the volatile memory to process the data. Once the data processing is complete, the results of the data processing are transferred back from the volatile memory to the persistent storage device. As persistent storage technology evolves to process requests at faster read and write speeds, the back and forth transmission of data in the centralized approach leads to data processing limitations. Big data and the increased complexity and demand in big data processing exacerbate these limitations.

[0023] A mechanism for improving the performance of the centralized method is to increase the number of CPU cores. However, increasing the number of CPU cores only improves data processing performance to a certain extent. Increasing the number of CPU cores will not reduce the overhead caused by other components (such as task schedulers, consistency protocols, etc.) that significantly affect data processing performance. Increasing the number of CPU cores will not solve the inefficiency problem caused by the data transmission between the volatile memory and the persistent storage device. In addition, increasing the number of CPU cores cannot utilize the improvement of persistent storage technology. Therefore, although increasing the number of CPU cores can improve performance to a certain extent, this method has many limitations.

[0024] Therefore, the present disclosure provides a technical solution for storing data and processing the data in the stored location. Therefore, the present disclosure provides a data processing unit with multiple executable memory units. Each executable memory unit in the multiple executable memory units can store data and process the data stored therein. Specifically, each executable memory unit in the multiple executable memory units includes a data portion for storing data, a code portion for storing a code for processing data, and an arithmetic logic unit for performing operations or applying the code to data. By storing data and transforming data in each executable memory unit in the multiple executable memory units, the present disclosure provides faster data processing and improved performance. In addition, each executable memory unit in the multiple executable memory units can perform data processing in parallel, thereby allowing parallel data processing to further improve performance. By storing data and processing data in the same executable memory unit, the back and forth transmission of data and code is minimized and power efficiency is improved.

[0025] refer to Figure 1 , shows an exemplary block diagram of a computing system 100 according to some embodiments of the present disclosure. The computing system 100 includes a host device 105 associated with a non-volatile memory array 110. The host device 105 can be configured to receive input from one or more input devices 115 and provide output to one or more output devices 120. The host device 105 can be configured to communicate with the non-volatile memory array 110, the input device 115, and the output device 120 via appropriate interfaces 125A, 125B, and 125C, respectively. The computing system 100 can be implemented in a variety of computing devices, such as computers (e.g., desktop computers, laptop computers, etc.), tablet computers, personal digital assistants, mobile devices, wearable computing devices (such as smart watches, other handheld or portable devices), or any other computing unit suitable for performing operations using the host device 105.

[0026] Input devices 115 may include any of a variety of input technologies, such as a keyboard, stylus, touch screen, mouse, trackball, keypad, microphone, voice recognition, motion recognition, remote control, input port, one or more buttons, dial, joystick, and any other input peripheral associated with host device 105 and allowing an external source (such as a user) to enter information (e.g., data) into the host device and send instructions to the host device. Similarly, output devices 120 may include a variety of output technologies, such as external memory, printer, speaker, display, microphone, light emitting diode, headset, plotter, speech generating device, video device, global positioning system, and any other output peripheral configured to receive information (e.g., data) from host device 105. "Data" input into and / or output from host device 105 may include any of a variety of text data, graphic data, video data, sound data, position data, combinations thereof, or other types of analog and / or digital data suitable for processing using computing system 100.

[0027] The host device 105 may include a data processing unit 130 configured to run an application 135. The data processing unit 130 may be configured to execute instructions (also referred to herein as executable code or code) for running the application 135. The data processing unit 130 may be implemented in hardware, firmware, software, or any combination thereof. "Executing an instruction" means that the data processing unit 130 performs the operation required by the instruction. The data processing unit 130 may include one or more executable memory units 140, a compilation unit 145, and a management unit 150. The executable memory unit 140 is configured to both store data and process data. In other words, the executable memory unit 140 may be configured to store data and perform operations required by instructions on the data. The compilation unit 145 converts the instructions into a form that the executable memory unit 140 understands and prepares an execution stream for use by the executable memory unit. The management unit 150 manages and controls the compilation unit 145 and the data processing performed by the executable memory unit 140.

[0028] Thus, in some embodiments, the data processing unit 130 may directly or indirectly retrieve instructions from the compilation unit 145, copy these instructions in executable form to the executable memory unit 140, and apply these instructions to the data also stored in these executable memory units. The data processing unit 130 may be a special-purpose computer and include logic circuits (e.g., an arithmetic logic unit), hardware circuits, etc. to execute instructions. The data processing unit 130 is configured to execute instructions, which may be written using one or more programming languages, scripting languages, assembly languages, etc. In some embodiments, the executable memory unit 140 may be part of the non-volatile memory array 110, in which case the data processing unit 130 may be replaced by a conventional central processing unit and main memory in the host device 105, and in which case the executable memory unit 140 may be provided with its own data processing unit 130 and other support units, such as the compilation unit 145 and the management unit 150, to perform the functions described herein within the non-volatile memory array 110. In some embodiments, a data processing unit 130 having an executable memory unit 140 and a non-volatile memory array 110 having one or more executable memory units (e.g., similar to executable memory unit 140) may be used. By storing data in executable memory unit 140 (whether in data processing unit 130 and / or in non-volatile memory array 110) and also processing the data where the data is stored (e.g., executable memory unit), computing system 100 is configured to run application programs 135 more efficiently and quickly.

[0029] Each application in the application 135 is a software program or program group configured to perform one or more operations for achieving one or more goals. The application 135 can be configured for use by an end user. In this regard, the application 135 can be regarded as an end-user application. In some embodiments, the application 135 can be a system application or a utility application. Depending on the environment in which the computing system 100 is used, the number and type of the application 135 (for example, the number and type of the application designed to be implemented) can vary from one embodiment to another. The computing system 100 can also include an operating system 155, which is configured to facilitate the data processing unit 130 to execute the application 135. The operating system 155 is a system software program that manages various hardware and software resources of the computing system 100. Specifically, the operating system 155 is used as an intermediary between the hardware resources of the computing system 100 and the application 135 requested to be executed. The operating system 155 can be any operating system in various types of operating systems suitable for the computing system 100, such as Microsoft Windows, macOS, iOS, Android, UNIX, Linux, etc.

[0030] The non-volatile memory array 110 may include any of a variety of non-volatile memory devices capable of performing optional memory location level programming and erasing without changing data stored at other optional levels. For example, each bit in the non-volatile memory array 110 can be changed independently without changing the data stored in other bits in the non-volatile memory. Therefore, the non-volatile memory array 110 can be configured to write "0" or "1" (or change the storage state) in any single bit without changing any other accessible bits. The non-volatile memory array 110 can be configured to be changeable byte by byte, word by word, and / or other granularity. In some embodiments, the non-volatile memory array 110 can be any of a variety of persistent or non-persistent memory devices suitable for the computing system 100. For example, in some embodiments, the non-volatile memory array 110 can be any of a variety of persistent storage devices, such as phase change memory (PCM) devices, resistive random access memory (ReRAM) devices, dynamic random access memory (DRAM), magnetoresistive random access memory (MRAM) devices, ferroelectric random access memory (FeRAM), holographic memory devices. In other embodiments, any other type of non-volatile memory device suitable for the computing system 100 can be used.

[0031] Furthermore, although not shown, the non-volatile memory array 110 may include a memory controller to communicate with the host device 105 , and in particular, with the operating system 155 to facilitate execution of the application programs 135 .

[0032] It should be understood that Figure 1 Only some of the components of the computing system 100 are shown and described in the accompanying drawings. However, the computing system 100 may include other components, such as various batteries and power supplies, networking interfaces, routers, switches, external memory systems, controllers, etc. In general, the computing system 100 may include any of a variety of hardware, software, and / or firmware components necessary or deemed desirable to perform the functions described herein.

[0033] Now go to Figure 2 , shows an exemplary block diagram of a data processing unit 200 according to some embodiments of the present disclosure. The data processing unit 200 is similar to Figure 1 The data processing unit 130 includes a plurality of executable memory units 205. Each of the plurality of executable memory units 205 is similar to Figure 1Each executable memory unit in the executable memory unit 140 of the data processing unit 200 may be a memory unit that can be used to execute the data processing unit 200. In addition, although not shown, the data processing unit 200 also includes a compilation unit (e.g., similar to the compilation unit 145), a management unit (e.g., similar to the management unit 150), and any other components that may be necessary or desirable in performing the functions described herein. In addition, based on the application using the computing system associated with the data processing unit, the number of multiple executable memory units 205 in the data processing unit 200 may vary from implementation to implementation.

[0034] In some embodiments, one or more of the plurality of executable memory cells 205 may be made of any type of memory discussed above with respect to the non-volatile memory array 110. In some embodiments, one or more of the plurality of executable memory cells 205 may be made of static random access memory (SRAM), dynamic random access memory (DRAM), magnetoresistive random access memory (MRAM), phase control memory (PCM), resistive random access memory (ReRAM), 3D XPoint memory, ferroelectric random access memory (FeRAM), holographic memory devices, and other types of byte-addressable memory. In some embodiments, one or more of the plurality of executable memory cells 205 may include a hybrid memory that includes a volatile memory portion and a non-volatile memory portion. Furthermore, in some embodiments, all of the plurality of executable memory cells 205 may be made of the same type of memory, while in other embodiments, one or more of the plurality of executable memory cells may be made of different types of memory.

[0035] In addition, in some embodiments, each executable memory cell in the plurality of executable memory cells 205 is configured to store one byte of binary information. In other embodiments, one or more executable memory cells in the plurality of executable memory cells 205 may be configured to store more or less than one byte of binary information. Therefore, each executable memory cell in the plurality of executable memory cells 205 may be a single-level cell or a multi-level cell. In some embodiments, each executable memory cell in the plurality of executable memory cells 205 may have multiple physical levels (e.g., 256 levels) that may be used to implement arithmetic and logical operations therein. For example, in some embodiments, within each executable memory cell in the plurality of executable memory cells 205, multiplication and division operations may be facilitated by shifting the physical level to the left (for multiplication) and to the right (for division). In some embodiments, the shifting of the physical level may be based on switching the state of the executable memory cell by applying different voltage values. Similarly, in some embodiments, addition, subtraction, and logical operations may be implemented by the plurality of executable memory cells 205 using shift operations. In other embodiments, one or more executable memory units in plurality of executable memory units 205 may implement other or additional mechanisms to facilitate arithmetic and logical operations.

[0036] Furthermore, in some embodiments, some of the plurality of executable memory cells 205 may be optimized for performing certain arithmetic and logic operations, while other of the plurality of executable memory cells may be optimized for performing other arithmetic and logic operations. Thus, in general, the amount of information stored in each of the plurality of executable memory cells 205 and the type of operations performed by each of the plurality of executable memory cells 205 may vary from embodiment to embodiment, depending on the type of memory and the configuration of the particular executable memory cells.

[0037] In addition, multiple executable memory units 205 may all be located on a single memory chip or on multiple memory chips. In addition, at least some of the multiple executable memory units 205 may be interconnected to each other. For example, in some embodiments, at least some of the multiple executable memory units 205 may be interconnected using an interconnection network. The interconnection network may be any of various network-based communication mechanisms that allow multiple executable memory units 205 to communicate with each other. In some embodiments, particularly when multiple executable memory units 205 are all located on a single memory chip, the interconnection network may be an on-chip network ("NoC") interconnection. In some embodiments, other mechanisms that facilitate communication between multiple executable memory units 205 may be used. When located on multiple chips, an interconnection network may be selected so that multiple executable memory units 205 are allowed to communicate even when they are located on different chips. In addition, the interconnection network may allow multiple executable memory units 205 to communicate directly and / or indirectly via another component.

[0038] Furthermore, in some embodiments, each executable memory unit in the plurality of executable memory units 205 may be associated with an instance of a management unit (e.g., management unit 150), while in other embodiments, one instance of a management unit may be configured to manage all or at least some of the plurality of executable memory units. In some embodiments, one or more executable memory units in the plurality of executable memory units 205 may have a management unit separate from a management unit (e.g., management unit 150) of a computing system (e.g., computing system 100).

[0039] Reference now Figure 3, shows an exemplary block diagram of an executable memory unit 300 according to some embodiments of the present disclosure. The executable memory unit 300 is similar to the executable memory unit 140 and the plurality of executable memory units 205. The executable memory unit 300 includes: an arithmetic logic unit 305, which is configured to execute instructions; a code portion 310, in which the code being executed (e.g., executable code) is stored; and a data portion 315, in which data is stored, to which the code from the code portion is applied. The executable memory unit 300 also includes a management unit 320, which manages execution in the arithmetic logic unit 305 using the code stored in the code portion 310 and the data stored in the data portion 315. The management unit 320 can also be configured to load code in the code portion 310 via a code bus 325, and load data in the data portion 315 via a data bus 330. The management unit 320 may also be configured to store the results of the execution in the code portion 310, the data portion 315, or another dedicated results portion (not shown) of the executable memory unit 300. In some embodiments, the management unit 320 may send the results of the execution to another executable memory unit, to another component of an associated data processing unit (e.g., data processing unit 130, 200), and / or to an output device 120 via a data bus 330. Furthermore, although the management unit 320 is shown as part of the executable memory unit 300, in some embodiments the management unit may be external to the executable memory unit (e.g., Figure 1 ) and manages operations within executable memory units.

[0040] In addition, the code portion 310 and the data portion 315 may be dedicated memory portions of the executable memory unit 300, dedicated to storing execution-ready code and storing data, respectively. In some embodiments, the code portion 310 and the data portion 315 may be configured to store one piece of code and store one piece of data, respectively, while in other embodiments, the code portion and / or the data portion may store multiple pieces of code and store multiple pieces of data, respectively, according to their respective sizes.

[0041] The arithmetic logic unit 305 is configured to perform basic arithmetic and logic operations. For example, in some embodiments, the arithmetic logic unit 305 can be configured to perform addition, subtraction, multiplication, division, logical OR, NOT, AND, XOR, NOR and NAND operations. In some embodiments, the arithmetic logic unit 305 can also be configured to perform additional operations or other operations. In some embodiments, the arithmetic logic unit 305 may include a group of functional blocks, each of which can perform an operation (OR, XOR, addition, subtraction, etc.). In addition, as described above, the manner in which the arithmetic logic unit 305 performs various arithmetic and logic operations can be based on the type of memory used to construct the executable memory unit, especially the arithmetic logic unit part of the executable memory unit. For example, in some embodiments, the arithmetic logic unit 305 can perform arithmetic and logic operations by shifting the physical level of the executable memory unit 300, reprogramming the memory unit, resistive switching, magnetic switching, or using other mechanisms suitable for the memory type used for the executable memory unit.

[0042] Now go to Figure 4 , shows an exemplary flow chart of operations for performing single operand operations in executable memory unit 400 in accordance with an overview of some embodiments of the present disclosure. Depending on the specific embodiment, the flow chart may include other, additional operations or other operations. Executable memory unit 400 is similar to executable memory unit 300. Therefore, executable memory unit 400 also includes a code portion 405 for storing code, a data portion 410 for storing data, an arithmetic logic unit 415 for applying code from the code portion to data from the data portion, and a management unit 420. Management unit 420 receives code and stores the code in code portion 405, receives data and stores the data in data portion 410, instructs arithmetic logic unit 415 to apply the code to the data, and receives the results of the application from the arithmetic logic unit for storage in the data portion, the code portion and / or for transmission to the outside of executable memory unit 400 (or instructs the arithmetic logic unit to store / transmit the results).

[0043] Single operand operations involve one variable (e.g., a piece of data) on which the operation is to be performed. Examples of single operand operations may include NOT operations. To perform a single operand operation, the management unit 420 loads the data (e.g., operand) into the data portion 410 at operation 425, and loads the code into the code portion 405 at operation 430. In some embodiments, the management unit 420 may first load the code into the code portion 405, and then load the data into the data portion 410. In addition, in some embodiments, the data may have been previously stored in the data portion 410 of the executable memory unit 400. In this case, the management unit 420 may not need to store the data in the data portion 410 when performing the operation, and operation 425 may be skipped. In addition, in order to store the data in the data portion 410 and the code in the code portion 405, the management unit 420 may receive the data and code from an executable stream generated by a compilation unit (e.g., compilation unit 145) and / or from another executable memory unit.

[0044] After storing the data in the data portion 410 and the code in the code portion 405, the management unit 420 initiates execution of the code at operation 435. As part of the initiation, the management unit 420 may select one or more functional blocks of the arithmetic logic unit 415 or one or more microprograms of the arithmetic logic unit, apply the code from the code portion 405 to the data from the data portion 410. In some embodiments, the management unit 420 may apply a special voltage to select the functional block / microprogram of the arithmetic logic unit 415 and connect the selected functional block / microprogram with the data portion 410. At operation 440, the arithmetic logic unit 415 applies the code from the code portion 405 to the data from the data portion 410. Specifically, the data from the data portion 410 forms the input for the selected functional block / microprogram selected by the management unit at operation 435. At operation 440, the selected functional block / microprogram reads the data from the data portion 410, modifies the data, and stores the result. The selected function block / microprogram may store the result in the data portion 410, the code portion 405, or any other designated location. In some embodiments, the management unit 420 may also be configured to store the result in the data portion 410, the code portion 405, and / or send the result to another component.

[0045] refer to Figure 5, an exemplary flow chart of operations for performing dual operand operations according to an overview of some embodiments of the present disclosure is shown. Depending on the specific embodiment, the flow chart may include other, additional operations or other operations. The dual operand operation involves two variables (e.g., two pieces of data) on which the operation is performed. Specifically, the dual operand operation involves a left operand and a right operand, which are separated by an operator. Therefore, the dual operand operation involves two executable memory units: a first executable memory unit 500 for storing a left operand and a second executable memory unit 505 for storing a right operand. In some embodiments, the first executable memory unit 500 can store a right operand, and the second executable memory unit 505 can store a left operand.

[0046] The first executable memory unit 500 and the second executable memory unit 505 are similar to the executable memory unit 300. Therefore, each of the first executable memory unit 500 and the second executable memory unit 505 includes a code portion for storing executable code, a data portion for storing data, an arithmetic logic unit for applying the code from the code portion to the data stored in the data portion, and a management unit for facilitating execution. For ease of explanation, the code portion, the data portion, the arithmetic logic unit, and the management unit are not shown in the first executable memory unit 500 and the second executable memory unit 505.

[0047] To perform a dual operand operation, at operation 510, the management unit of the first executable memory unit 500 stores the first operand in the data portion of the first executable memory unit. At operation 515, the management unit of the second executable memory unit 505 stores the second operand in the data portion of the second executable memory unit. In some embodiments, the first operand and / or the second operand may have been previously stored in the data portion of the first executable memory unit 500 and the data portion of the second executable memory unit 505, respectively. In such cases, operation 510 and / or operation 515 may be skipped. For example, if the first operand is already stored in the first executable memory unit 500 when performing the dual operand operation, operation 510 may be skipped. Similarly, if the second operand is already stored in the second executable memory unit 505 when performing the dual operand operation, operation 515 may be skipped.

[0048] In addition, at operation 520, the management unit of the first executable memory unit 500 stores the first code in the code portion of the first executable memory unit, and at operation 525, the management unit of the second executable memory unit 505 stores the second code in the code portion of the second executable memory unit. The first code and the second code can be subcodes of instructions received from a host device (e.g., host device 105). In some embodiments, the first code and the second code can be configured to be applied in a specified sequence. In addition, in some embodiments, the first code can identify that the first operand is a left operand, and the second code can identify that the second operand is a right operand. In some operations, such as operations such as subtraction and division, the order of operands may be important for correctly performing operations. For example, if the operands are 5 and 3 and the operator is a subtraction operation, then functions 5-3 and 3-5 obtain different results. Therefore, the first code and the second code can define the correct order in which the operands are to be used in the operation.

[0049] In addition, in some embodiments, the first code and / or the second code may also identify an operator to be applied to the first operand and the second operand and / or define how the result of the operation is to be processed. In other embodiments, the management unit of the first executable memory unit 500 and / or the second executable memory unit 505 may receive a third code (e.g., an operator) that defines the operation to be applied to the first operand and the second operand and / or defines how the result of the operation is to be processed. In some embodiments, the management unit of the first executable memory unit 500 and / or the second executable memory unit 505 may receive a fourth code that defines how the result of the operation is to be processed. Therefore, an instruction may be divided into one or more subcodes that may be applied in a specified sequence to execute the instruction.

[0050] Furthermore, operations 510-525 may be performed in any order.The relative order in which the first operand, the second operand, the first code, and the second code are loaded into the first executable memory unit 500 and the second executable memory unit 505 may vary from implementation to implementation.

[0051] After the first operand and the first code are stored in the first executable memory unit 500, operation 530 begins. At operation 530, the management unit of the first executable memory unit 500 instructs the arithmetic logic unit of the first executable memory unit to designate the first operand as the left operand. The management unit may also select a function block / microprogram in the arithmetic logic unit to apply the first code to the first operand. Similarly, after the second operand and the second code are stored in the second executable memory unit 505, operation 535 begins. At operation 535, the management unit of the second executable memory unit 505 instructs the arithmetic logic unit of the second executable memory unit to designate the second operand as the right operand. The management unit may also select a function block / microprogram in the arithmetic logic unit to apply the second code to the second operand. Operations 530 and 535 may be performed simultaneously.

[0052] In addition, in some embodiments where additional code (e.g., the third code, the fourth code, etc.) is used, after operations 530 and 535 are completed, the management unit of the first executable memory unit 500 and the second executable memory unit 505 can receive the next code to be applied. The management unit can store these additional codes in the code portion of its corresponding executable memory unit. After receiving and storing the additional code or when the additional executable code portion is not needed, at operation 540, the management unit of an executable memory unit in the executable memory unit transfers the operand stored therein to other executable memory units. In some embodiments, the executable memory unit storing the left operand can transfer the left operand to the executable memory unit storing the right operand. In other embodiments, the executable memory unit storing the right operand can transfer the right operand to the executable memory unit storing the left operand.

[0053] Therefore, if Figure 5 As shown, the second executable memory unit 505 transmits the second operand to the first executable memory unit 500 storing the first operand. After receiving the second operand, the management unit of the first executable memory unit 500 may move the first operand to the code portion of the first executable memory unit and store the second operand in the data portion of the first executable memory unit. In some embodiments, the management unit of the first executable memory unit 500 may not store the second operand in the data portion of the first executable memory unit. Instead, the management unit may store the second operand in the code portion or directly connect the second operand to the arithmetic logic unit of the first executable memory unit.

[0054] At operation 545, the management unit of the first executable memory unit 500 instructs the arithmetic logic unit of the first executable memory unit to perform the execution. Specifically, in some embodiments, the management unit of the first executable memory unit 500 may select a function block / microprogram of the arithmetic logic unit of the first executable memory to apply to the first operand and the second operand. After receiving the instruction from the management unit, the selected function block / microprogram of the arithmetic logic unit of the first executable memory unit 500 performs the operation (e.g., applies the code to the first operand and the second operand) and obtains the result. The arithmetic logic unit or the management unit of the first executable memory unit 500 may store the result in the data portion of the first executable memory unit, in the code portion of the first executable memory unit, transfer the result to the second executable memory unit 505, or transfer the result to another component. In some embodiments, after operation 545 is completed, the management unit of the first executable memory unit 500 may receive another code that defines how to process the result.

[0055] refer to Figure 6 , shows an exemplary flow chart of another dual operand operation according to some embodiments of the present disclosure. Depending on the specific embodiment, the flow chart may include other, additional operations or other operations. Similar to Figure 5 , Figure 6 The dual operand operation of is performed by two executable memory units: a first executable memory unit 600 and a second executable memory unit 605. The first executable memory unit 600 and the second executable memory unit 605 are similar to the executable memory unit 300. Therefore, although not shown, each of the first executable memory unit 600 and the second executable memory unit 605 includes a code portion for storing code, a data portion for storing data, an arithmetic logic unit for applying code from the code portion to data from the data portion, and a management unit for facilitating the operation.

[0056] To perform a dual operand operation, at operation 610, the management unit of the first executable memory unit 600 stores a first operand (e.g., a first piece of data) in a data portion of the first executable memory unit. At operation 615, the management unit of the second executable memory unit 605 stores a second operand (e.g., a second piece of data) in a data portion of the second executable memory unit. In some embodiments, the first operand and / or the second operand may have been previously stored in the first executable memory unit and / or the second executable memory unit, respectively. In such cases, operation 610 and / or operation 615 may be skipped.

[0057] In addition, at operation 620, the management unit of the first executable memory unit 600 stores the first code in the code portion of the first executable memory unit, and at operation 625, the management unit of the second executable memory unit 605 stores the second code in the code portion of the second executable memory unit. Likewise, the relative order in which the first data, the second data, the first code, and the second code are loaded into the first executable memory unit 600 and the second executable memory unit 605 may vary from implementation to implementation.

[0058] In addition, the first code can identify whether the first operand is a left operand or a right operand, and the second code can identify whether the second operand is a right operand or a left operand. The first code and / or the second code can also select the function block / microprogram of the corresponding arithmetic logic unit to be applied to the first operand and the second operand. In some embodiments, the third code can be used to define the operation. In addition, in some embodiments, the fourth code can be used to manage the result of the operation, as described above with respect to Figure 5 discussed.

[0059] After the first operand and the first code are stored in the first executable memory unit 600, at operation 630, the management unit of the first executable memory unit instructs the arithmetic logic unit of the first executable memory unit to designate the first operand as a left operand or a right operand. Similarly, after the second operand and the second executable code are stored in the second executable memory unit 605, operation 635 begins. At operation 635, the management unit of the second executable memory unit 605 instructs the arithmetic logic unit of the second executable memory unit to designate the second operand as a right operand or a left operand. Operations 630 and 635 can be performed simultaneously. Operations 610-635 are similar to operations 510-535 discussed above.

[0060] Furthermore, in some embodiments and as Figure 6 As discussed, the first code from the first executable memory unit 600 and the second code from the second executable memory unit 605 may be combined together, rather than as described with respect to Figure 5 The data is sent from one executable memory unit to another executable memory unit as discussed. In embodiments where additional code (e.g., a third code, a fourth code, etc.) is used, after operations 630 and 635 are completed, the management unit of the first executable memory unit 600 and the second executable memory unit 605 can receive the next code to be applied and combine the codes.

[0061] Thus, at operation 640, the first code from the first executable memory unit 600 and the second code from the second executable memory unit 605 are combined together. In some embodiments, the combination can be achieved by allowing the arithmetic logic unit of the first executable memory unit 600 and / or the second executable memory unit 605 to access the data portion of the other executable memory unit. For example, in some embodiments, the management unit of the first executable memory unit 600 and the second executable memory unit 605 can allow the arithmetic logic unit of the first executable memory unit to access the data portion of the second executable memory unit to access the second operand. In other embodiments, the management unit of the first executable memory unit 600 and the second executable memory unit 605 can allow the arithmetic logic unit of the second executable memory unit to access the data portion of the first executable memory unit to access the first operand. In other embodiments, the management unit of the first executable memory unit 600 and the second executable memory unit 605 may allow the arithmetic logic unit of the first executable memory unit to access the second operand in the second executable memory unit, and allow the arithmetic logic unit of the second executable memory unit to access the first operand in the first executable memory unit.

[0062] Then, the arithmetic logic unit with access rights to the first operand and the second operand can apply the code to perform the dual operand operation. In some embodiments, the function blocks / microprograms of the arithmetic logic units of the first executable memory unit 600 and the second executable memory unit 605 can be combined to form a combined function block / microprogram. The combined function block / microprogram can be allowed to access the data portion of the first executable memory unit 600 and the second executable memory unit 605 to perform the dual operand operation. In some embodiments, the combination of the first code and the second code can be achieved by a shift operation, as discussed in more detail below. The result of the operation can be as described above with respect to Figure 5 Processed in a similar manner as discussed.

[0063] Now go to Figure 7 , an exemplary execution flow 700 according to some embodiments of the present disclosure is shown. Execution flow 700 is generated by a compilation unit (e.g., compilation unit 145) of a computing system (e.g., computing system 100). After receiving an instruction sequence (e.g., running one of applications 135) from a host device (e.g., host device 105), the compilation unit converts each instruction in the instruction sequence into a form that is easily understood by an executable memory unit (e.g., executable memory unit 140) and is ready for execution. Thus, the compilation unit converts the input source code into a target source code. The code loaded into the executable memory unit is the target source code.

[0064] By converting the input source code into the target source code, the compilation unit creates an executable binary stream (e.g., execution stream 700). As part of the conversion, in some embodiments, the compilation unit can decompose the instruction into multiple sub-operations or sub-codes. For example, as discussed above, a double operand operation can involve multiple codes: a first code for identifying a left operand, a second code for identifying a right operand, a third code for applying the operation, and a fourth code for managing the result of the operation. Therefore, each of the above codes can be considered as a sub-code or a one-step command. Instructions with multiple sub-codes can be executed by executing the sub-codes in a specified sequence.

[0065] In some embodiments, the compilation unit (e.g., compilation unit 145) may be a just-in-time compiler. In other embodiments, the compilation unit may be another type of compiler suitable for use with an executable memory unit (e.g., executable memory unit 140). In addition, the execution stream 700 generated by the compilation unit may be viewed as an infinite band of a Turing machine, which includes a plurality of discrete units, each of which stores code (e.g., sub-code) or data. Therefore, the execution stream 700 may include a plurality of units, which include data interleaved with the code. For example, unit 705A of the execution stream 700 may store code 1. Data to which code 1 is to be applied may be stored in unit 710A. Unit 705B of the execution stream 700 may store code 2, and unit 710B may store data to which code 2 is to be applied. If code 1 is a sub-code of an instruction including multiple sub-codes, code 2 may be the second sub-code in the sequence, which is to be executed after code 1. If code 1 is an independent code, code 2 may be the first sub-code of another instruction having multiple sub-codes or another independent code. Thus, a compilation unit (e.g., compilation unit 145) creates a continuous stream of data and code (whether independent code or sub-code) to be executed by an executable memory unit (e.g., executable memory unit 140). Execution stream 700 stores both code and data in a single stream. Thus, execution stream 700 can be viewed as a "single execution stream".

[0066] Although execution flow 700 shows code units (e.g., units 705A, 705B, 705N) to the right of data units (e.g., units 710A, 710B, 710N), in some embodiments, code units may be to the left of data units. In addition, although each code unit (e.g., unit 705A, 705B, 705N) is separated from another code unit by a data unit (e.g., unit 710A, 710B, 710N), in some embodiments, two or more code units may be positioned adjacent to each other without a data unit in between. Similarly, in some embodiments, two or more data units (e.g., units 710A, 710B, 710N) may be positioned adjacent to each other without a code unit (e.g., unit 705A, 705B, 705N) in between. In general, the execution stream 700 and the arrangement of code units (e.g., units 705A, 705B, 705N) and data units (e.g., units 710A, 710B, 710N) in the execution stream may depend on the type of instruction to be executed and the number of sub-codes in the instruction, the order in which the sub-codes are to be executed, and the data to which the sub-codes are to be applied.

[0067] Execution stream 700 can be executed using pointer 715. Pointer 715 indicates the currently executing code unit of execution stream 700. Once the code unit that pointer 715 is pointing to has completed execution, the pointer moves to the next code unit in the sequence. For example, pointer 715 can start at unit 705A. When pointer 715 is pointing to unit 705A, the code associated with the unit is being executed. In some embodiments, the code from unit 705A that pointer 715 is pointing to can be read and loaded into an executable memory unit. In some embodiments, a management unit (e.g., management unit 150) of an associated data processing unit (e.g., data processing unit 130) can read code from unit 705A and send the code to the management unit of an appropriate executable memory unit for storage in the code portion of the executable memory unit. The management unit can also send data from data unit 710A that can be associated with the code in code unit 705A to the data portion of the executable memory unit. After receiving and storing the code and data, the executable memory unit can begin execution, as described above with respect to Figures 4 to 6 discussed.

[0068] In some embodiments, execution flow 700 may be stored in a sequence of executable memory units. For example, code from each code unit (e.g., units 705A, 705B, ..., 705N) may be stored in a code portion of the executable memory unit, and associated data from each data unit (e.g., units 710A, 710B, ..., 710N) may be stored in a data portion of the executable memory unit. Thus, when pointer 715 points to a particular code unit, code from that code unit and data from associated data units may already be stored in the executable memory unit, and the executable memory unit may simply begin executing code.

[0069] Although pointer 715 has been explained as moving from the right side to the left side of execution flow 700, in some embodiments, the pointer may also move from the left side to the right side. In addition, although a single pointer is shown, in some embodiments, multiple pointers may also be used in execution flow 700, each pointer being used for a portion of the execution flow.

[0070] According to the execution flow 700, single operand operations and double operand operations can be performed. For example and in particular, see Figure 8 , shows an exemplary operation performed using a single execution stream 800 according to some embodiments of the present disclosure. Similar to execution stream 700, execution stream 800 includes separate code units 805A, 805B, ..., 805N and data units 810A, 810B, ..., 810N. Execution stream 800 may be particularly suitable for performing single operand operations. Operations may be performed using execution stream 800 in a sequential manner or in a parallel manner.

[0071] In order to perform operations in a sequential manner, each unit of the execution stream 800 is sequentially traversed one by one. Each data unit and code unit in the execution stream 800 is associated with an executable memory unit. In addition, in some embodiments, a data unit and a code unit to be applied to the data may form a code / data unit pair, and the pair may be associated with the same executable memory unit. For example, in some embodiments, code from code unit 805A and data from data unit 810A may form a code / data unit pair and may be associated with a first executable memory unit 815. Similarly, in some embodiments, code from code unit 805B and data from data unit 810B may form a code / data unit pair and may be associated with a second executable memory unit 820, and so on.

[0072] In addition, in some embodiments, when the pointer 825 of the execution stream is pointing to a code unit of a code / data unit pair of the execution stream 800, the code from the code unit and the data from the data unit can be loaded into the executable memory unit. For example, in some embodiments, when the pointer 825 is pointing to the code unit 805A, the code 1 from the code unit and the data 1 from the data unit 810A can be loaded into the first executable memory unit 815. In other embodiments, the entire execution stream 800 (or at least a portion thereof) can be stored in the executable memory unit, and then the execution of the first code unit (e.g., code unit 805A) can be started. Specifically, information from each code / data unit pair can be loaded into the executable memory unit in advance, and when the pointer 825 points to the code unit of the code / data unit pair, the executable memory unit can begin execution. Regardless of when the code and data are stored in the executable memory unit, for sequential execution, each code / data unit pair can be executed in a specified sequence represented by the movement of the pointer. For example, code 1 from code unit 805A may be executed in first memory unit 815, followed by code from code unit 805B.

[0073] A single operand operation may include multiple subcodes. For example, in some embodiments, a single operand operation may include two subcodes: a first subcode for applying the code to the data and a second subcode for storing the result of the operation. Thus, in execution flow 800, the first subcode may be stored in code unit 805A and the second subcode may be stored in code unit 805B. The data or operand may be stored in data unit 810A. For execution, the first subcode from code unit 805A may be stored in the code portion of the first executable memory unit 815 and the data from data unit 810A may be stored in the data portion of the first executable memory unit. As discussed above, the first executable memory unit 815 may be accessed by the management unit ( Figure 8 800) to facilitate loading code into the code portion and data into the data portion. After loading the first subcode and data and applying the first subcode to the data, the first executable memory unit 815 may store the result in the data portion of the second executable memory unit 820. Pointer 825 may be moved to code unit 805B to load the second subcode into the code portion of the second executable memory unit 820. Thus, the second executable memory unit 820 may receive data from the first executable memory unit 815 and receive the second subcode from the execution flow 800. The second executable memory unit 820 may then apply the second subcode to the data in the data portion of the second executable memory unit. This may be done as described above with respect to Figure 4 Performs single-operand operations as discussed above.

[0074] In order to perform operations in parallel, each pair of data and code can be loaded into the executable memory unit in parallel. Therefore, multiple executable memory units can be deployed simultaneously for parallel execution. For example, the code 1 from code unit 805A, the code 2 from code unit 805B and the code from code unit 805C can be loaded into the code portion of the first executable memory unit, the second executable memory unit and the third executable memory unit in parallel. Similarly, the data from data unit 810A, the data from data unit 810B and the data from data unit 810C can be loaded into the data portion of the first executable memory unit, the second executable memory unit and the third executable memory unit in parallel. Therefore, by applying the code in its corresponding code portion to the data stored in its corresponding data portion, each of the first executable memory unit, the second executable memory unit and the third executable memory unit can be executed in parallel. When the code in code unit 805A, 805B and 805C will not be executed in a specified sequence, parallel operation is particularly advantageous. For example, parallel execution may be used when execution of code in code unit 805B does not require completion of execution of code in code unit 805 A. In some embodiments, parallel execution may be particularly advantageous when the same code is to be applied to different data, such that the same code may be stored in each code unit of execution flow 800 and each data unit may have an instance of the data to which the code is to be applied.

[0075] In some embodiments, a portion of the execution flow 800 may be executed sequentially, while another portion of the execution flow may be executed in parallel. Furthermore, in some embodiments, execution may also change between sequential and parallel as the code and data in each unit of the execution flow 800 changes. Thus, the execution flow may be executed sequentially or in parallel based on the code stored in the execution flow 800 and whether the execution of a particular code is dependent on the completion of the execution of another code.

[0076] Reference now Fig. 9 , shows an exemplary execution flow 900 according to some embodiments of the present disclosure. Compared to the execution flow 700, which is a single execution flow with interleaved data and code in one execution flow, the execution flow 900 is a dual execution flow with separate execution flows for data and code. Therefore, the execution flow 900 includes a data flow 905 and a code flow 910. The data flow 905 is configured to store data, and the code flow 910 is configured to store code. After receiving instructions from a host device (e.g., the host device 105), the compilation unit (e.g., the compilation unit 145) can create the execution flow 900.

[0077] The data stream 905 and the code stream 910 of the execution stream 900 each include a plurality of discrete units. In some embodiments, each code unit in the code stream 910 may be associated with a data unit in the data stream 905. In addition, in some embodiments, the code unit / data unit pair may be associated with an executable memory unit. Pointer 915 may be used to track the execution of the code stream 910. In some embodiments, and particularly when the execution stream 900 is used to perform operations by shifting, pointer 915 may not be provided, or pointers (if provided) may not be used. By providing a separate data stream (e.g., data stream 905) and a separate code stream (e.g., code stream 910), each of these streams may be independently controlled. Other aspects of the execution stream 900 are similar to the execution stream 700 and are therefore not discussed again.

[0078] Additionally, similar to execution flow 800, execution flow 900 may be used to perform operations in a sequential or parallel manner, such as with respect to Fig.10 Therefore, Fig.10 An exemplary execution flow 1000 according to some embodiments of the present disclosure is shown. Execution flow 1000 includes a data flow 1005 and a code flow 1010. Since they are in separate flows, the data in data flow 1005 can be used independently of the code in code flow 1010, as represented by dashed boxes 1015 and 1020, respectively. In addition, similar to execution flow 800, execution flow 1000 can be used to perform operations in a sequential manner or in a parallel manner.

[0079] In general, sequential operations and parallel operations using execution stream 1000 are similar to those discussed above with respect to execution stream 800. Execution stream 1000 associates one code unit from code stream 1010 and one data unit from data stream 1005 with one executable memory unit, rather than associating one code unit and one data unit of the same stream (e.g., execution stream 800) with one executable memory unit. For example, to perform a single-operand sequential operation, a compilation unit (e.g., compilation unit 145) may send data from data unit 1025A to be loaded into a data portion of a first executable memory unit 1030. The compilation unit may also send code from code unit 1035A to be loaded into a code portion of the first executable memory unit 1030. Similarly, data from data unit 1025B and code from code unit 1035B may be loaded into a second executable memory unit 1040. The second executable memory unit 1040 may be the same or different from the first executable memory unit 1030 for sequential operations. Thus, each code unit / data unit pair of execution flow 1000 is executed in sequential order.

[0080] In order to perform dual operand operations in a sequential manner using execution flow 1000, shift operations may be used. Fig.11 The shift operations are discussed in more detail. For parallel execution using execution stream 1000, each code unit / data unit pair may be associated with a separate executable memory unit. Parallel execution may be advantageous when the code will not be executed in a specified sequence (e.g., when the execution of code in one code unit is independent of the execution of code in another code unit). In order to execute execution stream 1000 in parallel, data from data unit 1025A and code from code unit 1035A may be loaded into first executable memory unit 1030, data from data unit 1025B and code from code unit 1035B may be loaded into second executable memory unit 1040, and so on, in parallel. The parallel execution of execution stream 1000 is similar to the parallel execution of execution stream 800 discussed above.

[0081] Now go to Fig.11 , shows an exemplary execution flow 1100 according to some embodiments of the present disclosure. Figure 5 and Figure 6 discuss Fig.11 . Execution flow 1100 is similar to execution flow 1000. Therefore, execution flow 1100 includes data flow 1105 and code flow 1110. Both data flow 1105 and code flow 1110 include multiple units for storing data and for storing code, respectively. Figure 5 and Figure 6 Specifically, shift operations can be used to perform Figure 5 and Figure 6 In order to perform a shift operation, the code stream 1110 may shift one code unit at a time. As described above, the instruction for the dual operand operation may include the following multiple subcodes: a first subcode for identifying a first operand as a left / right operand, a second subcode for identifying a second operand as a left / right operand, a third subcode for applying the code to the first operand and the second operand, and a fourth subcode for managing the result of the operation.

[0082] Thus, to perform a two-operand operation, a first operand may be stored in data unit 1115A of data stream 1105 and a second operand may be stored in data unit 1115B of the data stream. Similarly, and at the start of the operation, a first subcode may be stored in code unit 1120A of code stream 1110. Data unit 1115A and code unit 1120A may be associated with a first executable memory unit. Data unit 1115B and code unit 1120B may be associated with a second executable memory unit. At operation 1125, the first operand may be loaded from data unit 1115A into a data portion of the first executable memory unit and the second operand may be loaded from data unit 1115B into a data portion of the second executable memory unit. Additionally, the first subcode may be loaded into a code portion of the first executable memory unit. Operation 1125 causes Figure 5 Operations 510, 515 and 520 and Figure 6 After the first operand and the first sub-code are loaded into the first executable memory unit, the first executable memory unit may execute Figure 5 Operation 530 and Figure 6 Operation 630.

[0083] In completion Figure 5 / Figure 6 After the execution of operations 530 / 640, at operation 1130, execution flow 1100 shifts code stream 1110 by one code unit. Due to the shift operation, code unit 1120B receives the first subcode, while the second subcode is loaded into code unit 1120A. Also in operation 1130, the first subcode from code unit 1120B is loaded into the code portion of the second executable memory unit. Therefore, operation 1130 causes Figure 5 Operation 525 and Figure 6 In some embodiments, at operation 1130, instead of at operation 1125, the second operand from data unit 1115B may be loaded into the second executable memory unit. Additionally, at operation 1130, the second sub-code from code unit 1120A is now loaded into the code portion of the first executable memory unit. Thus, at operation 1130, the first executable memory unit stores the first operand and the second sub-code, while the second executable memory unit stores the second operand and the first sub-code. The second executable memory unit may apply Figure 5 Operation 535 and Figure 6 Operation 635.

[0084] At operation 1135, the third sub-code is loaded into code unit 1120A, and the second sub-code is shifted to code unit 1120B. In addition, at operation 1135, the third sub-code is loaded into the first executable memory unit, and the second sub-code is loaded into the second executable memory unit. In addition, if Figure 5 The process of is used to perform a two-operand operation, then at this stage the second executable memory unit can transfer (at operation 540) the second operand to the first executable memory unit. Figure 6 , then due to the shift operation, the first executable memory unit already has the second sub-code. Therefore, due to the shift operation, operation 640 occurs. Also at operation 1135, after receiving the third sub-code, the first executable memory unit performs a dual operand operation, such as Figure 5 Operation 545 and Figure 6 Operation 645 is discussed above.

[0085] Then, at operation 1140, code unit 1120A is loaded with the fourth sub-code, and the third sub-code is shifted into code unit 1120B. Therefore, at operation 1140, the fourth sub-code is loaded into the first executable memory unit, and the third sub-code is loaded into the second executable memory unit. After receiving the fourth sub-code, the first executable memory unit stores the result of the dual operand operation according to the fourth sub-code. At operation 1145, the fourth sub-code is shifted into code unit 1120B and loaded into the second executable memory unit. This loading sends a signal to the second executable memory unit to notify that the dual operand operation has ended. Therefore, for the dual operand operation, each of the first executable memory unit and the second executable memory unit receives all four sub-codes.

[0086] Therefore, the present disclosure provides an executable memory unit that is configured to process data in a location where data is stored. The present disclosure also provides a mechanism for converting instructions into a form that is easily understood by the executable memory unit for processing. It should be understood that any examples used herein are only for the purpose of explanation and are not intended to be limiting in any way.

[0087] The subject matter described herein sometimes illustrates the different parts that are contained in different other parts or are connected with different other parts.It should be understood that the architecture of such description is only exemplary, and in fact many other architectures that realize the same function can be realized.In a conceptual sense, any arrangement of the parts to realize the same function is effectively "associated" so that the desired function is realized.Therefore, any two parts that are combined to realize a specific function herein can be regarded as "associated" with each other so that the desired function is realized, and have nothing to do with the architecture or intermediate parts.Similarly, any two parts that are so associated can also be regarded as "operably connected" or "operably coupled" to realize the desired function, and any two parts that can be so associated can also be regarded as "operably coupled" to realize the desired function.The specific example of operably coupling includes but is not limited to physically matchable and / or physically interactive parts and / or wirelessly interactive and / or wirelessly interactive parts and / or logically interactive and / or logically interactive parts.

[0088] With respect to the use of substantially any plural and / or singular terms herein, those skilled in the art may translate from the plural to the singular and / or from the singular to the plural, as appropriate to the context and / or application. For sake of clarity, the various singular / plural permutations may be expressly set forth herein.

[0089] It will be understood by those skilled in the art that, in general, the terms used herein, especially in the appended claims (e.g., the subject matter of the appended claims), are generally meant to be "open" terms (e.g., the term "including" should be interpreted as "including but not limited to", the term "having" should be interpreted as "having at least", the term "including" should be interpreted as "including but not limited to", etc.). It will also be understood by those skilled in the art that if a specific number of introduced claim statements is intended to be introduced, such intent will be explicitly stated in the claim, and in the absence of such statement, no such intent is present. For example, to aid understanding, the following appended claims may include the introductory phrases "at least one" and "one or more" to introduce claim statements. However, the use of such phrases should not be construed as implying that a claim recitation introduced by the indefinite article "a" or "an" limits any particular claim containing such introduced claim recitation to an invention containing only one such recitation, even when the same claim includes the introductory phrases "one or more" or "at least one" and an indefinite article such as "a" or "an" (e.g., "a" and / or "an" should generally be interpreted as meaning "at least one" or "one or more"); the same is true when the definite article used to introduce the claim recitation is used. Furthermore, even if a specific number of introduced claim recitations is explicitly stated, those skilled in the art will recognize that such recitation should generally be interpreted to mean at least the number of the recitations (e.g., the unmodified recitation of "two recitations" generally means at least two recitations, or two or more recitations, in the absence of other modifiers). Furthermore, in those cases where a conventional convention similar to “at least one of A, B, and C, etc.” is used, generally such construction is meant in the sense that one skilled in the art would understand the conventional convention (e.g., “a system having at least one of A, B, and C” would include but is not limited to systems having A alone, B alone, C alone, both A and B, both A and C, both B and C, and / or both A, B, and C, etc.). In those cases where a conventional convention similar to “at least one of A, B, or C, etc.” is used, generally such construction is meant in the sense that one skilled in the art would understand the conventional convention (e.g., “a system having at least one of A, B, or C” would include but is not limited to systems having A alone, B alone, C alone, both A and B, both A and C, both B and C, and / or both A, B, and C, etc.). Those skilled in the art will further appreciate that, in practice, any disjunctive words and / or phrases presenting two or more alternative terms, whether in the specification, claims or drawings, should be understood to contemplate the possibility of including one, either or both of the terms.For example, the phrase "A or B" will be understood to include the possibilities of "A" or "B" or "A and B." Furthermore, unless otherwise indicated, the use of the terms "approximately," "about," "around," "substantially," etc. means plus or minus ten percent.

[0090] The foregoing description of exemplary embodiments has been presented for purposes of illustration and description. It is not intended to be exhaustive or limiting in terms of the precise forms disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the disclosed embodiments. The scope of the invention is intended to be defined by the appended claims and their equivalents.

Claims

1. A method comprising: Compiling the instruction sequence into an execution stream including a plurality of pairs of interleaved code and data; storing a first code of the execution flow in a code portion of a first executable memory unit; storing first data of the execution flow in a data portion of the first executable memory unit; as well as The first code is applied to the first data by a first arithmetic logic unit of the first executable memory unit in a first operation. 2 . The method of claim 1 , further comprising storing a result of the first operation within the code portion of the first executable memory unit.

3. The method of claim 1, further comprising storing a result of the first operation in the data portion of the first executable memory unit.

4. The method according to claim 1, further comprising: storing a second code of the execution flow in a code portion of a second executable memory unit; transferring second data from the second executable memory unit to the first executable memory unit; as well as A third code of the execution flow is applied to the first data and the second data by the first arithmetic logic unit of the first executable memory unit in a second operation.

5. The method of claim 4, further comprising storing a result of the second operation in the code portion or the data portion of the first executable memory unit.

6. The method of claim 4, further comprising transferring a result of the second operation to the second executable memory unit.

7. The method according to claim 1, further comprising: receiving, by a management unit of the first executable memory unit, the first code from the execution stream; as well as The first code is stored by the management unit in the code portion of the first executable memory unit.

8. The method according to claim 1, further comprising: receiving, by a management unit of the first executable memory unit, the first data from the execution stream; as well as The first data is stored by the management unit in the data portion of the first executable memory unit.

9. The method according to claim 1, further comprising: storing a second code of the execution flow in a code portion of a second executable memory unit; combining the first code from the first executable memory unit and the second code from the second executable memory unit to obtain a combined code; as well as The combined code is applied by the first arithmetic logic unit of the first executable memory unit to the first data and the second data of the execution flow in a second operation.

10. The method according to claim 1, further comprising: storing a second code of the execution flow in the code portion of the first executable memory unit; as well as The second code is applied to the first data by the first arithmetic logic unit of the first executable memory unit.

11. A device comprising: A data processing unit, the data processing unit comprising a plurality of executable memory units, each of the plurality of executable memory units comprising: A code portion, the code portion is used to store codes; a data portion, the data portion being used to store data; and an arithmetic logic unit for applying the code to the data; and a compilation unit, the compilation unit being used to convert the instruction sequence into an execution flow, The execution flow includes a plurality of pairs of interleaved code and data executed by the plurality of executable memory units.

12. The apparatus according to claim 11, wherein the compilation unit is a just-in-time compiler.

13. The apparatus of claim 11, wherein each of the plurality of executable memory units further comprises a management unit for facilitating application of the code to the data via the arithmetic logic unit.

14. The apparatus of claim 11, wherein a first executable memory unit of the plurality of executable memory units performs a single-operand operation.

15. The apparatus of claim 11, wherein a first executable memory unit and a second executable memory unit of the plurality of executable memory units perform a dual operand operation.

16. The device of claim 11, wherein the data processing unit and the compiling unit are part of a host device.

17. A non-transitory computer readable medium comprising computer executable instructions embodied thereon, the computer executable instructions, when executed by a data processing unit of a computing system, causing the data processing unit to perform a process comprising: Compiling the instruction sequence into an execution stream including a plurality of pairs of interleaved code and data; storing a first code of the execution flow in a code portion of a first executable memory unit of the data processing unit; storing first data of the execution flow in a data portion of the first executable memory unit; as well as The first code is applied to the first data by a first arithmetic logic unit of the first executable memory unit.

18. The non-transitory computer readable medium of claim 17, wherein the process further comprises receiving the first code and the first data from the execution stream.

19. The non-transitory computer readable medium of claim 17, wherein the process further comprises: storing a second code of the execution flow in a code portion of a second executable memory unit of the data processing unit; transferring second data from the second executable memory unit to the first executable memory unit; as well as A third code of the execution flow is applied to the first data and the second data by the first arithmetic logic unit of the first executable memory unit.

20. The non-transitory computer readable medium of claim 17, wherein the process further comprises: storing a second code of the execution flow in a code portion of a second executable memory unit; combining the first code from the first executable memory unit and the second code from the second executable memory unit to obtain a combined code; as well as The combined code is applied by the first arithmetic logic unit of the first executable memory unit to first data and second data of the execution stream.

Citation Information

Patent Citations

  • Executable memory cells

    US20200293222A1

  • Executable memory cell

    US20200293223A1

  • Instructions for performing an operation on two operands and subsequently storing an original value of operand

    US20110314263A1

  • Apparatus and method for a memory unit with a processor integrated therein

    US5678021A