FPGA (Field Programmable Gate Array) calculation design and scheduling method for underwater compact platform

By adopting computing task modeling and asynchronous concurrent scheduling methods on an underwater compact platform, dynamic resource scheduling and cache dependency management of computing tasks on FPGA are realized, solving the problems of fixed functions and resource waste in traditional methods, and improving computing efficiency. Resource utilization and development efficiency.

CN118550665APending Publication Date: 2024-08-27THE 715TH RES INST OF CHINA SHIPBUILDING IND CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410591133.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-13
Publication Date
2024-08-27

AI Technical Summary

Technical Problem

Traditional FPGA underwater acoustic signal processing methods have problems such as fixed functions, low iteration efficiency, and inability to implement dynamic resource scheduling and cache dependency management of computing tasks on underwater compact platforms, resulting in a waste of computing power, energy consumption, and space.

Method used

Using computing task modeling and asynchronous concurrent scheduling methods, through the sub-module design of the processor side and programmable side, the control bus and data bus are used to dynamically allocate and schedule computing IP resources to achieve asynchronous concurrent execution and avoid cache conflicts.

Benefits of technology

It improves the utilization of FPGA computing resources, reduces system computing power consumption, improves development efficiency, ensures the accuracy of calculation results, and supports a signal processing computing resource pool composed of multiple FPGAs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118550665A
    Figure CN118550665A
Patent Text Reader

Abstract

The invention discloses an FPGA (Field Programmable Gate Array) calculation design and scheduling method of an underwater compact platform, which can dynamically allocate IP (Instrument Platform) resource for an underwater acoustic signal processing calculation task arriving in real time on a single FPGA through an asynchronous concurrent scheduling method, and can asynchronously execute a plurality of calculation tasks, thereby improving the throughput of the underwater acoustic signal processing calculation task of the single FPGA and improving the reliability of the underwater acoustic signal processing calculation task. And a resource scheduling capability is possessed. According to the method, the correctness of the overall asynchronous calculation result of the calculation tasks is ensured through cache dependency and calculation sequence dependency, the calculation resource utilization rate of the underwater unmanned platform FPGA is improved by asynchronously and concurrently executing the multiple calculation tasks, the FPGA chip number requirement is reduced, and the system power consumption is reduced. When a new underwater acoustic signal processing calculation requirement appears, the FPGA does not need to be redeveloped, only the calculation task list needs to be redefined, and the development efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of underwater operations and relates to an FPGA calculation design and scheduling method for an underwater compact platform. Background Art

[0002] The development and exploration of the ocean field is currently a hot topic. In order to better observe the ocean environment, more and more underwater unmanned platforms are designed to perform tasks in harsh ocean environments, such as seabed imaging, multi-beam scanning, passive environmental noise detection, etc. These tasks involve signal processing that usually requires a lot of computing power, but the size of underwater unmanned platforms is limited, resulting in limited energy carried. They cannot directly use high-computing-power but high-power GPUs, and can only carry compact computing platforms. Therefore, low-power FPGAs are usually used to complete underwater acoustic signal processing calculations in order to maximize the endurance of underwater platforms.

[0003] Traditional FPGA-based underwater acoustic signal processing development can only complete specific calculations on each FPGA. Once the signal processing algorithm on the FPGA is designed and developed, the modification of the algorithm requires resetting the entire FPGA development process. The function iteration efficiency is low, and it cannot quickly respond to the needs of rapid updates of underwater acoustic signal processing, let alone the needs of real-time resource scheduling of computing tasks. For example, when some detection functions of underwater platforms are turned off, the traditional underwater acoustic FPGA signal processing method cannot complete the dynamic resource scheduling of different algorithms between FPGAs due to the fixed functions of each FPGA, leaving the FPGA in an idle state, resulting in a waste of computing power, energy consumption and space.

[0004] The current conventional technical solutions include:

[0005] A. Scheduling schemes in the field of distributed computing: Computational scheduling between multiple nodes uses software functional modules as the basic scheduling unit, and each node uses CPU or GPU as the basic computing unit. Each functional module occupies the CPU or GPU unit on demand during operation. Each module has an independent logical cache memory space, and there is no direct cache memory dependency between each other. Sequential dependencies are connected to each other using functional interfaces. They are usually used in data centers and are suitable for high-performance computing, large-scale AI training and reasoning, and big data processing. Disadvantages of scheduling schemes in the field of distributed computing: It is only applicable to the operation of software modules, and there is no need to consider the impact of cache memory dependencies between software on the correctness of each software itself. However, scheduling in FPGA-based underwater acoustic signal processing is based on IP resources or single computing tasks. Cache memory dependencies or conflicts between tasks need to be considered. In addition, the power consumption of CPUs and GPUs in the field of distributed computing is relatively high, and their application on underwater compact platforms is limited.

[0006] B. Multi-computing function FPGA solution: pre-install multiple computing functions on one FPGA, and selectively run a certain function as needed. It is suitable for scenarios with relatively simple functions, sensitive volume, and low performance requirements. Disadvantages of the multi-computing function FPGA solution: Due to the limited FPGA logic resources, in order to integrate multiple functions on a single FPGA, the resources of each function are greatly limited, resulting in performance that cannot meet the application requirements of underwater acoustic detection. The design complexity of the FPGA also increases exponentially, and when some algorithm functions are idle, the programmable logic resources occupied by some algorithms cannot be directly released to provide computing power for the remaining algorithm functions, resulting in a waste of space and energy consumption for underwater compact platforms.

[0007] C. Multi-chip FPGA solution: Multiple FPGAs with different functions are used to form a computing system. Each FPGA performs a specific function. It is suitable for scenarios with simple functions, insensitive to volume and power consumption, and high performance requirements. Disadvantages of the multi-chip FPGA solution: It is impossible to achieve fast dynamic resource scheduling. When an algorithm consists of multiple functions, data interaction between FPGAs is extremely difficult. The overall system design is more complex and the volume is larger, so it cannot be installed on a compact platform with limited volume. Summary of the invention

[0008] In order to solve the defects and shortcomings existing in the above-mentioned prior art, the present invention provides a method for allowing dynamic loading / arrival of computing tasks, and dynamically allocating computing IP resources for underwater acoustic signal processing computing tasks arriving in real time on a single FPGA, thereby improving the utilization rate of FPGA computing resources on an underwater compact platform; while fully utilizing computing resources to concurrently execute computing tasks, it is also necessary to ensure the cache dependency between the calculation order and the steps, and ensure the correctness of the calculation results.

[0009] The technical solution of the present invention is as follows: an FPGA computing design and scheduling method for an underwater compact platform, including computing task modeling and computing asynchronous concurrent scheduling method;

[0010] FPGA is divided into two modules and two types of buses. The modules are the processor side and the programmable side. The buses are the control bus and the data bus. The computing IP resources are located on the programmable side. All computing tasks are scheduled by the processor side and each computing IP resource is controlled through the control bus. Each computing IP can calculate and process the corresponding data on the data bus according to the cache address.

[0011] The computational task modeling defines the input / output cache model and resource requirements, implements the modeling of the underwater acoustic signal processing computational task, and defines the computational process through the sequentially executed task list Γ;

[0012] Computational asynchronous concurrent scheduling performs real-time dependency checking and computational scheduling for computing tasks in FPGA. It implements asynchronous concurrent scheduling and concurrent execution through the cache dependency matrix while avoiding cache conflicts. It avoids execution result errors through the sequential dependency of the task list Γ, ensuring the efficiency and correctness of the computing process.

[0013] Preferably, the specific steps of calculating the asynchronous concurrent scheduling method are as follows:

[0014] Step 1. Initialize the task list Γ and the calculation list Λ to be empty;

[0015] Step 2: Add the N computing tasks to be executed to the task list Γ = {T0, T1, ..., T N-1} forms a sequential dependency, then the cache collection constructed by the input cache and output cache lists of all computing tasks is

[0016]

[0017] in

[0018]

[0019] Step 3. Check the next computing task in the task list Γ in order. If both the task list Γ and the computing list Λ are empty, it means that all computing tasks have been completed, and go to step 7. If only the task list Γ is empty, go directly to step 5. If the traversal has been completed, start checking the computing tasks from the beginning to the end again.

[0020] Step 4.1 When the task list Γ is not empty, update the cache dependency matrix; each time the task list is traversed again, initialize the cache dependency matrix G0 on the processor side to ||Θ|| all 0s, otherwise the processor side updates the cache dependency matrix G i|i-1 =G i-1 , where ||Θ|| represents the modulus of Θ;

[0021] Step 4.2 If the i-th task T i If it has not been executed yet, the cache dependency check is performed. The specific formula is:

[0022]

[0023]

[0024] If d (in) =d (out) = 0, indicating that the input buffer of the current computing task has not been used as the output of other executed tasks, and the output buffer of the current computing task has not been used as the input of other executed tasks; if d (in) or (out) is 1, it means that other computing tasks will change the value in the current cache, so the calculation is not performed and the process returns to step 3;

[0025] Step 4.3 Processor-side query ρ i Idle computing IP resources on the programmable side involved in i,* The corresponding v * Is it greater than 0? If it is greater than 0, the task T will be calculated. i Add to the calculation list Λ, notify the corresponding calculation IP resource to start the calculation, and i,* The corresponding computing IP resource available number v * Execute v * =v * -1; if it is less than 0, it means there are no available idle resources, and return to step 3;

[0026] Step 4.4 The processor will i The input and output buffer {α i , β i}Update to dependency matrix G i The specific method is as follows

[0027]

[0028]

[0029] After the update is completed, continue to traverse the task list Γ and return to step 3;

[0030] Step 5. The processor traverses the calculation list Λ to check whether there are any completed calculation tasks. If there are any completed calculation tasks T in the calculation list i After the calculation is completed, T i Medium i,* The corresponding computing IP resource available number v * Execute v * =v * +1, and calculate the task T i Remove from the task list Γ and calculation list Λ; if the calculation is not completed, proceed to the next step;

[0031] Step 6. Check whether there is a new computing task. If there is a new computing task, re-execute step 2, otherwise return to step 3;

[0032] Step 7. Release the processor side to release the processing side resources occupied by the cache dependency matrix, task list and calculation list.

[0033] Preferably, the method can significantly reduce the storage space occupied by the dependency matrix G through a hash table, from O(N 2 ) is reduced to O(N) as follows:

[0034] In step 4.1, when initializing, change the initialization dependency matrix to initialization input hash table h (in) [*] and output hash table h (out) [*], when inherited, the formula becomes

[0035]

[0036]

[0037] When performing step 4.2, the dependency check formula becomes

[0038]

[0039]

[0040] The dependency matrix update formula in step 4.4 becomes

[0041]

[0042] Preferably, the computing task is implemented by the following method: the i-th computing task T i ={α i , β i , ρ i} by input cache list Output Cache List and operator resource requirements Composition, where n i 、m i and p i Respectively represent the input buffer quantity, output buffer quantity and resource requirement quantity of the i-th computing task; a * 、b * and r * Indicates the specific input cache, output cache, and computing IP resource types. * indicates any value. * 、b * Contains the address and size of the cache on the data bus. The processor sends the computing task information to be executed to each computing IP through the control bus; * ∈Υ,γ={v0,...,v Nr} is the set of all computing IP resource types, Nr is the total number of resource types, v * Represents the available number of each type of computing IP resources. The computing IP resources here are common computing IPs for underwater acoustic signal processing; define the cache dependency matrix When G i An element within When η is the execution time of the i-th computing task j The corresponding cache is ηk The corresponding cache input dependency, that is, η j After a certain computing task, it will affect η k The value in .

[0043] Preferably, a certain underwater acoustic detection function containing a total of 4 computing tasks is scheduled, and the computing task list is Γ={MUL0, FFT0, BF, MUL1, FFT1}, involving vector element multiplication (MUL), fast Fourier transform (FFT), beamforming (BF) and other underwater acoustic signal processing computing IP resources. The execution order of each task is related to the input and output cache. Tasks MUL0, MUL1, and FFT0 have no dependency on the order and cache. When the number of computing IPs is sufficient, they can be executed concurrently. When the number of computing IPs is sufficient, the time consumption is less than 2.1ms. When there is only one computing IP of each type, The time consumption is less than 2.2ms. When IP resources are sufficient, MUL0, MUL1, and FFT0 are started at the same time. After FFT is completed, BF and FFT1 are executed in sequence and can be executed concurrently with MUL1, which improves the overall computing resource utilization efficiency and reduces the total computing time while avoiding cache conflicts. When there is only one computing IP of each type, MUL0 and MUL1 need to use the same IP resources. Therefore, even if MUL1 has no dependency on the cache of other calculations, it will wait for MUL0 to be completed before starting to execute, avoiding competition for computing IP between computing tasks.

[0044] The beneficial effects of the present invention are as follows:

[0045] 1. By asynchronously and concurrently executing multiple underwater acoustic signal processing computing tasks that meet the operation requirements on the FPGA, the computing resource utilization rate of the underwater compact platform FPGA is improved and the system computing power consumption is reduced;

[0046] 2. When new underwater acoustic signal processing requirements arise, there is no need to redevelop the FPGA, only the calculation task list needs to be redefined, which improves system development efficiency;

[0047] 3. It can automatically avoid cache conflicts and IP resource competition during runtime, ensuring the correctness of asynchronous concurrent computing results;

[0048] 4. It can run on multiple FPGAs at the same time, and multiple FPGAs can be combined into an underwater signal processing computing resource pool. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 It is a framework diagram of the present invention;

[0050] Figure 2 is an application flow chart of the present invention; Figure 3 A schematic diagram of an application case of Embodiment 3 of the present invention; Figure 4 This is a schematic diagram of the application effect of Example 3 of the present invention. DETAILED DESCRIPTION

[0051] The present invention is further described in detail below through specific examples. It should be understood that the specific examples described herein are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0052] Embodiment 1:

[0053] The present invention provides an asynchronous concurrent scheduling method for FPGA calculation of underwater acoustic signal processing, and its architecture diagram is as follows: Figure 1 As shown. In this embodiment, the computing asynchronous concurrent scheduling module is located at the processor end, and the computing IP resource is located at the programmable end. The processor end and the programmable end are connected through a control bus, and the programmable end is connected to the cache through a data bus. The processor end can be either an on-chip hard core or soft core, or an off-chip CPU. All computing asynchronous concurrent scheduling is executed by the processor end and each computing IP resource is controlled through the control bus. Each computing IP can calculate and process the corresponding data on the data bus according to the cache address.

[0054] The computing task enters the task list of the asynchronous concurrent scheduling module of the processor end through the network or other buses, and the task can arrive at the present invention dynamically in real time. The scheduling steps are as follows: Figure 2 As shown, the process is as follows:

[0055] Step 1. Initialize the task list Γ and the calculation list Λ to be empty;

[0056] Step 2: Add the N computing tasks to be executed to the task list Γ = {T0, T1, ..., T N-1} forms a sequential dependency, then the cache collection constructed by the input cache and output cache lists of all computing tasks is

[0057]

[0058] in

[0059]

[0060] Step 3. Check the next computing task in the task list Γ in order. If both the task list Γ and the computing list Λ are empty, it means that all computing tasks have been completed, and go to step 7. If only the task list Γ is empty, go directly to step 5. If the traversal has been completed, start checking the computing tasks from the beginning to the end again.

[0061] Step 4.1 When the task list Γ is not empty, update the cache dependency matrix. Each time you restart the task list, initialize the cache dependency matrix G0 on the processor side to ||Θ|| all 0s, otherwise the processor side inherits the cache dependency matrix G0 of the previous cycle. i|i-1 =G i-1 ;

[0062] Step 4.2 If the i-th task T i If it has not been executed yet, the cache dependency check is performed. The specific formula is:

[0063]

[0064]

[0065] If d (in) =d (out) = 0, indicating that the input buffer of the current computing task has not been used as the output of other executed tasks, and the output buffer of the current computing task has not been used as the input of other executed tasks; if d (in) or (out) If any of them is 1, it means that other computing tasks will change the value in the current cache, so the calculation is not performed and the process returns to step 3.

[0066] Step 4.3 Processor-side query ρ i Idle computing IP resources on the programmable side involved in i,* Is it greater than 0? If it is greater than 0, the task T will be calculated. i Add to the calculation list Λ, notify the corresponding calculation IP resource to start the calculation, and i,* The corresponding computing IP resource available number v * Execute v * =v * -1; if it is less than 0, it means there are no available idle resources, and return to step 3;

[0067] Step 4.4 The processor will i The input and output buffer {α i , β i}Update to dependency matrix G i The specific method is as follows

[0068]

[0069]

[0070] After the update is completed, continue to traverse the task list Γ and return to step 3;

[0071] Step 5. The processor traverses the calculation list Λ to check whether there are any completed calculation tasks. If there are any completed calculation tasks T in the calculation listi After the calculation is completed, T i Medium i,* The corresponding computing IP resource available number v * Execute v * =v * +1, and calculate the task T i Remove from the task list Γ and calculation list Λ; if the calculation is not completed, proceed to the next step;

[0072] Step 6. If a new computing task arrives, re-execute step 2, otherwise return to step 3;

[0073] Step 7. Release the processor side to release the processing side resources occupied by the cache dependency matrix, task list and calculation list.

[0074] Embodiment 2:

[0075] This embodiment can significantly reduce the storage space occupied by the dependency matrix G through a hash table, from O(N 2 ) is reduced to O(N) as follows:

[0076] In step 4.1, when initializing, change the initialization dependency matrix to initialization input hash table h (in) [*] and output hash table h (out )[*], when inherited, the formula becomes

[0077]

[0078]

[0079] When performing step 4.2, the dependency check formula becomes

[0080]

[0081]

[0082] The dependency matrix update formula in step 4.4 becomes

[0083]

[0084] Embodiment 3:

[0085] In this embodiment, a certain underwater acoustic detection function with a total of 4 computing tasks is scheduled. The computing task list is Γ = {MUL0, FFT0, BF, MUL1, FFT1}, involving underwater acoustic signal processing computing IP resources such as vector element multiplication (MUL), fast Fourier transform (FFT), and beamforming (BF). The execution order of each task is similar to the input and output buffers. Figure 3When serial execution is adopted without adopting this embodiment, the total time consumption is not less than 4.3 ms.

[0086] Obviously, tasks MUL0, MUL1, and FFT0 have no dependencies on order and cache, and can be executed concurrently if there are enough computing IPs. Therefore, when this embodiment is used, the time consumption is less than 2.1ms when there are enough computing IPs, and less than 2.2ms when there is only one computing IP of each type. Figure 4 When IP resources are sufficient, MUL0, MUL1, and FFT0 are started at the same time. After FFT is completed, BF and FFT1 are executed in sequence and can be executed concurrently with MUL1, which improves the overall computing resource utilization efficiency while avoiding cache conflicts and reduces the total computing time. When there is only one computing IP of each type, MUL0 and MUL1 need to use the same IP resources. Therefore, even if MUL1 has no dependency on the cache of other calculations, it will wait for MUL0 to be completed before starting to execute, avoiding competition for computing IPs between computing tasks.

[0087] Some names in the present invention are explained as follows:

[0088] Asynchronous scheduling: The execution of tasks is assigned to different computing units, allowing some tasks to execute other tasks while waiting for certain operations, which can improve the efficiency and response speed of the system;

[0089] Computing task modeling: By modeling and defining computing tasks, it is easy to implement asynchronous concurrent scheduling methods for computing;

[0090] FPGA computing IP resources: refers to predefined FPGA hardware modules specifically used to perform specific computing tasks. The underwater acoustic signal processing computing IP resources in the present invention refer to predefined FPGA hardware modules used to perform specific underwater acoustic signal processing, such as vector-vector multiplication (MUL), fast Fourier transform (FFT), beamforming (BF), etc. Usually, one IP can only perform a single computing task.

[0091] Underwater unmanned platforms: Common ones include underwater unmanned vehicles, wave gliders, underwater gliders, underwater bottom platforms, etc.;

[0092] Underwater compact platform: Smaller computing equipment / system for underwater acoustic computing;

[0093] GPU: Graphics processor, with high computing efficiency but also high power consumption.

[0094] The present invention can simultaneously execute multiple underwater acoustic signal processing computing tasks that meet the operation requirements on a single FPGA through an asynchronous concurrent scheduling method, supports dynamic loading / arrival of computing tasks, improves the computing resource utilization of the underwater compact platform FPGA, and reduces system power consumption. When new computing requirements for underwater acoustic signal processing arise, there is no need to redevelop the FPGA, only to redefine the computing task list.

[0095] In the present invention, the asynchronous concurrent scheduling of calculation performs real-time cache dependency checking and calculation scheduling for each computing task in the task list Γ, avoids cache conflicts caused by scheduling through the cache dependency matrix, and avoids result errors caused by asynchronous concurrent execution through the sequential dependency of the task list Γ, thereby ensuring the correctness of the overall calculation process.

[0096] The above description of the specific embodiments is only used to help understand and apply the present invention, and is not intended to limit the scope of the present invention. It should be noted that those skilled in the art can make various modifications to the embodiments without departing from the principles of the present invention. Therefore, the present invention is not limited to these embodiments in this application. The modifications and improvements made to the present invention by those skilled in the art based on the disclosure of the present invention should be within the scope of protection required by the present invention.

Claims

1. An FPGA computing design and scheduling method for an underwater compact platform, characterized in that: Including computing task modeling and computing asynchronous concurrent scheduling methods; FPGA is divided into two modules and two types of buses. The modules are the processor side and the programmable side. The buses are the control bus and the data bus. The computing IP resources are located on the programmable side. All computing tasks are scheduled by the processor side and each computing IP resource is controlled through the control bus. Each computing IP can calculate and process the corresponding data on the data bus according to the cache address. The computational task modeling defines the input / output cache model and resource requirements, implements the modeling of the underwater acoustic signal processing computational task, and defines the computational process through the sequentially executed task list Γ; Computational asynchronous concurrent scheduling performs real-time dependency checking and computational scheduling for computing tasks in FPGA. It implements asynchronous concurrent scheduling and concurrent execution through the cache dependency matrix while avoiding cache conflicts. It avoids execution result errors through the sequential dependency of the task list Γ, ensuring the efficiency and correctness of the computing process.

2. The FPGA computing design and scheduling method for an underwater compact platform according to claim 1, characterized in that: The specific steps of calculating the asynchronous concurrent scheduling method are as follows: Step 1. Initialize the task list Γ and the calculation list Λ to be empty; Step 2: Add the N computing tasks to be executed to the task list Γ = {T0, T1, ..., T N-1 } forms a sequential dependency, then the cache collection constructed by the input cache and output cache lists of all computing tasks is in Step 3. Check the next computing task in the task list Γ in order. If both the task list Γ and the computing list Λ are empty, it means that all computing tasks have been completed, and go to step 7. If only the task list Γ is empty, go directly to step 5. If the traversal has been completed, start checking the computing tasks from the beginning to the end again. Step 4.1 When the task list Γ is not empty, update the cache dependency matrix; each time the task list is traversed again, initialize the cache dependency matrix G0 on the processor side to ||Θ|| all 0s, otherwise the processor side updates the cache dependency matrix G i|i-1 =G i-1 , where ||Θ|| represents the modulus of Θ; Step 4.2 If the i-th task T i If it has not been executed yet, the cache dependency check is performed. The specific formula is: If d (in) =d (out) = 0, indicating that the input buffer of the current computing task has not been used as the output of other executed tasks, and the output buffer of the current computing task has not been used as the input of other executed tasks; if d (in) or (out) If any of them is 1, it means that other computing tasks will change the value in the current cache, so the calculation is not performed and the process returns to step 3. Step 4.3 Processor-side query ρ i Idle computing IP resources on the programmable side involved in i,* The corresponding v * Is it greater than 0? If it is greater than 0, the task T will be calculated. i Add to the calculation list Λ, notify the corresponding calculation IP resource to start the calculation, and i,* The corresponding computing IP resource available number v * Execute v * =v * -1; if it is less than 0, it means there are no available idle resources, and return to step 3; Step 4.4 The processor will i The input and output buffer {α i , β i }Update to dependency matrix G i The specific method is as follows After the update is completed, continue to traverse the task list Γ and return to step 3; Step 5. The processor traverses the calculation list Λ to check whether there are any completed calculation tasks. If there are any completed calculation tasks T in the calculation list i After the calculation is completed, T i Medium i,* The corresponding computing IP resource available number v * Execute v * =v * +1, and calculate the task T i Remove from the task list Γ and calculation list Λ; if the calculation is not completed, proceed to the next step; Step 6. Check whether there is a new computing task. If there is a new computing task, re-execute step 2, otherwise return to step 3; Step 7. Release the processor side to release the processing side resources occupied by the cache dependency matrix, task list and calculation list.

3. The FPGA computing design and scheduling method for an underwater compact platform according to claim 2, characterized in that: This method can significantly reduce the storage space occupied by the dependency matrix G through the hash table, from O(N 2 ) is reduced to O(N) as follows: In step 4.1, when initializing, change the initialization dependency matrix to initialization input hash table h (in) [*] and output hash table h (out) [*], when inherited, the formula becomes When performing step 4.2, the dependency check formula becomes The dependency matrix update formula in step 4.4 becomes 4. The FPGA computing design and scheduling method for an underwater compact platform according to claim 2, characterized in that: The computing task is implemented by the following method: The i-th computing task T i ={α i , β i , ρ i } by input cache list Output Cache List and operator resource requirements Composition, where n i 、m i and p i Respectively represent the input buffer quantity, output buffer quantity and resource requirement quantity of the i-th computing task; a * , b * and r * Indicates the specific input cache, output cache, and computing IP resource types. * indicates any value. * , b * Contains the address and size of the cache on the data bus. The processor sends the computing task information to be executed to each computing IP through the control bus; * ∈γ,γ={v0,...,v Nr } is the set of all computing IP resource types, Nr is the total number of resource types, v * Represents the available number of each type of computing IP resources. The computing IP resources here are common computing IPs for underwater acoustic signal processing; define the cache dependency matrix When G i An element within When η is the execution time of the i-th computing task j The corresponding cache is η k The corresponding cache input dependency, that is, η j After a certain computing task, it will affect η k The value in .

5. The FPGA computing design and scheduling method for an underwater compact platform according to claim 2, characterized in that: A certain underwater acoustic detection function with a total of 4 computing tasks is scheduled. The computing task list is Γ = {MUL0, FFT0, BF, MUL1, FFT1}, involving underwater acoustic signal processing computing IP resources such as vector element multiplication (MUL), fast Fourier transform (FFT), and beamforming (BF). The execution order of each task is related to the input and output cache. Tasks MUL0, MUL1, and FFT0 have no dependency on the order and cache. When the number of computing IPs is sufficient, they can be executed concurrently. When the number of computing IPs is sufficient, the time consumption is less than 2.1ms. When there is only one computing IP of each type, The time consumption is less than 2.2ms. When IP resources are sufficient, MUL0, MUL1, and FFT0 are started at the same time. After FFT is completed, BF and FFT1 are executed in sequence and can be executed concurrently with MUL1, which improves the overall computing resource utilization efficiency while avoiding cache conflicts and reduces the total computing time. When there is only one IP of each type of calculation, MUL0 and MUL1 need to use the same IP resources. Therefore, even if MUL1 has no dependency on the cache of other calculations, it will wait for MUL0 to be completed before starting to execute, avoiding competition for computing IP between computing tasks.