FPGA-oriented single event effect software simulation method and system

Through software simulation method, the position and time of single-particle effect are simulated in FPGA, and the problem of long simulation time and complex design process in the prior art is solved, efficient single-particle effect simulation is achieved, covering all signals inside FPGA, and reducing simulation costs.

CN119578321AActive Publication Date: 2025-03-07NORTHWESTERN POLYTECHNICAL UNIV
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202411920673.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-25
Publication Date
2025-03-07
Estimated Expiration
2044-12-25

AI Technical Summary

Technical Problem

When simulating single-particle effects in FPGAs, the design process is complicated and the simulation takes a long time. It is necessary to design fault behavior modules for different single-particle effects occurrence locations and times, and recompile the entire FPGA hardware system.

Method used

The software simulation method is adopted to set the single particle injection position and time through the single particle simulation module, and a test case that simulates single particle injection is generated, and loaded into the FPGA through the single particle effect simulation controller for simulation. The result analysis module monitors signal changes and generates traceable waveforms.

Benefits of technology

Significantly reduce single-particle effect simulation time, improve simulation efficiency and coverage, without recompiling the hardware platform, simplifying the simulation process and reducing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119578321A_ABST
    Figure CN119578321A_ABST
Patent Text Reader

Abstract

The invention discloses an FPGA-oriented single event effect software simulation method and system. The method comprises the following steps: determining a signal list which may generate a single event effect for an FPGA; a single-particle simulation module sets a single-particle injection position and time for the signal list; generating a test case for simulating single-particle injection according to the single-particle injection position and time; the single event effect simulation controller loads the test case into the FPGA and operates FPGA simulation; a result analysis module observes a corresponding FPGA signal at a single event effect injection moment; the result analysis module analyzes a single event effect injection simulation result and generates a traceable waveform; and after the test case is completed, the single event effect simulation controller controls the single event simulation module to generate a next test case until the test cases of all the signals in the signal list are completed. The single event effect simulation time can be greatly shortened, the single event effect simulation efficiency is effectively improved, and meanwhile the coverage range of single event effect simulation is widened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of integrated circuits, and in particular relates to a single particle effect software simulation method and system for FPGA. Background Art

[0002] With the development of integrated circuit technology, the application of FPGA in the aerospace field has put forward higher requirements for reliability. Therefore, reliability has gradually become an important issue that needs to be considered as important as performance when designing FPGA. Especially in the space environment, FPGA is easily affected by single particle effects, which can cause the contents of the logic cells in the FPGA to flip and lock, resulting in FPGA failure. Before designing a fault-tolerant FPGA, it is necessary to conduct in-depth single particle effect sensitivity analysis, especially the behavioral characteristics of the FPGA when single particle effects occur. Single particle effect simulation is an important technology for FPGA reliability assessment, so the research and design of single particle effect simulation tools are of great significance. The traditional single particle effect simulation method is based on hardware module implementation, and a fault behavior module is added to the design.

[0003] The disadvantages of the above existing methods are mainly manifested in that: corresponding fault behavior modules need to be designed for different single-particle effect locations and times. At the same time, the entire FPGA hardware system needs to be recompiled every time a single-particle effect is simulated, resulting in a cumbersome design process and a long simulation time. Summary of the invention

[0004] In order to overcome the deficiencies of the prior art, the present invention provides a single particle effect software simulation method and system for FPGA, including: determining a signal list of possible single particle effects for FPGA; setting a single particle injection position and time for the signal list by a single particle simulation module; generating a test case for simulating single particle injection according to the single particle injection position and time; loading the test case into the FPGA by a single particle effect simulation controller and running the FPGA simulation; observing the corresponding FPGA signal at the moment of single particle effect injection by a result analysis module; analyzing the single particle effect injection simulation result and generating a traceable waveform; after completing the test case, the single particle effect simulation controller controls the single particle simulation module to generate the next test case until the test cases of all signals in the signal list are completed. The present invention can use software to simulate the influence and propagation of single particle effects in FPGA, can simulate different injection positions and times of single particles, only needs to load the corresponding test case, does not need to re-synthesize and load the entire FPGA hardware system, greatly reduces the simulation time of single particle effects, effectively improves the simulation efficiency of single particle effects, and improves the coverage of single particle effect simulation.

[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:

[0006] Step 1: Determine the list of signals that may cause single event effects for the FPGA;

[0007] Step 2: Using the single particle simulation module, set the single particle injection position and time for the signal list;

[0008] Step 3: Generate a test case simulating single particle injection according to the single particle injection position and time;

[0009] Step 4: Use the single event effect simulation controller to load the test case into the FPGA and run the FPGA simulation;

[0010] Step 5: The result analysis module observes the corresponding FPGA signal at the time of single event effect injection;

[0011] Step 6: The result analysis module analyzes the single-event effect injection simulation results and generates a traceable waveform;

[0012] Step 7: After completing one test case, the single particle effect simulation controller controls the single particle simulation module to generate the next test case, and repeats steps 2 to 6 until the test cases of all signals in the signal list are completed.

[0013] Preferably, the signal list of possible single event effects in step 1 includes register and memory signals in all modules in the FPGA and input and output signals of the modules.

[0014] Preferably, the single-particle injection position and time are set in step 2, including the injection position and time of a single-particle upset fault, a single-particle latch fault and a single-particle transient fault.

[0015] Preferably, the traceable waveform in step 6 is composed of all signal information during the operation of the FPGA.

[0016] A single particle effect software simulation system for FPGA, comprising: a single particle effect simulation process controller, a single particle simulation module and a result analysis module;

[0017] The single particle effect simulation process controller controls the single particle simulation module to generate a single particle effect simulation test case, loads the single particle effect simulation test case into the FPGA, and controls the result analysis module to monitor the injection signal to complete the single particle injection simulation of all signals in the signal list;

[0018] The single particle simulation module sets the position and time of single particle injection for the signal in the FPGA and generates a single particle effect simulation test case;

[0019] The result analysis module monitors the single-particle injection signal, analyzes the single-particle effect injection simulation result and generates a traceable waveform.

[0020] The beneficial effects of the present invention are as follows:

[0021] (1) The present invention is based on software simulation of single particle effects, which can cover all signals inside the FPGA. Compared with hardware simulation, it is more consistent with the occurrence of single particle effects in actual application scenarios. At the same time, it can accurately simulate the location and time of the occurrence of single particle effects.

[0022] (2) The present invention simulates single particle effects based on software, which does not require recompiling the hardware platform and greatly shortens the single particle effect simulation time.

[0023] (3) The FPGA system of the present invention can complete the injection of single-particle effects by loading the test cases generated by the single-particle simulation module, thereby simplifying the simulation process and reducing the simulation cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 is a flow chart of the method of the present invention;

[0025] Figure 2 It is a schematic diagram of the system of the present invention. DETAILED DESCRIPTION

[0026] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0027] The technical problem solved by the present invention is: to break through the technical limitations of hardware simulation of single particle effects, effectively reduce the simulation time of single particle effects, and optimize the design process, a single particle effect software simulation method and system for FPGA is provided. The method can simulate the location and time of the occurrence of single particle effects during the software simulation process, while monitoring the changes in the corresponding signals to record the impact caused by the single particle effects, and complete the simulation of the FPGA single particle effects.

[0028] like Figure 1 As shown, in view of the problem that the design process is complicated and the simulation takes a long time in the prior art, the present invention proposes a single particle effect software simulation method for FPGA, comprising the following steps:

[0029] (1) Determine the signal list of possible single event effects for FPGA, including register and memory signals in all modules in FPGA and input and output signals of modules;

[0030] (2) The single-particle simulation module sets the single-particle injection position and time for the signal list, including the injection position and time of single-particle upset fault, single-particle latch fault, and single-particle transient fault;

[0031] (3) Generate test cases simulating single-particle injection based on the single-particle injection position and time;

[0032] (4) Using the single-event effect simulation controller, load the test case into the FPGA and run the FPGA simulation;

[0033] (5) The result analysis module observes the corresponding FPGA signal at the time of single event effect injection;

[0034] (6) The result analysis module analyzes the single-particle effect injection simulation results and generates a traceable waveform, which consists of all signal information during the FPGA operation;

[0035] (7) After completing the test case, the single particle effect simulation controller controls the single particle simulation module to generate the next test case, and repeats steps (2) to (6) until the test cases of all signals in the signal list are completed.

[0036] The present invention also proposes a single particle effect software simulation system for FPGA, including: a single particle effect simulation process controller, a single particle simulation module and a result analysis module; the specific implementation is as follows Figure 2 As shown, the single particle effect simulation process controller controls the single particle simulation module, generates a single particle effect simulation test case, loads the single particle effect simulation test case into the FPGA, and controls the result analysis module to monitor the injection signal to complete the single particle injection simulation of all signals in the signal list; the single particle simulation module sets the position and time of the single particle injection for the signal in the FPGA, and generates a single particle effect simulation test case; the result analysis module monitors the single particle injection signal, analyzes the single particle effect injection simulation result and generates a traceable waveform.

[0037] Example:

[0038] (1) Determine the list of signals that may cause single event effects for the FPGA loader, including DCI, ICI, and RFI;

[0039] (2) Using the single-particle simulation module, set the single-particle latch fault injection position for the signal list, and the injection time is 10us;

[0040] (3) Generate test cases simulating single-particle injection based on the single-particle injection position and time;

[0041] (4) Using the single-event effect simulation controller, load the test case into the FPGA and run the FPGA simulation;

[0042] (5) The result analysis module observes the corresponding FPGA signal at the time of single event effect injection;

[0043] (6) The result analysis module analyzes the single-particle effect injection simulation results and generates a traceable waveform, which consists of all signal information during the FPGA operation;

[0044] (7) After completing the test case, the single particle effect simulation controller controls the single particle simulation module to generate the next test case, and repeats steps (2) to (6) until the test cases of DCI, ICI, and RFI in the signal list are completed.

[0045] The technical solution of the present invention is based on software simulation of single particle effects, which can cover all signals inside the FPGA. Compared with hardware simulation, it is more in line with the occurrence of single particle effects in actual application scenarios. At the same time, it can accurately simulate the location and time of the occurrence of single particle effects; there is no need to recompile the hardware platform, which greatly shortens the simulation time of single particle effects; the FPGA system can complete the injection of single particle effects by loading the test cases generated by the single particle simulation module, thereby simplifying the simulation process and reducing the simulation cost.

Claims

1. A single-particle effect software simulation method for FPGA, characterized in that: The steps include: Step 1: Determine the list of signals that may cause single event effects for the FPGA; Step 2: Using the single particle simulation module, set the single particle injection position and time for the signal list; Step 3: Generate a test case simulating single particle injection according to the single particle injection position and time; Step 4: Use the single event effect simulation controller to load the test case into the FPGA and run the FPGA simulation; Step 5: The result analysis module observes the corresponding FPGA signal at the time of single event effect injection; Step 6: The result analysis module analyzes the single-event effect injection simulation results and generates a traceable waveform; Step 7: After completing one test case, the single particle effect simulation controller controls the single particle simulation module to generate the next test case, and repeats steps 2 to 6 until the test cases of all signals in the signal list are completed.

2. The single-particle effect software simulation method for FPGA according to claim 1, characterized in that: The signal list of possible single event effects in step 1 includes registers and memory signals in all modules in the FPGA and input and output signals of the modules.

3. The single-particle effect software simulation method for FPGA according to claim 2, characterized in that: In step 2, the single-particle injection position and time are set, including the injection position and time of single-particle upset fault, single-particle latch fault and single-particle transient fault.

4. The single-particle effect software simulation method for FPGA according to claim 3, characterized in that: The traceable waveform in step 6 is composed of all signal information during the operation of the FPGA.

5. A single particle effect software simulation system using the single particle effect software simulation method according to claim 1, characterized in that: include: Single particle effect simulation process controller, single particle simulation module and result analysis module; The single particle effect simulation process controller controls the single particle simulation module to generate a single particle effect simulation test case, loads the single particle effect simulation test case into the FPGA, and controls the result analysis module to monitor the injection signal to complete the single particle injection simulation of all signals in the signal list; The single particle simulation module sets the position and time of single particle injection for the signal in the FPGA and generates a single particle effect simulation test case; The result analysis module monitors the single-particle injection signal, analyzes the single-particle effect injection simulation result and generates a traceable waveform.

Citation Information

Patent Citations

  • Test system and method for single event effect of SRAM (System Random Access Memory) type FPGA (Field Programmable Gate Array)

    CN102332307A

  • Device for carrying out single particle overturn effect simulation on digital signal processor applied in space

    CN102520333A

  • Circuit level single event effect simulation platform

    CN108363894A

  • Test method and system based on SPARC (Scalable Processor ARChitecture) processor single event upset fault injection

    CN108710551A

  • A register single event effect analog simulation method for an aerospace chip

    CN109558649A