The invention discloses a sparse triangular
linear system solving accelerator based on an FPGA (
Field Programmable Gate Array), and belongs to the technical field of calculation, reckoning or counting. The accelerator comprises an HBM, an instruction prefetching and decoding module, an input cache module, an FIFO module, a
processing unit array, a partial sum
register file module and a data decoding
register file module. A super-long instruction word architecture instruction calculation scheduling and
data information generation are adopted, FIFO and a
register file are used as cache modules for node conversion and node
multiplexing, periodic automatic alignment is realized without synchronization cost, a full
interconnection structure realizes
temporary storage of
multiplexing data and intermediate results in the register file, and non-reused calculation results are directly written back. According to the method, a double-floating-point calculation operation
granularity capable of fully reusing nodes and parallelism is adopted, a multi-PE parallel high-
reusability operation mode is fully exerted, calculation control is simplified through scheduling of
software and hardware, and an implementation scheme for efficient parallelism of SpTRSV on an FPGA is provided.