The invention discloses a circuit solving method for batch pipeline calculation tasks based on identifiers, and relates to the technical field of numerical calculation
hardware acceleration, and the method comprises the following steps: an upper computer transmits initial parameters and configuration information of a trajectory equation to a
data transmission control module in batches through a PCIe interface, a parameter cache module receives and caches the parameters, and the
data transmission control module transmits the parameters to the
data transmission control module; meanwhile, batch configuration information is read to determine the number of trajectory equations; an identifier distribution module sets an identifier
cut-off value according to the number of equations, distributes incremental hardware identifiers for each group of trajectory equations by adopting a
polling arbitration mode, binds parameters and then writes the parameters into an RAM (
Random Access Memory); the
state management module analyzes track configuration
algorithm information and selects an RK4-Adams4 or RK6-Adams6
algorithm combination, the
data path control module starts operation and distributes parameters to the function solving module for iterative calculation, and in the process, a lost identifier is detected and an
error state is marked; and the
algorithm iteration module caches results after completing calculation, and finally, the batch results are transmitted back to the upper computer through PCIe according to an identification sequence.