FPGA (Field Programmable Gate Array) anti-radiation reinforcing method and circuit based on netlist multi-scale three-mode
Patent Information
- Application Number
- CN202411176646.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-26
- Publication Date
- 2024-11-29
AI Technical Summary
Existing technologies cannot effectively harden small-scale circuit objects, resulting in resource waste and weak radiation resistance. At the same time, they cannot monitor the operating status of triple-redundant circuits in real time, leading to the accumulation of errors that cannot be located and corrected.
Multi-scale tri-mode redundancy hardening is performed using FPGA netlist files, and a tri-mode status monitoring unit is introduced to achieve full coverage hardening of the circuit. Hardening deployment is completed before power-on, and the circuit status is monitored in real time.
It achieves full-coverage hardening of FPGA circuits, saves resources, ensures stable operation of circuits in radiated environments, and provides fault location information to correct errors.
Smart Images

Figure CN119047392A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of electrical digital data processing, and further relates to a field programmable gate array (FPGA) radiation resistance reinforcement method and circuit based on multi-scale three-mode netlist in the technical field of field programmable gate array (FPGA). The present invention can implement multi-scale three-mode reinforcement operations from a single instance resource to a complete circuit module for an FPGA circuit through a netlist file, and introduce a three-mode circuit indicator to monitor the operating state of the reinforcement circuit, thereby implementing radiation resistance reinforcement measures for the FPGA. Background Art
[0002] The use of SRAM field programmable gate arrays (FPGAs) with high operating frequencies and high resource density in the radiation environment of the aerospace field will make their circuits extremely vulnerable to the impact of radiation particles in space, resulting in single-particle flips. Therefore, the reinforcement measures for FPGAs have always been a hot research topic in the field of security protection. However, traditional FPGA circuit reinforcement measures to resist single-particle flips are usually designed with redundancy in the entire functional module. In circuit modules with a high error frequency, the global reinforcement method with insufficient scale is not effective, and the generated reinforcement circuit also causes a large waste of circuit resources. Therefore, a multi-scale circuit reinforcement method is proposed through a netlist file, which selectively performs three-module redundancy on logical functions. The scale is flexible and targeted, and the reinforcement circuit is more effective in resisting single-particle flips, and it saves resource overhead.
[0003] The Chinese Academy of Sciences' Modern Physics Department disclosed a FPGA reinforcement system and method for resisting single-particle upsets in its patent document "An FPGA reinforcement system and method for resisting single-particle upsets" (application number: 202010771094.8, application publication number: CN 111785310 A). The system disclosed in the patent document includes the following modules: SRAM-type FPGA, FLASH-type FPGA and FLASH memory. The disadvantage of this system is that the FPGA needs to be reconfigured when powered on or off by the internal information of the FLASH memory, which will cause a temporary interruption of the FPGA function. The method disclosed in the patent document includes the following steps: S1 starts and powers on the reinforcement system; S2 configures the refresh process of the FLASH-type FPGA, and stores the data in the Flash memory through the FLASH-type FPGA; S3 configures the SRAM-type FPGA, and determines whether there is erroneous configuration information through the voting and feedback module. If so, the erroneous information is transmitted to the FLASH-type FPGA, and refreshes according to the instructions of the FLASH-type FPGA to repair the erroneous configuration information. The disadvantage of this method is that it can only reinforce the SRAM-based FPGA configuration memory and cannot refresh other resources inside the FPGA.
[0004] Chongqing Liangjiang Satellite Mobile Communications Co., Ltd. disclosed a partial three-mode redundancy method and system based on netlist analysis of single-particle sensitivity in its patent document "Partial three-mode redundancy method and system based on netlist analysis of single-particle sensitivity" (application number: 202111543925.7, application publication number: CN114186520A). The method disclosed in the patent document includes the following steps: all single-particle flip sensitive units constitute a three-mode redundant circuit, and all single-particle flip insensitive units constitute a non-three-mode redundant circuit; the output end of the three-mode redundant circuit is connected to the input end of the majority voter, and the output end of the majority voter is connected to the input end of the non-three-mode redundant circuit to obtain the partial three-mode redundant circuit. The disadvantage of this method is that the signal of the sensitive unit is only screened out based on the netlist file and the three-mode redundant operation is performed on it, and the scale selection of smaller sensitive units cannot be realized. The reinforcement measures are not flexible and targeted, which causes a certain waste of resources. The system disclosed in the patent document includes: a text file acquisition module for acquiring an FPGA circuit design text file; an FPGA circuit netlist information acquisition module for acquiring the usage information of the FPGA circuit netlist according to the FPGA circuit design text file; a single-particle sensitivity analysis module for performing single-particle sensitivity analysis on the usage information of the FPGA circuit netlist to determine all single-particle flip sensitive units in the FPGA circuit; a three-mode redundancy processing module for performing three-mode redundancy processing on the single-particle flip sensitive unit; and a partial three-mode redundancy circuit generation module for generating a partial three-mode redundancy circuit resistant to single-particle effects according to the redundancy results. The disadvantage of this system is that it only realizes the three-mode redundancy processing of the circuit where the sensitive unit signal is located, and cannot monitor the operating status of the three-mode circuit in real time. Once the three-mode circuit accumulates errors, it cannot be located and corrected. Summary of the invention
[0005] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art and to provide an FPGA anti-radiation reinforcement method and circuit based on a multi-scale three-mode netlist, so as to solve the problems that the prior art cannot take reinforcement measures for small-scale circuit objects, resulting in waste of resources, the reinforcement measures cannot cover all circuit objects, resulting in poor circuit anti-radiation performance, and the operation status of the three-mode redundant circuit cannot be monitored, resulting in error accumulation.
[0006] To achieve the above purpose, the idea of the present invention is: the method of the present invention performs radiation-resistant reinforcement processing on the FPGA circuit through the FPGA netlist file, and the reinforcement object of the circuit can cover all resources in the netlist. In this way, the limitation that the refresh strategy adopted in the prior art can only be used to reinforce the SRAM-based FPGA configuration memory, and other resources inside the FPGA cannot be refreshed. The method of the present invention can realize multi-scale triple-module redundancy reinforcement of the FPGA circuit, specifically, it can achieve full coverage of the scale from a single instance resource to a complete circuit module, and further realize more accurate and controllable operation of the local triple-module redundancy technology, while ensuring the reliability of reinforcement, realizing the maximum saving of resources, reducing the cost-effectiveness, and saving circuit resources. In this way, the problem that the prior art only screens out sensitive units based on the netlist file and performs triple-module redundancy operations on them, and the selection of scales smaller than the unit is not flexible and targeted, thereby causing waste of resources. The reinforcement module included in the circuit of the present invention replicates the key circuit of the device three times, so that three identical modules perform the same operation in parallel, and the final three output signals are passed through the majority voter to avoid individual circuit errors caused by particle attacks. The reinforcement measures can be deployed once before power is turned on. This solves the problem that the existing technology uses the FLASH memory for refresh reinforcement, which requires reconfiguring the FPGA when powered on or without powering off, resulting in temporary interruption of the FPGA function. The circuit of the present invention introduces a state machine unit in the reinforcement circuit to monitor the operating status of the three-mode reinforcement circuit at all times, thereby solving the problem that the existing technology cannot monitor the status of the three-mode circuit, and once the three-mode circuit accumulates errors, it is impossible to locate the error bit and correct it.
[0007] The reinforcement circuit of the present invention comprises a three-mode redundant unit and a three-mode state monitoring unit; the three-mode redundant unit is composed of a three-mode first circuit, a three-mode second circuit, and a three-mode third circuit connected in parallel and then connected in series with a voter; the three-mode state monitoring unit comprises a first state device, a second state device,
[0008] The input ends of the three-mode first to third circuits are all connected to the output end of the external circuit; the output end of the three-mode first circuit is connected to the first input end of the first state device; the output end of the three-mode first circuit, the first input end of the voter, and the input end of the external circuit are connected in sequence;
[0009] The output end of the three-mode second circuit is connected to the first input end of the second state machine; the output end of the three-mode second circuit, the second input end of the voter, and the input end of the external circuit are connected;
[0010] The output end of the three-mode third circuit is connected to the second input end of the first state machine; the output end of the three-mode third circuit is connected to the second input end of the second state machine; the output end of the three-mode third circuit, the third input end of the voter, and the input end of the external circuit are connected in sequence;
[0011] The output ends of the first state machine and the second state machine are connected.
[0012] The reinforcement steps of the method of the present invention are as follows:
[0013] Step 1, interpret the design library, top-level design unit, instance resource declaration, and wiring resource declaration in the FPGA netlist file in turn;
[0014] Step 2: In the instance resource declaration part, copy three copies of all instance declaration statements involved in the functional module to be reinforced to obtain the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit of the three-mode redundant unit;
[0015] Step 3, add three different sets of instance declaration statements in the instance resource declaration part to obtain the first state device and the second state device of the voting device and the three-mode state monitoring unit;
[0016] Step 4, in the wiring resource declaration part, add three different sets of wiring resource declaration statements to connect the output ends of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit of the three-mode redundant unit to the input end of the voter and to the input end of the three-mode status monitoring unit;
[0017] Step 5, in the wiring resource declaration part, modify the original wiring resource declaration statement, modify the connection between the input end of the original functional module to be reinforced and the output end of the external circuit to the connection between the input end of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit and the output end of the external circuit, and modify the connection between the output end of the original functional module to be reinforced and the input end of the external circuit to the connection between the output end of the voter and the input end of the external circuit;
[0018] Step 6, in the top-level design unit part, add output port declaration statements to obtain external output signals;
[0019] Step 7, in the wiring resource declaration part, add a wiring resource declaration statement to connect the output status information of the three-mode status monitoring unit to the external output signal;
[0020] Step 8: Import the updated netlist file into the FPGA to generate a reinforced circuit.
[0021] Compared with the prior art, the present invention has the following advantages:
[0022] First, the method of the present invention performs radiation-resistant reinforcement processing on the FPGA circuit through the FPGA netlist file, and the reinforcement object of the circuit can cover all resources in the netlist. This overcomes the limitation that the refresh strategy used in the prior art can only reinforce the SRAM-based FPGA configuration memory and cannot refresh other resources inside the FPGA. The reinforcement object of the circuit of the method of the present invention can cover all circuit resources in the FPGA circuit, and the reinforced circuit is more secure.
[0023] Second, the method of the present invention can realize multi-scale triple-module redundant reinforcement for FPGA circuits, specifically, it can realize full coverage of scales from single instance resources to complete circuit modules, and further realize more precise and controllable operation of local triple-module redundant technology, while ensuring the reliability of reinforcement, realizing resource conservation to the greatest extent, reducing cost-effectiveness, and saving circuit resources. It overcomes the problems that the prior art only selects sensitive units based on the netlist file and performs triple-module redundant operations on them, and lacks flexibility and pertinence for the selection of scales smaller than the unit, thereby causing waste of resources. The resource overhead consumed by the circuit reinforced by the method of the present invention is reduced.
[0024] Third, the three-mode state monitoring unit in the circuit of the present invention makes three copies of the key circuit, so that the three identical modules in the three-mode redundant unit perform the same operation in parallel, and the final three output signals are passed through the majority voter to avoid individual circuit errors caused by particle attacks. The reinforcement measures can be deployed once before power is turned on. It overcomes the problem that the existing technology uses the FLASH memory to perform the refresh method reinforcement, which requires the FPGA to be reconfigured when powered on or without powering off, which will cause temporary interruption of the FPGA function. The anti-radiation reinforcement method of the present invention does not affect the normal operation of the FPGA circuit at all.
[0025] Fourthly, the circuit of the present invention introduces a state unit in the reinforcement circuit to monitor the operating status of the three-mode reinforcement circuit at all times, thus overcoming the problem that the prior art cannot monitor the status of the three-mode circuit and cannot locate the error bit and correct it once the three-mode circuit accumulates errors. This allows the present invention to provide valuable fault location information for subsequent recovery and modification of accumulated errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a principle block diagram of the reinforcement circuit of the present invention;
[0027] Figure 2 It is a flow chart of the steps for implementing the method of the present invention. DETAILED DESCRIPTION
[0028] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0029] Reference Figure 1 , the reinforcement circuit of the present invention is further described in detail.
[0030] The reinforcement circuit of the present invention includes a three-mode redundant unit and a three-mode state monitoring unit; the three-mode redundant unit is composed of a three-mode first circuit, a three-mode second circuit, and a three-mode third circuit connected in parallel and then connected in series with a voter; the three-mode state monitoring unit includes a first state device and a second state device.
[0031] The input ends of the three-mode first to third circuits are all connected to the output end of the external circuit; the output end of the three-mode first circuit is connected to the first input end of the first state machine; the output end of the three-mode first circuit, the first input end of the voter, and the input end of the external circuit are connected in sequence.
[0032] The output end of the three-mode second circuit is connected to the first input end of the second state machine; the output end of the three-mode second circuit, the second input end of the voter, and the input end of the external circuit are connected.
[0033] The output end of the three-mode third circuit is connected to the second input end of the first state machine; the output end of the three-mode third circuit is connected to the second input end of the second state machine; the output end of the three-mode third circuit, the third input end of the voter, and the input end of the external circuit are connected in sequence;
[0034] The output ends of the first state machine and the second state machine are connected.
[0035] Reference Figure 2 , the steps of the reinforcement method of the present invention are further described in detail.
[0036] Step 1, interpret the design library, top-level design unit, instance resource declaration, and routing resource declaration in the FPGA netlist file in turn.
[0037] Step 2: In the instance resource declaration part, copy three copies of all instance declaration statements involved in the functional module to be reinforced to obtain the three-mode first circuit, three-mode second circuit, and three-mode third circuit of the three-mode redundant unit.
[0038] The functional modules to be reinforced refer to circuit modules that are screened out in the overall circuit after a vulnerability analysis of the overall circuit is performed in advance and are susceptible to radiation hazards and require reinforcement measures.
[0039] The process of obtaining the triple-module redundant unit in step 2 is further described below in conjunction with an embodiment of the present invention.
[0040] The first step is to take the circuit module to be reinforced as an array, recorded as NAME{NAME1, NAME2, …, NAME j , …, NAME J}. J is the total number of circuit modules to be reinforced.
[0041] The second step is to obtain multiple instance names used by the circuit NAMEj to be reinforced in the instance resource declaration part of the netlist file, recorded as NAME j _X{NAME j _X1,NAME j _X2,…,NAME j _X z ,…,NAME j _X Z}. z is the name of the circuit to be reinforced j The total number of instances included.
[0042] The third step is to find the statement in the netlist file instance resource declaration
[0043] (instance(rename NAME j _X z "NAME j _X z ")(viewref netlist(cellref Y(libraryref hdi_primitives)))
[0044] (property INIT(string "x'hx"))
[0045] (property SOFT_HLUTNM(string"soft_lutpair0")) )
[0047] Step 4: Copy the above statement three times and add them to NAME j _X z Add _TMR_0, _TMR_1, _TMR_2 to distinguish the three-mode circuit names:
[0048] (instance(rename namej_Xz_TMR_0"namej_Xz_TMR_0")(viewref netlist(cellref Y(libraryref hdi_primitives)))
[0049] (property INIT(string "x'hx"))
[0050] (property SOFT_HLUTNM(string"soft_lutpair0")) )
[0052] (instance(rename namej_Xz_TMR_1"namej_Xz_TMR_1")(viewref netlist(cellref Y(libraryref hdi_primitives)))
[0053] (property INIT(string "x'hx"))
[0054] (property SOFT_HLUTNM(string"soft_lutpair0")) )
[0056] (instance(rename namej_Xz_TMR_2"namej_Xz_TMR_2")(viewref netlist(cellref Y(libraryref hdi_primitives)))
[0057] (property INIT(string "x'hx"))
[0058] (property SOFT_HLUTNM(string"soft_lutpair0")) )
[0060] Step 3, add three different sets of instance declaration statements in the instance resource declaration part to obtain the voter, the first state machine and the second state machine of the three-mode state monitoring unit.
[0061] The adding of three different sets of instance declaration statements refers to adding three sets of statements that conform to the instance resource declaration grammatical rules in the instance resource declaration part of the netlist file, and obtaining in the netlist circuit one example of a three-input and one-output lookup table structure device whose address and corresponding output truth table are 8'h7E, and two examples of a two-input and one-output lookup table structure device whose address and corresponding output truth table are 4'h6.
[0062] The embodiment of the present invention is to add a statement in the netlist file instance resource declaration:
[0063] (instance(rename namej_Xz_TMR_STATE_0"namej_Xz_TMR_STATE_0")(viewrefnetlist(cellref LUT2(libraryref hdi_primitives)))
[0064] (property INIT(string"4'h6"))
[0065] ) / / I0 connects to TMR0, I1 connects to TMR2, output is Y0
[0066] (instance(rename namej_Xz_TMR_STATE_1"namej_Xz_TMR_STATE_1")(viewrefnetlist(cellref LUT2(libraryref hdi_primitives)))
[0067] (property INIT(string"4'h6"))
[0068] ) / / I0 connects to TMR1, I1 connects to TMR2, output is Y1
[0069] (instance(rename namej_Xz_TMR_VOTER"namej_Xz_TMR_VOTER")(viewrefnetlist(cellref LUT3(libraryref hdi_primitives)))
[0070] (property INIT(string"8'hE8")) )
[0072] Step 4. In the wiring resource declaration part, add three different sets of wiring resource declaration statements to connect the output ends of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit of the three-mode redundant unit to the input end of the voter and to the input end of the three-mode status monitoring unit.
[0073] In an embodiment of the present invention, a new statement is created in the wiring resource declaration part:
[0074] (net namej_Xz_TMR_0(joined
[0075] (portref I0(instanceref namej_Xz_TMR_STATE_0))
[0076] (portref I0(instanceref namej_Xz_TMR_VOTER))
[0077] (portref Q(instanceref namej_Xz_TMR_0)) ) )
[0080] (net namej_Xz_TMR_1(joined
[0081] (portref I1(instanceref namej_Xz_TMR_STATE_1))
[0082] (portref I1(instanceref namej_Xz_TMR_VOTER))
[0083] (portref Q(instanceref namej_Xz_TMR_1)) ) )
[0086] (net namej_Xz_TMR_2(joined
[0087] (portref I2(instanceref namej_Xz_TMR_STATE_0))
[0088] (portref I2(instanceref namej_Xz_TMR_STATE_1))
[0089] (portref I2(instanceref namej_Xz_TMR_VOTER))
[0090] (portref Q(instanceref namej_Xz_TMR_2)) )
[0092] Step 5. In the wiring resource declaration part, modify the original wiring resource declaration statement, and change the connection between the input end of the original functional module to be reinforced and the output end of the external circuit to the connection between the input end of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit and the output end of the external circuit, and change the connection between the output end of the original functional module to be reinforced and the input end of the external circuit to the connection between the output end of the voter and the input end of the external circuit.
[0093] The modification of the original wiring resource declaration statement refers to finding the connection declaration between the input end of the original functional module to be reinforced and the output end of the external circuit in the wiring resource declaration part of the netlist file, and modifying the instance name of the input end of the connection to the instance name of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit.
[0094] The process of modifying the original wiring resource declaration statement in step 5 is further described below in conjunction with an embodiment of the present invention.
[0095] The first step is to find the wiring resource declaration section.
[0096] (portref In(instanceref namej_Xz) / / In is the input port name In(n=0,1,2…)
[0097] The second step is to modify this statement to
[0098] (portref In(instanceref namej_Xz_TMR_0))
[0099] (portref In(instanceref namej_Xz_TMR_1))
[0100] (portref In(instanceref namej_Xz_TMR_2))
[0101] Step 3: Repeat the above steps until all input ports In of namej_Xz are traversed.
[0102] Step 6. In the top-level design unit part, add the output port declaration statement to obtain the external output signal.
[0103] The adding of output port declaration statement to obtain external output signal refers to inserting a signal containing output status information of the three-mode status monitoring unit and having output direction into the input and output port declaration position in the top-level module design unit in the netlist file.
[0104] The embodiment of the present invention inserts the following statement before the declaration of the unit output port port in the top-level design of the netlist file:
[0105] (port(array(rename key_signal "key_signal[N-1:0]")N)(direction OUTPUT)
[0106] This statement indicates that a new N-bit signal named key_signal is created, and the direction is output. N represents the total number of bits of the output status information of the three-mode status monitoring unit that the signal will contain.
[0107] Step 7: In the wiring resource declaration part, add a wiring resource declaration statement to connect the output status information of the three-mode status monitoring unit to the external output signal.
[0108] The output status information of the three-mode status monitoring unit refers to that the output status information of the three-mode status monitoring unit is represented by a two-bit signal, and the two-bit signal represents the following from high to low: "00" represents that there is no abnormality in the three-mode status device, "01" represents that the first circuit of the three-mode is abnormal, "10" represents that the second circuit of the three-mode is abnormal, and "11" represents that the third circuit of the three-mode is abnormal.
[0109] The process of adding a wiring resource declaration statement in step 7 is further described below in conjunction with an embodiment of the present invention.
[0110] The first step is to find the
[0111] (portref O(instanceref namej_Xz_TMR_STATE_1)) / / high position
[0112] (portref O(instanceref namej_Xz_TMR_STATE_0)) / / low position
[0113] The second step is to add
[0114] (portref(member key_signal y)) / / Connect this key signal to the (N-1-y)th bit of key_signal.
[0115] Step 8: Import the updated netlist file into the FPGA to generate a reinforced circuit.
Claims
1. An FPGA radiation-resistant reinforcement circuit based on a multi-scale three-mode netlist, including a three-mode redundant unit, characterized in that: It also includes a three-mode state monitoring unit; the three-mode redundancy unit is composed of a three-mode first circuit, a three-mode second circuit, and a three-mode third circuit connected in parallel and then connected in series with a voter; the three-mode state monitoring unit includes a first state device and a second state device; The input ends of the three-mode first to third circuits are all connected to the output end of the external circuit; the output end of the three-mode first circuit is connected to the first input end of the first state device; the output end of the three-mode first circuit, the first input end of the voter, and the input end of the external circuit are connected in sequence; The output end of the three-mode second circuit is connected to the first input end of the second state machine; the output end of the three-mode second circuit, the second input end of the voter, and the input end of the external circuit are connected; The output end of the three-mode third circuit is connected to the second input end of the first state machine; the output end of the three-mode third circuit is connected to the second input end of the second state machine; the output end of the three-mode third circuit, the third input end of the voter, and the input end of the external circuit are connected in sequence; The output ends of the first state machine and the second state machine are connected.
2. The FPGA radiation-resistant reinforcement circuit based on netlist multi-scale three-mode according to claim 1 is characterized in that: The first state machine and the second state machine both adopt a two-input and one-output lookup table structure device.
3. The FPGA radiation-resistant reinforcement circuit based on netlist multi-scale three-mode according to claim 1 is characterized in that: The voting device adopts a lookup table structure device with three inputs and one output.
4. According to claim 1, a method for reinforcing FPGA against radiation based on multi-scale three-mode netlist according to the reinforcing circuit, characterized in that: By modifying the netlist file, the circuit is operated with multi-scale triple-mode redundancy from a single instance resource to a complete circuit module, and the operating status of the triple-mode circuit is monitored at all times; the steps of this reinforcement method are as follows: Step 1, interpret the design library, top-level design unit, instance resource declaration, and routing resource declaration in the FPGA netlist file in turn; Step 2: In the instance resource declaration part, copy three copies of all instance declaration statements involved in the functional module to be reinforced to obtain the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit of the three-mode redundant unit; Step 3, add three different sets of instance declaration statements in the instance resource declaration part to obtain the first state device and the second state device of the voting device and the three-mode state monitoring unit; Step 4, in the wiring resource declaration part, add three different sets of wiring resource declaration statements to connect the output ends of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit of the three-mode redundant unit to the input end of the voter and to the input end of the three-mode status monitoring unit; Step 5, in the wiring resource declaration part, modify the original wiring resource declaration statement, modify the connection between the input end of the original functional module to be reinforced and the output end of the external circuit to the connection between the input end of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit and the output end of the external circuit, and modify the connection between the output end of the original functional module to be reinforced and the input end of the external circuit to the connection between the output end of the voter and the input end of the external circuit; Step 6, in the top-level design unit part, add output port declaration statements to obtain external output signals; Step 7, in the wiring resource declaration part, add a wiring resource declaration statement to connect the output status information of the three-mode status monitoring unit to the external output signal; Step 8: Import the updated netlist file into the FPGA to generate a reinforced circuit.
5. The FPGA anti-radiation reinforcement method based on netlist multi-scale three-mode according to claim 4 is characterized in that: The functional modules to be reinforced in step 2 refer to circuit modules that are screened out in the overall circuit after a vulnerability analysis of the overall circuit is performed in advance and are susceptible to radiation hazards and require reinforcement measures.
6. The FPGA anti-radiation reinforcement method based on netlist multi-scale three-mode according to claim 4 is characterized in that: Adding three different sets of instance declaration statements in step 3 refers to adding three sets of statements that conform to the instance resource declaration grammatical rules in the instance resource declaration part of the netlist file, and obtaining one example of a three-input and one-output lookup table structure device in the netlist circuit, whose address and corresponding output truth table is 8'h7E, and two examples of a two-input and one-output lookup table structure device, whose address and corresponding output truth table is 4'h6.
7. The FPGA anti-radiation reinforcement method based on netlist multi-scale three-mode according to claim 4 is characterized in that: Modifying the original wiring resource declaration statement in step 5 refers to finding the connection declaration between the input end of the original functional module to be reinforced and the output end of the external circuit in the wiring resource declaration part of the netlist file, and modifying the instance name of the input end of the connection to the instance name of the three-mode first circuit, the three-mode second circuit, and the three-mode third circuit.
8. The FPGA anti-radiation reinforcement method based on netlist multi-scale three-mode according to claim 4 is characterized in that: Adding the output port declaration statement in step 6 to obtain the external output signal refers to inserting a signal containing the output status information of the three-mode status monitoring unit and with the output direction at the input and output port declaration position in the top-level module design unit in the netlist file.
9. The FPGA anti-radiation reinforcement method based on netlist multi-scale three-mode according to claim 4 is characterized in that: The output status information of the three-mode status monitoring unit described in step 7 refers to the output status information of the three-mode status monitoring unit represented by a two-bit signal, and the two-bit signal represents the following from high to low: "00" represents that there is no abnormality in the three-mode status device, "01" represents that the first circuit of the three-mode is abnormal, "10" represents that the second circuit of the three-mode is abnormal, and "11" represents that the third circuit of the three-mode is abnormal.
