The invention belongs to the field of
machine learning, and discloses an FPGA (
Field Programmable Gate Array) superposition processor acceleration
system and method based on
state space duality, which comprises a sparse predefined data acquirer, a reconfigurable
systolic array, a partial sum cache, an element-by-element operation cache, a function calculation module, an on-
chip memory management module and the like. Zero elements are eliminated through the sparse predefined data acquirer, redundant data are reduced, and redundant calculation is remarkably reduced; the reconfigurable
systolic array flexibly supports multiple calculation
modes, and the
utilization rate of hardware resources is increased; the part and the cache realize cross-cycle accumulation and element-by-element operation cache integration results, the function calculation module completes nonlinear operation, and the on-
chip memory management module optimizes result cache, so that on-
chip operation of SSD calculation is ensured, off-chip memory access is remarkably reduced, and reasoning efficiency and energy efficiency are improved; by adopting the
system, the memory occupation is effectively reduced, the element-by-element calculation efficiency is improved, and the sparse calculation redundancy is reduced, so that the reasoning process of the Mamba2 model is remarkably accelerated.