The invention discloses a VTA acceleration core
software and hardware collaborative tuning method and
system, and the method comprises the steps: initializing a hardware design parameter of a multifunctional
tensor accelerator to be a default minimum value, and reading a
resource utilization rate of an EDA comprehensive report; hardware parameters are dynamically adjusted under the condition that hardware design constraint conditions are met, and the FPGA
resource utilization rate is maximized; a
tensor shape of a neural network operator is converted according to hardware parameters, and a VTA calculation unit is adapted; analyzing
software parameters, and calculating buffer area requirements; verifying the legality of the
software parameter according to the buffer area requirement, and judging the software parameter as an illegal software parameter when the buffer area requirement does not meet a set condition; illegal software parameters are triggered to be regenerated, and optimization interruption caused by resource out-of-limit is avoided; a multifunctional
tensor accelerator drive program is recompiled for legal hardware parameters; and iteratively executing until the collaborative optimization of the software and hardware parameters reaches the standard. Through a double closed-loop mechanism of hardware parameter dynamic adjustment and software parameter legality
verification, the method is suitable for deployment optimization of the compute-intensive model in the power edge equipment.