Programmable Array Processor Control Unit

By combining the programmable control module and the configuration call module in the programmable array processor control device, the control instructions are analyzed and the array status information is received, and the control configuration information is generated, dynamic real-time reconstruction of the reconfigurable array is achieved, and the existing solution is solved The problem of large overhead in the technology improves the flexibility and efficiency of the processing process.

CN115048334BActive Publication Date: 2024-11-26XIAN UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210551445.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-18
Publication Date
2024-11-26
Estimated Expiration
2042-05-18

AI Technical Summary

Technical Problem

The dynamic reconstruction of existing reconfigurable array processors cannot be adjusted independently based on real-time changing execution status, resulting in large overhead of reconstruction.

Method used

A programmable array processor control device is designed, including a programmable control module and a configuration call module. By analyzing control instructions and receiving array status information, generating control configuration information, and adjusting the processing process of the reconstructible array in real time.

Benefits of technology

Dynamic real-time reconstruction of reconfigurable arrays is realized, reducing reconstruction overhead and improving the flexibility and efficiency of the processing process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115048334B_ABST
    Figure CN115048334B_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of array processors, and specifically relates to a programmable array processor control device, wherein the device includes: a configuration calling module, which is used to receive the state information of the current array execution fed back by the reconfigurable array processor, and send the state information to the programmable control module; the programmable control module is used to generate control configuration by parsing control instructions, and make decisions based on the state information of the array to generate control configuration information; the configuration calling module is used to read the control configuration information from the control register file of the programmable control module, and send the pre-stored task configuration information to the array processor according to the address information in the control configuration information. The device can flexibly adjust the processing process of the reconfigurable array, and autonomously change the corresponding control configuration according to the execution state of the array, thereby effectively reducing the reconstruction overhead.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of array processors, and in particular relates to a programmable array processor control device. Background Art

[0002] The dynamic reconstruction of existing reconfigurable array processors requires the host computer to configure the reconfigurable array according to the computing task. Although it can achieve flexible switching between different tasks to a certain extent, with the different application environments and different processing real-time requirements, this passive reconstruction method configured by the host computer cannot autonomously change the control configuration of the reconfigurable array according to the real-time changes of the array execution state.

[0003] Therefore, how to achieve dynamic real-time reconstruction to flexibly adjust the processing process of the reconfigurable array, thereby reducing the reconstruction overhead, has become an urgent problem to be solved. Summary of the invention

[0004] 1. Technical issues to be resolved

[0005] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present application provides a programmable array processor control device.

[0006] (II) Technical solution

[0007] In order to achieve the above objectives, this application adopts the following technical solutions:

[0008] The embodiment of the present application provides a programmable array processor control device, the method comprising: a programmable control module, a configuration calling module connected to the programmable control module and the reconfigurable array processor respectively;

[0009] The configuration calling module is used to receive the state information of the current array execution fed back by the reconfigurable array processor, and send the state information to the programmable control module;

[0010] The programmable control module is used to generate control configuration by parsing control instructions, and to make decisions based on the status information sent by the configuration calling module to generate corresponding control configuration information;

[0011] The configuration calling module is used to read the control configuration information from the control register file of the programmable control module, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information.

[0012] Optionally, the programmable control module includes an instruction fetch unit, a decoding and data fetch unit, and an execution write-back unit;

[0013] The instruction fetch unit is used to update the instruction counter in a state machine manner, read the control instruction from the control instruction memory based on the updated instruction counter, and send the control instruction to the decoding and fetching unit;

[0014] The decoding and fetching unit is used to decode and parse the control instruction to generate an instruction status signal, and send the instruction status signal to the instruction fetching unit; or decode and parse the control instruction to generate an instruction control signal, and read the corresponding source operand from the control register file, and send the instruction control signal and the source operand to the execution write-back unit;

[0015] The execution write-back unit is used to receive the control signal sent by the decoding and data acquisition module and the corresponding source operand, perform operations on the source operand based on the control signal, and write the operation results back to the control register file.

[0016] Optionally, the instruction fetch unit includes a control instruction memory, an instruction counter (Program Counter, PC), a PC update state machine and a multiplexer;

[0017] The instruction counter is used to store the storage address of the control instruction currently to be accessed;

[0018] The control instruction memory is used to store a set of control instructions, extract a control instruction according to a storage address in the instruction counter, and send the control instruction to the multiplexer;

[0019] The PC update state machine is used to receive the instruction state signal sent by the decoding and fetching unit, calculate the address of the next control instruction according to the instruction state signal, and update the value of the instruction counter;

[0020] The multiplexer is used to send the control instruction to the decoding and data acquisition unit.

[0021] Optionally, the decoding and data acquisition unit includes a decoder and a control register file;

[0022] The decoder is used to decode and parse the control instruction sent by the instruction fetch unit, transmit the execution control signal obtained by the analysis to the execution write-back unit and the control register file, and fetch the source operand required by the operation instruction from the control register file and transmit it to the execution write-back unit, and at the same time generate the instruction status signal and send it to the instruction fetch unit for judging the jump of the PC status;

[0023] The control register file is used to store source operands and store data written back after the execution write-back unit completes processing.

[0024] Optionally, the execution write-back unit includes an arithmetic logic unit;

[0025] The arithmetic logic unit is used to receive the execution control signal sent by the decoding and fetching unit and the corresponding source operand, perform calculations according to the execution control signal, and write the calculation results back to the control register file.

[0026] Optionally, the arithmetic logic unit is further used to perform jump judgment on two source operands read from the control register file, and generate a jump signal to be transmitted to the instruction fetch unit.

[0027] Optionally, the configuration calling module reads the control configuration information in real time, the control configuration information including the configuration information type, the number of configuration information and the configuration information address; the configuration calling module sends the state information fed back by the array to the programmable control module in real time.

[0028] Optionally, the configuration calling module includes: a type selection unit, an instruction storage unit, and a data storage unit;

[0029] The type selection unit is connected to the instruction storage unit and the data storage unit respectively, and is used to read the task configuration information that needs to be sent to the reconfigurable array from the corresponding instruction storage unit and the data storage unit according to the type of configuration information sent, the address of the configuration information and the number of configuration information, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information; the task configuration information includes task instruction information and task data information;

[0030] The instruction storage unit is used to store the task instruction information required by the reconfigurable array processor;

[0031] The data storage unit is used to store the task data information required by the reconfigurable array processor.

[0032] (III) Beneficial effects

[0033] The beneficial effects of the present application are as follows: the present application proposes a programmable array processor control device, the device comprising: a programmable control module, a configuration calling module connected to the programmable control module and the reconfigurable array processor respectively; the configuration calling module is used to receive the status information of the current array execution fed back by the reconfigurable array processor, and send the status information to the programmable control module; the programmable control module is used to generate a control configuration by parsing the control instruction, and make a decision based on the status information sent by the configuration calling module to generate corresponding control configuration information; the configuration calling module is used to read the control configuration information from the control register file of the programmable control module, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information. The programmable array processor control device of the present application realizes the dynamic real-time reconstruction of the reconfigurable array processing process by autonomously controlling the array according to the execution status of the reconfigurable array at the control end, thereby effectively reducing the reconstruction overhead. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] The present application is described with the aid of the following drawings:

[0035] Figure 1 This is a schematic diagram of the structure of a programmable array processor control device in one embodiment of the present application;

[0036] Figure 2 This is a diagram of the programmable control module instruction encoding format in one embodiment of the present application;

[0037] Figure 3 This is a schematic diagram of the structure of an instruction fetch unit in another embodiment of the present application;

[0038] Figure 4 This is a schematic diagram of a PC value update process in another embodiment of the present application;

[0039] Figure 5 This is a schematic diagram of PC-FSM state changes in another embodiment of the present application;

[0040] Figure 6 This is a schematic diagram of the structure of a decoding and data acquisition unit in another embodiment of the present application;

[0041] Figure 7 This is a schematic diagram of the structure of an execution write-back unit in another embodiment of the present application;

[0042] Figure 8 This is a schematic diagram of the configuration calling module structure in another embodiment of the present application. DETAILED DESCRIPTION

[0043] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below in conjunction with the accompanying drawings through specific implementation methods. It is understood that the specific embodiments described below are only used to explain the relevant inventions, rather than to limit the invention. It should also be noted that the embodiments and features in the embodiments of this application can be combined with each other in the absence of conflict; for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0044] Embodiment 1

[0045] Figure 1 FIG. 1 is a schematic diagram of a programmable array processor control device structure in one embodiment of the present application. Figure 1 As shown, the programmable array processor control device of this embodiment includes: a programmable control module, and a configuration calling module connected to the programmable control module and the reconfigurable array processor respectively;

[0046] A configuration calling module is used to receive the state information of the current array execution fed back by the reconfigurable array processor, and send the state information to the programmable control module;

[0047] A programmable control module is used to generate control configuration by parsing control instructions, and to make decisions based on the status information sent by the configuration calling module to generate corresponding control configuration information;

[0048] The configuration calling module is used to read the control configuration information from the control register file of the programmable control module, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information.

[0049] The programmable array processor control device of this embodiment can realize dynamic real-time reconstruction of the reconfigurable array and flexibly adjust the processing process of the reconfigurable array, thereby reducing reconstruction overhead.

[0050] In order to better understand the present invention, each module in this embodiment is described in detail below.

[0051] In this embodiment, the programmable control module works in a pipelined manner of a general-purpose processor. The control instruction is operated through a three-stage pipeline of instruction fetch, decoding, data fetch, and execution write-back. During the execution process, the read control configuration information can be switched. The switching address is determined by the configuration information itself according to the execution situation. The information can be executed sequentially or according to the address generated by the jump instruction, thereby realizing flexible task processing and meeting the demand for autonomous update of the reconfigurable array control configuration.

[0052] The programmable control module is provided with a control instruction memory in which control instructions are stored. The host can send the control instructions required by the programmable control module to the control instruction memory. At the same time, the programmable control module will read the control instructions from the control instruction memory after starting to work.

[0053] Specifically, the programmable control module includes an instruction fetch unit, a decoder fetch unit, and an execute write-back unit;

[0054] An instruction fetch unit, used for updating an instruction counter in a state machine manner, reading a control instruction from a control instruction memory based on the updated instruction counter, and sending the control instruction to a decoding and fetching unit;

[0055] A decoding and fetching unit is used to decode and parse the control instruction to generate an instruction status signal, and send the instruction status signal to the instruction fetching unit; or decode and parse the control instruction to generate an instruction control signal, and read the corresponding source operand from the control register file, and send the instruction control signal and the source operand to the execution write-back unit;

[0056] The execution write-back unit is used to receive the control signal and the corresponding source operand sent by the decoding and data acquisition module, operate on the source operand based on the control signal, and write the operation result back to the control register file.

[0057] See also Figure 1 , the programmable control module processes the control instructions as follows:

[0058] The instruction fetch unit accesses the control instruction storage, loads the corresponding control instruction from the control instruction storage, and then sends the loaded 32-bit control instruction (Ctrl_instr) to the decoding and fetching unit;

[0059] The decoding and fetching unit decodes and parses the 32-bit control instructions transmitted from the instruction fetching unit, and generates different types of control signals (opc_brch, opc_shift, opc_add, opc_sub, opc_alop, opc_immsela) according to the parsing results, and fetches the source operands to be executed from the control register file, and sends them to the execution write-back unit for calculation. At the same time, the decoding unit needs to feed back the control signals (is_confi, is_jump, is_brch) generated by the parsing to the instruction fetching unit during the parsing process.

[0060] The execution write-back unit receives the control signal and the corresponding source operand from the decoding and fetching unit, and then completes the relevant logical operations, shift operations and arithmetic operations according to the results of the decoding and parsing, and finally writes the result obtained after the calculation back to the control register file.

[0061] In this embodiment, the information included in the reconfigurable array information fed back is shown in Table 1, which is a definition table of the array information fed back. The programmable control module generates a control configuration by parsing the control instruction, and makes a decision based on the collected state information fed back by the reconfigurable array processor, thereby generating a control configuration in the current state. Specifically, by continuously reading and writing access to the control register file, and combining the collected state information fed back by the reconfigurable array processor (the fed back information is also written into the control register file), the real-time control configuration of the reconfigurable array is realized, so the control instruction needs to be configured to complete the corresponding operation. At the same time, the same task may generate different control configuration modes for different needs, so judgment and jump instructions are required to complete different control configuration modes. Table 2 is an instruction set table of the programmable control module. The instruction set of the programmable control module in this embodiment can be found in Table 2.

[0062] Table 1

[0063]

[0064] Table 2

[0065]

[0066]

[0067] Arithmetic operation shift instructions mainly complete some simple arithmetic shift operations, which can mainly realize: addition and subtraction operations, AND or NOT operations and shift operations. Configuration control instructions are composed of CON, CLE and CLEM instructions. The CON instruction mainly completes the configuration control of the configuration information sending. According to the different types of sending modes (Rrmode), different types of sending modes are selected. The CLE instruction mainly completes the configuration control of the collection of specific array information. According to the different collection types (Rcmode), different types of information are collected. The CLEM instruction mainly completes the configuration control of the information collection in the specific PE address in the array. According to the different collection addresses (Rcaddr), the information collection in different PE addresses is completed. Here, the collection address is the corresponding address information obtained by decoding and parsing the control instruction.

[0068] Figure 2 This is a programmable control module instruction encoding format diagram in one embodiment of the present application. Figure 2 Among them, (a) is a non-immediate instruction format, (b) is an immediate instruction format, and (c) is a configuration control instruction format. Figure 2 As shown, the instruction length is fixed at 32 bits, and the encoding format of fixed-length instructions is adopted, such as Figure 3The following is a diagram of the instruction encoding format of a programmable control module. In the 32-bit instruction, [31:26] represents the instruction opcode, which is used to distinguish the functions of all instructions, thereby generating corresponding control signals. In the immediate and non-immediate instructions, [25:21] represents the destination address RD field, and the result calculated by the execution unit can be written into the general register; [20:16] represents the source operand RS field, and the source operand comes from the general register; in the non-immediate instruction, [15:11] represents the general register RT, and in the immediate instruction, [15:0] represents the 16-bit immediate number. In the configuration control instruction format, [25:21] represents the type of configuration control, and the configuration control type is written into the control register. [20:16] represents the number of configuration controls that need to be configured. [15:11] represents the address information of the configuration control.

[0069] In this embodiment, the configuration calling module includes: a type selection unit, an instruction storage unit, and a data storage unit; the type selection unit is connected to the instruction storage unit and the data storage unit respectively, and the type selection unit is used to read the task configuration information that needs to be sent to the reconfigurable array from the corresponding instruction storage unit and the data storage unit according to the type of configuration information sent, the number of configuration information, and the address of the configuration information, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information; the task configuration information includes task instruction information and task data information;

[0070] The instruction storage unit is used to store the task instruction information required by the reconfigurable array, that is, the tasks that need to be processed during the execution of the array. The PE array is also composed of multiple PEs, and each PE completes the corresponding function of the array by processing instructions;

[0071] The data storage unit is used to store the task data information required by the reconfigurable array, that is, some parameter data during the array processing process.

[0072] Figure 1 In the embodiment, ack represents the feedback data information. Specifically, the feedback data information is as shown in Table 2. bus is the configuration bus for sending down the task configuration information. Specifically, the configuration information is the task configuration information required by the reconfigurable array read from IM and DM.

[0073] Embodiment 2

[0074] This embodiment provides a programmable array processor control device, and this embodiment describes in detail the structure of the programmable array processor control device based on the first embodiment. The device of this embodiment is described in detail below.

[0075] The programmable array processor control device of this embodiment includes: a programmable control module and a configuration calling module.

[0076] The programmable control module can configure different control information according to different tasks and changes in reconstruction requirements, and realize real-time control configuration of the reconfigurable array by executing different control instructions, including instruction fetch unit, decoding fetch unit, and execution write-back unit.

[0077] The instruction fetch unit mainly performs three functions: loading configuration instructions from the configuration memory, updating the value of the instruction counter (Program Counter, PC) in a state machine manner, and sending the loaded configuration instructions to the decoding and fetching stage.

[0078] Figure 3 FIG. 1 is a schematic diagram of the structure of an instruction fetch unit in another embodiment of the present application. Figure 3 As shown, the instruction fetch unit in this embodiment is mainly composed of a control instruction memory (CIM), a PC, and a PC update state machine (PC-FSM). During the execution of the control instruction, the instruction fetch unit first needs to access the control instruction memory, load the corresponding control instruction, and then send the loaded control instruction to the decoding unit. Table 3 is the interface definition and function description table of the instruction fetch unit. Figure 3 Please refer to Table 3 for the external interface definition and function description of the instruction fetch unit.

[0079] Table 3

[0080]

[0081]

[0082] PC is used to store the address of the current instruction to be executed. The main function of PC-FSM is to calculate the storage address of the next control instruction. In the process of accessing CIM, the access address needs to be continuously updated, that is, the PC value is updated. The PC value update is mainly achieved through the jump of PC-FSM.

[0083] Figure 4 This is a schematic diagram of a PC value update process in another embodiment of the present application. Figure 5 FIG. 1 is a schematic diagram of a PC-FSM state change in another embodiment of the present application, such as Figure 4 and Figure 5As shown, the PC update state machine starts in the initialization (INIT) state. When the control unit starts working, the state machine is updated to the normal working (NORM) state. There are 6 state changes in this state, and their priorities are from high to low: is_confi>is_reback>is_getback>is_jump>is_brch. Among them, is_confi is the control signal generated by the configuration instruction, which represents the array resource scheduling control signal and the configuration control signal respectively. When this type of signal is valid, the PC-FSM jumps to the configuration (CONFI) state. At this time, the PC value remains unchanged. Only when the end_flag signal is valid, the PC value continues to start updating. is_reback and is_getback are also control signals generated by the configuration instruction, which represent the specific address information collection signal and the specific execution information collection signal in the PE array respectively. When this type of signal is valid, the PC-FSM jumps to the collection (GET) state. At this time, the PC value is reduced by 1, and the PE array continues to collect information. Only when the reback_en signal is valid, the PC value continues to start updating. is_jump is a control signal generated by the jump instruction. When the signal is valid, the state machine jumps to the jump 0 (JMP0) state. At this time, the PC value is automatically generated by the configuration instruction according to the execution state. After staying in the current state for one clock cycle, it jumps to the next state jump 1 (JMP1) state, and then the PC value continues to update. is_brch is a control signal generated by the branch instruction. When the signal is valid, the state machine jumps to the branch 0 (BRN0) state. At this time, the PC value is related to whether a branch is generated. If a branch is generated, the PC value is equal to the jump address generated by the configuration instruction. Then it jumps to the branch 1 (BRN1) state, and the PC value continues to update. When the above 6 control signals are all invalid, the PC value is updated in the order of the control configuration instructions, and the latest PC value is used as the address to access the instruction memory, and the updated control configuration instruction is reloaded.

[0084] In this embodiment, the decoding and fetching unit is the second stage of the three-stage pipeline in the programmable control module.

[0085] Figure 6 FIG. 1 is a schematic diagram of a decoding and data acquisition unit structure in another embodiment of the present application. Figure 6As shown in the figure, the decoding and fetching unit mainly includes a decoder and a control register file. The main function of the decoder is to decode and parse the 32-bit control instructions transmitted from the instruction fetching stage, and fetch the source operands to be executed from the control register file. The control register file is used to store the source operation data, the calculation results processed by the execution write-back module, and the array information fed back by the reconfigurable array. In the process of decoding the control instructions, the decoder can divide the control instructions into three categories according to different decoding methods:

[0086] The first category is the decoding and parsing of configuration instructions. When the configuration instructions are decoded, the results do not need to be transmitted to the execution write-back level. When the 6-bit flag of the instruction is identified as 6'b010001, 6'b010010, 6'b010011 or 6'b010100, it is a configuration instruction. At the same time, the decoding unit needs to feed back the instruction status signal is_confi, is_reback or is_getback generated by the analysis to the instruction fetching level during the parsing process. After the instruction fetching level receives the is_confi, is_reback or is_getback signal, the PC value stops updating. When the configuration end signal end_flag or reback_en is valid, the PC value is updated again for subsequent operations.

[0087] The second category is the decoding and parsing of instructions such as branches and jumps. These instructions are non-sequential execution instructions. During the parsing process, the decoding unit needs to feed back the control signals such as is_jump and is_brch generated by the parsing to the instruction fetching stage, and also needs to feed back the generated jump address signal ctrl_jcbpc to the instruction fetching stage. After receiving valid signals such as is_jump and is_brch, the instruction fetching stage updates the PC value, and uses ctrl_jcbpc as the address of the instruction jump, and loads the corresponding instructions from the CIM for subsequent related operations. At the same time, the opc_brch signal generated by the parsing is sent to the execution write-back unit. When the execution write-back unit receives the opc_brch signal, it makes a judgment decision on the two source operands (whether a jump needs to be executed).

[0088] The third category is the decoding and parsing of instructions such as arithmetic operations and shift instructions. The execution process of such instructions is executed sequentially. After the parsing is completed, the decoding unit does not need to feed back the parsing results to the instruction fetch stage, but directly transmits the parsing results to the execution write-back stage and the control register file. The control register file can only retrieve the corresponding source operand after receiving the execution control signal generated by the decoding and parsing.

[0089] In the decoding and parsing process, it is necessary to obtain the source operands required for instruction calculation. Since the source operands only exist in the register file of the control unit, the decoding and fetching unit not only completes the decoding and parsing process of the instruction, but also fetches the required source operands from the register file and sends them to the execution level. Table 4 shows the interface definition and function description of the decoding and fetching unit. Figure 6 Please refer to Table 4 for the external interface definition and function description of the decoding and data acquisition unit.

[0090] Table 4

[0091]

[0092]

[0093] Figure 6 The interface between the decoder and the control register file includes rd_num, rt_num, rs_num, and opc_num, which are described below.

[0094] rd_num: the number of the destination register, that is, to write the calculation result back to a register in the control register file;

[0095] rt_num: used to indicate the number of the source register (one of the two source operands), that is, to take the source operand from a register in the control register file;

[0096] rs_num: used to indicate the number of the source register (one of the two source operands), that is, to take the source operand from a register in the control register file;

[0097] opc_num: The decoded instruction flag. The control register file determines the type of instruction currently being executed based on this flag.

[0098] In this embodiment, the execution write-back unit is at the last stage of the three-stage pipeline. It mainly receives the control signal from the decoding and fetching stage and the corresponding source operand, and then completes the relevant logical operation, shift operation and arithmetic operation according to the result of decoding and parsing, and finally writes the result obtained after the calculation back to the control register file. Figure 7 This is a schematic diagram of the structure of the write-back execution unit in another embodiment of the present application. Figure 7 In the figure, MUX is a multiplexer, which is used to select the corresponding source operands and control signals according to the results of decoding and parsing, ensuring that the correct source operation data is sent to ALU. ALU is an arithmetic and logical unit (Arithmetic & logical Unit), which is used to implement logical operations, shift operations and arithmetic operations. Figure 7For the definition and function description of each interface of the write-back unit, please refer to Table 5. Table 5 is the definition and function description table of the write-back unit interface.

[0099] Table 5

[0100]

[0101] Since the source operand may be the source operand rt taken from the register file or a 16-bit immediate number, the opc_immsel signal transmitted from the decoder fetch stage is used to select the immediate number and the register number. At the same time, the jump judgment is also performed at the execution write-back stage. By performing jump judgment on the data in the two registers, a br_taken signal is generated and transmitted to the instruction fetch stage, thereby realizing the execution of the jump instruction.

[0102] Figure 8 This is a schematic diagram of the configuration calling module structure in another embodiment of the present application, such as Figure 8 As shown, the configuration calling module first obtains the corresponding control configuration information at the current moment by reading the information of the control register file in the programmable control module. Specifically, according to the type register (rmode) issued, the type of configuration information to be issued is selected by type, whether it is instruction or data, and the task configuration information required by the reconfigurable array is read from the corresponding instruction storage (IM) and data storage (DM) to form a configuration bus bus, which is issued to the reconfigurable array. Here, the control configuration information determines what kind of control operation the array performs in the current state. The task configuration information is stored when the IM and DM are initialized, and is the task information required by the reconfigurable array. The controller sends the task configuration information to the corresponding PE through the control configuration, so that the PE can execute the corresponding task. Figure 8 The two MUXs are data selectors, one of which is used to select the task configuration information required by the reconfigurable array read from IM or DM according to the type of the current control configuration and send it to the reconfigurable array processor. The other is used to send the array data information fed back by the array to the type selection unit and the control register file. Table 6 is the interface definition and function description table of the configuration call module.

[0103] Table 6

[0104]

[0105]

[0106] It should be noted that, in the claims, any reference signs placed between parentheses shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention can be implemented by means of hardware comprising several distinct components, and by means of a suitably programmed computer.

[0107] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.

[0108] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.

[0109] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.

Claims

1. A programmable array processor control device, characterized in that: The device comprises: a programmable control module, and a configuration calling module respectively connected to the programmable control module and the reconfigurable array processor; The configuration calling module is used to receive the state information of the current array execution fed back by the reconfigurable array processor, and send the state information to the programmable control module; The programmable control module is used to generate control configuration by parsing control instructions, and to make decisions based on the status information sent by the configuration calling module to generate corresponding control configuration information; The configuration calling module is used to read the control configuration information from the control register file of the programmable control module, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information; The programmable control module includes an instruction fetch unit, a decoding and data fetch unit, and an execution and write-back unit; The instruction fetch unit is used to update the instruction counter in a state machine manner, read the control instruction from the control instruction memory based on the updated instruction counter, and send the control instruction to the decoding and fetching unit; The decoding and fetching unit is used to decode and parse the control instruction to generate an instruction status signal, and send the instruction status signal to the instruction fetching unit; or decode and parse the control instruction to generate an instruction control signal, and read the corresponding source operand from the control register file, and send the instruction control signal and the source operand to the execution write-back unit; The execution write-back unit is used to receive the control signal sent by the decoding and data acquisition module and the corresponding source operand, perform operation on the source operand based on the control signal, and write the operation result back to the control register; The instruction fetch unit includes a control instruction memory, an instruction counter, a PC update state machine and a multiplexer; The instruction counter is used to store the storage address of the control instruction currently to be accessed; The control instruction memory is used to store a set of control instructions, extract a control instruction according to a storage address in the instruction counter, and send the control instruction to the multiplexer; The PC update state machine is used to receive the instruction state signal sent by the decoding and fetching unit, calculate the address of the next control instruction according to the instruction state signal, and update the value of the instruction counter; The multiplexer is used to send the control instruction to the decoding and data acquisition unit; The decoding and data acquisition unit includes a decoder and a control register file; The decoder is used to decode and parse the control instruction sent by the instruction fetch unit, transmit the execution control signal obtained by the analysis to the execution write-back unit and the control register file, and fetch the source operand required by the operation instruction from the control register file and transmit it to the execution write-back unit, and at the same time generate the instruction status signal and send it to the instruction fetch unit for judging the jump of the PC status; The control register file is used to store source operands and store data written back after the execution write-back unit completes processing; The execution write-back unit includes an arithmetic logic unit; The arithmetic logic unit is used to receive the execution control signal sent by the decoding and fetching unit and the corresponding source operand, perform calculation according to the execution control signal, and write the calculation result back to the control register file; The arithmetic logic unit is also used to perform jump judgment on the two source operands read from the control register file, and generate a jump signal to transmit to the instruction fetch unit.

2. The programmable array processor control device according to claim 1, characterized in that: The configuration calling module reads the control configuration information in real time, wherein the control configuration information includes the configuration information type, the number of configuration information and the configuration information address; the configuration calling module sends the state information fed back by the array to the programmable control module in real time.

3. The programmable array processor control device according to claim 2, characterized in that: The configuration calling module includes: a type selection unit, an instruction storage unit, and a data storage unit; The type selection unit is connected to the instruction storage unit and the data storage unit respectively, and is used to read the task configuration information that needs to be sent to the reconfigurable array from the corresponding instruction storage unit and the data storage unit according to the type of configuration information sent, the address of the configuration information and the number of configuration information, and send the pre-stored task configuration information to the reconfigurable array processor according to the address information in the control configuration information; the task configuration information includes task instruction information and task data information; The instruction storage unit is used to store the task instruction information required by the reconfigurable array processor; The data storage unit is used to store the task data information required by the reconfigurable array processor.