The invention relates to a military FPGA universal reconstruction circuit based on a JTAG interface, and the reconstruction circuit is provided with four input pins and four output pins, can be connected with pins of an FPGA, a CPLD and a PROM, receives an instruction of an upper computer, carries out the backward reading IDCODE operation of the FPGA, the CPLD and the PROM in a link through the JTAG interface, determines the model of a device, and according to an instruction of the upper computer, capable of erasing, programming, reading back and checking the selected device through the JTAG interface; by means of the reconstruction circuit, the purpose of designing FPGA and CPLD design programs in an on-site change system after product installation is achieved, external interfaces of products are effectively reduced, the distance of debugging cables is prolonged, and the on-site debugging efficiency of installed products is improved.