FPGA internal batch signal monitoring method and system based on netlist file signal extraction

Through hierarchical interpretation of FPGA netlist files and statement insertion operations, key signals are screened and extracted, and combined with the key signal framing module and PS-side observation module, real-time monitoring and display of FPGA internal signals is realized, solving the problem that cannot be solved in the existing technology. Timely and effective monitoring of batch key signal status within FPGA improves the fine-grainedness and accuracy of monitoring.

CN118733378APending Publication Date: 2024-10-01XIDIAN UNIV

Patent Information

Application Number
CN202410707430.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The existing technology cannot monitor the status information of batch key signals inside the FPGA in a timely and effective manner, resulting in the inability to conduct comprehensive real-time observation of the internal operating status of the FPGA.

Method used

Through hierarchical interpretation of the FPGA netlist file, key signals are filtered and extracted, and the statement insertion operation of the netlist file is used to extract signal status information to the output port, and real-time data transmission is realized through the key signal framing module and PS-side observation module. and display.

Benefits of technology

It achieves fine-grained monitoring of FPGA internal signals, covers more signal types, real-time observation and display, avoids the complexity and resource occupation problems of hardware circuit monitoring, and improves the accuracy and efficiency of monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733378A_ABST
    Figure CN118733378A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a system for monitoring batch signals in an FPGA (Field Programmable Gate Array) based on netlist file signal extraction, and mainly solves the problems that the batch signals in the existing FPGA are difficult to directly transmit outwards through an I / O (Input / Output) interface, and single event upset cannot be observed in time under an irradiation condition. The method comprises the following implementation steps: a netlist file signal leading-out module interprets the level of an FPGA netlist file, modifies the content of a netlist, newly creates a multi-bit signal, and introduces the state information of netlist resources related to batch key signals to each bit of the newly created multi-bit signal; the key signal framing module is used for framing and coding a multi-bit signal bit by bit and transmitting a data frame to a PS end in real time; and the PS end observation module is used for analyzing the data frame and monitoring the state of batch key signals. According to the method, the operation state of batch signals in the FPGA is monitored, and a technical basis is provided for self-adaptive protection decision of the SEU effect under the irradiation condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of electrical digital data processing, and further relates to a method and system for monitoring batch signals inside an FPGA (Field Programmable Gate Array) based on netlist file signal extraction in the technical field of field programmable gate array (FPGA). The present invention can extract the states of batch key signals of functional circuits through netlist files to the PS end for observation, thereby providing a technical basis for realizing fine-grained observation of the internal operating state of the FPGA. Background Art

[0002] FPGA has been widely used in the field of aerospace engineering due to its flexible functional design, short development cycle, and low cost. However, with the continuous advancement of integrated circuit technology and the continuous improvement of integration, the logic state flip caused by high-energy particle collisions on nanoscale integrated circuits will increasingly affect the reliability and safety of electronic equipment. By detecting soft errors caused by the SEU effect of FPGA in the space radiation environment, the reliability and safety of FPGA equipment operation can be guaranteed to a certain extent. However, the existing detection of specific key signals basically relies on the internal resource control module level, and there are very few methods to operate the netlist file and lead to the internal netlist resource signal to monitor the transmission status of key signals.

[0003] 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 implementation method of this patent is as follows: 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. The internal security status of the FPGA cannot be monitored in real time, and once the sensitive unit fails, it cannot be discovered in time. The system of this patent 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 that resists single-particle effects according to the redundancy results. The shortcoming 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 perform real-time monitoring and intuitive data display of the sensitive signal status.

[0004] Xidian University disclosed a single-particle simulation effect platform in its patent document "A circuit-level single-particle effect simulation platform" (application number: 201810421550.9, application publication number: CN108363894A). The platform includes: a circuit analysis module for users to select the type of circuit to be analyzed, and extract all sensitive nodes in the circuit according to the circuit netlist file provided by the user, and generate a circuit node list file; a fault injection configuration module, which provides a fault current source template file, combines the circuit node list file and the relevant parameters of the fault current source to be injected into the circuit by the user, writes a script to randomly select circuit nodes and fault injection time, and generates a fault injection file; an analysis mode module, which allows users to select an analysis mode according to their needs; a netlist processing module, which determines the result detection template file according to the analysis mode, writes a script accordingly to obtain the result detection file, and then generates an incentive file in combination with the analysis mode and the fault injection file; a Fast-Spice simulator, which uses the incentive file output by the netlist processing module as input for simulation; a result analysis module, which saves and extracts the simulation results of the Fast-Spice simulator, and forms different result icons according to different analysis modes. The shortcoming of this platform is that it does not include the subsequent analysis of the extraction and observation of sensitive nodes in the netlist file, and cannot make real-time observations of the FPGA operating status.

[0005] China Southern Power Grid Co., Ltd. disclosed a single-particle upset detection method for FPGA internal RAM in its applied patent document "A single-particle upset detection method for FPGA internal RAM" (application number: 202211546628.2, application publication number: CN116153380A). The implementation steps of the method are as follows: including an FPGA chip to be tested, an Ethernet interface, a switch, a controllable power supply and a PC. First, in an experimental environment, a neutron source continuously emits high-energy neutrons, and the FPGA chip to be tested is placed close to the neutron source to withstand the radiation of high-energy neutrons; then, a test program is run in the FPGA chip to be tested to capture the single-particle flip phenomenon caused by high-energy neutrons, and then the switch is placed in a position away from the radiation of the neutron source in the experimental environment and shielding measures are taken; wherein the internal test program of the FPGA chip to be tested includes: a RAM control module, a single-particle flip detection module, and a detection data sending module; the internal functional modules of the FPGA chip to be tested include: a BRAM, a CRAM, a DRAM, a BRAM control module, a CRAM control module, a DRAM control module, a single-particle flip detection module and a detection data sending module, wherein the BRAM control module, the CRAM control module and the DRAM control module respectively control the corresponding BRAM, CRAM and DRAM, and the BRAM control module, the CRAM control module and the DRAM control module periodically and automatically perform RAM data single-particle flip detection, The single particle flip fault information appearing in the RAM data is automatically recorded, and the error data is corrected; the single particle flip fault information output by the RAM control module is periodically counted by the single particle flip fault detection module, the single particle flip fault detection module records the data address and flip type of the single particle flip fault in the BRAM and DRAM, and the single particle flip fault detection module records the time and fault severity of the single particle flip fault in the CRAM; the detection data sending module periodically sends Ethernet messages with single particle flip fault information to the outside; the Ethernet interface connects the FPGA chip to be tested with the external switch, and the connection medium is an Ethernet twisted pair; the switch transmits the detection data sent by the FPGA chip to be tested to a remote PC to realize the uploading of the detection data; the PC is operated by the experimenter in a safe area without radiation, receives the detection data transmitted from the switch, and completes the analysis and storage of the detection data in the PC, and automatically calculates the real-time single particle flip fault rate of the chip to be tested according to the obtained experimental data and experimental parameters. The PC also analyzes the running status of the test program in the current FPGA chip and controls the on and off of the controllable power supply. The disadvantage of this method is that it can only detect single-particle upset detection of internal RAM type signals, but cannot detect errors of other types of signals, so there are limitations on monitoring the safe operation status of FPGA. Summary of the invention

[0006] The purpose of the present invention is to address the deficiencies of the above-mentioned prior art: to provide a method and system for monitoring batch signals inside FPGA based on netlist file signals, which is used to solve the problem that the status information of batch key signals inside FPGA logic circuits cannot be reflected in time, and effective tracking and data display cannot be performed for certain key specific signals, thereby making it impossible to make a comprehensive real-time observation of the internal operating status of the FPGA.

[0007] To achieve the above purpose, the idea of ​​the present invention is: the method of the present invention interprets the FPGA netlist file from the hierarchical level of the design library, the top-level design unit, the instance resource declaration, and the wiring resource declaration, and finds all the instance resources covered by the key signal in the netlist file according to the key signal name provided by the user, or the key signal name screened out according to the influence weight proposed by this patent, and then implements the statement insertion operation of the netlist file according to the instance resource information and wiring resource information obtained by interpreting the netlist file, and only occupies one output port resource. The output state of the netlist resource related to the observed signal is derived. In this way, the problem that when the existing technology uses hardware circuits for monitoring, the monitoring system design is complex, the FPGA resources are occupied, and the performance of the circuit itself is greatly affected. The method of the present invention realizes the extraction and observation of the internal signals of the FPGA by deriving the internal resources of the netlist file, and the related resources involved in the netlist include clocks, LUT lookup table units, triggers, VCC, GND, BRAM block storage units, etc., and any intermediate state passed through during the signal transmission process can be observed, and batch operations can be performed, thereby solving the problem that the types of signals covered by the existing technology for observing FPGA are incomplete and not subtle. The key signal framing module and the PS end observation module in the system of the present invention are used for FPGA to frame and encode the multi-bit signals containing batch key signals bit by bit, and transmit the encoded data frame to the PS end in real time through an external trigger signal, and the PS end obtains the signal status by parsing the data frame. A data frame is defined in the key signal framing module, and the data frame records the key signal information, transmission time information, and CRC check information. The data frame can be transmitted to the PS end through an external signal trigger, so as to realize the real-time transmission and display of the operating status of the internal signal of the FPGA. In this way, the problem that the system of the prior art cannot observe the level status of the internal signal of the FPGA in a timely and on-demand manner is solved.

[0008] The invented system includes a netlist signal extraction module, a key signal framing module, and a PS end observation module; wherein:

[0009] The netlist file signal extraction module sequentially interprets the design library, top-level design unit, device instance declaration, and network connection declaration of the FPGA netlist file, selects key signals, modifies the netlist content according to the information of the netlist file and the key signal name, creates a new multi-bit signal, introduces the state information of the netlist resources involved in the batch of key signals into each bit of the newly created multi-bit signal, imports the updated netlist file into the FPGA, and simultaneously extracts the multi-bit signal to the FPGA output port;

[0010] The key signal framing module is used for FPGA to frame and encode the multi-bit signals containing batch key signals bit by bit, and transmit the encoded data frames to the PS end in real time through an external trigger signal;

[0011] The PS end observation module is used to parse the data frames transmitted from the FPGA to the PS end and visually monitor the status of batch key signals.

[0012] The steps of the monitoring method of the present invention are as follows:

[0013] Step 1, the netlist file signal extraction module interprets the FPGA netlist file, screens batches of key signals, and obtains the names and total numbers of key signals;

[0014] Step 2, the netlist file signal extraction module creates a multi-bit signal in the netlist file to accommodate batch key signals according to the netlist file hierarchy and key signal names;

[0015] Step 3, the netlist file signal extraction module introduces the status information of the netlist resources involved in and covered by the batch of key signals into each bit of the newly created multi-bit signal one by one;

[0016] Step 4, the netlist file signal extraction module imports the updated netlist file into the FPGA and simultaneously extracts the multi-bit signal to the FPGA output port;

[0017] Step 5: The key signal framing module allows the FPGA to frame and encode the multi-bit signals bit by bit and transmit them to the PS end; the PS end is used to parse the data frames transmitted by the FPGA for batch key signal information;

[0018] Step 6: The PS-side observation module parses the data frames transmitted from the FPGA to the PS-side and visually monitors the status of batch key signals.

[0019] Compared with the prior art, the present invention has the following advantages:

[0020] First, the method of the present invention interprets the FPGA netlist file in layers, and according to the method proposed by the present invention, the netlist resources of key signals can be derived, which overcomes the shortcomings of the prior art that the monitoring system is complex in design, occupies a large amount of FPGA resources, and has a significant impact on the performance of the circuit itself when the hardware circuit is used for monitoring. This makes the present invention have a significant resource advantage when the FPGA design scale is large and there are many key signals, and it occupies less original circuit resources of the FPGA and does not affect the working efficiency of the FPGA.

[0021] Second, the method of the present invention realizes the observation of the internal signals of FPGA by extracting the internal resources of the netlist file, and can observe any intermediate state during the signal transmission process, and can perform batch operations, which overcomes the shortcomings of the existing technology of incomplete and non-subtle signal types covered by FPGA observation. The present invention achieves a very high degree of granularity in the process of observing FPGA, and can monitor more signals and more complete operating states.

[0022] Third, the key signal framing module and the PS-side observation module in the system of the present invention can encode the signal status to be observed into frames for transmission, so as to realize the transmission and display of the operating status of the internal signal of the FPGA in real time. This overcomes the problem that the system of the prior art cannot observe the level status of the internal signal of the FPGA in a timely and on-demand manner. The system of the present invention can realize real-time and intuitive troubleshooting of whether the internal signal of the FPGA has an error, and provide data support for the subsequent analysis of single-particle upset errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 is a block diagram of the system of the present invention;

[0024] Figure 2 It is a flow chart of the steps for implementing the method of the present invention;

[0025] Figure 3 It is a structural diagram of a data frame of the present invention; DETAILED DESCRIPTION

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

[0027] Reference Figure 1 , the system of the present invention is further described in detail.

[0028] The system of the present invention comprises a netlist signal extraction module, a key signal framing module, and a PS end observation module; wherein:

[0029] The netlist file signal extraction module sequentially interprets the design library, top-level design unit, instance resource declaration, and wiring resource declaration of the FPGA netlist file, selects key signals, modifies the netlist content according to the information of the netlist file and the key signal name, creates a new multi-bit signal, introduces the status information of the netlist resources involved in the batch of key signals into each bit of the newly created multi-bit signal, imports the updated netlist file into the FPGA, and simultaneously extracts the multi-bit signal to the FPGA output port.

[0030] The key signal framing module is used for FPGA to frame and encode multi-bit signals containing batch key signals bit by bit, and transmit the encoded data frames to the PS end in real time through an external trigger signal.

[0031] The PS end observation module is used to parse the data frames transmitted from the FPGA to the PS end and visually monitor the status of batch key signals.

[0032] Reference Figure 2 , the steps of the monitoring method of the present invention are further described in detail.

[0033] Step 1: The netlist file signal extraction module interprets the FPGA netlist file, screens batches of key signals, and obtains key signal names.

[0034] The interpretation of the FPGA netlist file refers to reading the netlist file design library, top-level design unit, instance resource declaration, and wiring resource declaration, obtaining the design library type that describes the circuit, the input and output interface of the top-level design unit, the instance resource name in the instance resource declaration, the component type of the instance resource, the pin name connected to all the wiring in the wiring resource declaration, and the instance resource name to which the pin belongs.

[0035] The steps of screening batch key signals are as follows:

[0036] The first step is to calculate the influence weight of each netlist signal on the circuit according to the following formula:

[0037]

[0038] Among them, I d (s i ) represents the i-th netlist signal s i Impact weight on the circuit, nq i Represents the i-th netlist signal s i The total number of pins of the routing resources connected to the output port, ∑ represents the summation operation; j represents the total number of routing resources in the netlist.

[0039] In the second step, the influence weights of all netlist signals on the circuit are sorted in descending order, and K signals are selected from high to low in the sorting order to form a batch of key signals, and the value range of K is 30% to 50% of the total number of signals.

[0040] Step 2: The netlist file signal extraction module creates a multi-bit signal in the netlist file to accommodate batches of key signals according to the netlist file hierarchy and key signal names.

[0041] The creating of a new instance of a multi-bit signal accommodating batch critical signals refers to searching for the input and output port declaration position in the top-level module design unit in the order of the design library and the top-level design unit in the netlist, and inserting a multi-bit signal accommodating batch critical signals and having an output direction at this position.

[0042] The embodiment of the present invention sequentially searches the design library, the top-level design unit, and the input and output port declarations in the netlist. Insert the following statement before the first line of the port declaration:

[0043] (port(array(rename key_signal "key_signal[N-1:0]")N)(direction OUTPUT)

[0044] This statement indicates that a new N-bit signal is named key_signal and its direction is output. N represents the total number of netlist instance resources covered by the batch key signal.

[0045] Step 3: The netlist file signal extraction module introduces the status information of the netlist resources involved in and covered by the batch of critical signals into each bit of the newly created multi-bit signal.

[0046] The state information of the netlist resource includes the instance resource name corresponding to each key signal obtained from the instance resource declaration in the netlist, the component type to which the instance resource belongs, and the instance resource output terminal level.

[0047] Introducing the status information of the netlist resources covered by the batch critical signals into each bit of the newly created multi-bit signal one by one means that, according to the status information of the netlist resources corresponding to the critical signals, the output port connection of the instance resource is located in the netlist file, and the output port of the instance resource is connected to one bit of the multi-bit signal; repeating the above operation, connecting the output ports of the instance resources corresponding to the batch critical signals in the netlist one by one to each bit of the multi-bit signal, to obtain an updated netlist file.

[0048] The process of updating the netlist file in step 3 is further described below in conjunction with an embodiment of the present invention.

[0049] In the first step, the batch key signal name is recorded as KEY_NAME{KEY_NAME 1 ,KEY_NAME 2 , …, KEY_NAME k}. k represents the total number of batch critical signals.

[0050] Search the design library, top-level design unit, and instance resource declaration in sequence, and locate the statement instance...KEY_NAME in the instance resource declaration. k …cellrefY. Get the kth key signal KEY_NAME k The names of multiple instance resources used, record KEY_NAME k _X{KEY_NAME k _X 1 ,KEY_NAME k _X 2 ,…,KEY_NAME k _X z}, obtain the instance resource type declared after cellref, denoted as Y{Y 1 ,Y 2 ,…,Y z}. z represents the kth key signal KEY_NAME k The total number of instance resources involved.

[0051] The second step is to use the kth key signal KEY_NAME k The zth instance resource KEY_NAME k _X z Type Y z and design library information, obtain the unique instance resource output port name, the output port is recorded as P{P 1 , P 2 , P 3 ,…,P z}.

[0052] The third step is to use the instance resource name KEY_NAME k _X z and its output port name P z , search for the statement portref P in the routing resource declaration z instanceref KEY_NAME k _X z . Locate the wiring resource section that connects this port and insert the following statement into the wiring resource:

[0053] (portref(member key_signal y))

[0054] The statement indicates that the kth key signal KEY_NAME k The zth instance resource KEY_NAME k _X z The output of is connected to the (N-1-y)th bit of the multi-bit signal key_signal.

[0055] In the fourth step, repeat the above three steps to connect the instance resource output ports corresponding to the batch key signals in the netlist to each bit of the multi-bit signal one by one to obtain an updated netlist file.

[0056] Step 4: The netlist file signal export module imports the updated netlist file into the FPGA and exports the multi-bit signal to the FPGA output port.

[0057] The method of leading the multi-bit signal to the FPGA output port refers to importing the updated netlist file into the FPGA, writing a top-level module in the FPGA to instantiate and call the netlist file, and setting the multi-bit signal as the output signal of the FPGA.

[0058] Step 5, the key signal framing module frames and encodes the multi-bit signal bit by bit by the FPGA and transmits it to the PS end; the PS end analyzes the data frame transmitted by the FPGA for batch key signal information;

[0059] The framing coding refers to that the FPGA performs framing coding on a multi-bit signal bit by bit to form a data frame.

[0060] The data frame structure includes: key signal information, transmission time information, and CRC check information.

[0061] Combine the following Figure 3 , the structure of the data frame of the embodiment of the present invention is further described.

[0062] In order to indicate the state related to the transmission of key signals, a data frame is defined in the embodiment of the present invention. The data frame records the key signal information, the transmission time information, and the CRC check information.

[0063] The structure of the data frame in the embodiment of the present invention is as follows Figure 3 As shown, the frame header information locates the start of the data frame; the timestamp information is controlled by the internal logic of the FPGA, recording the time when the external signal triggers the sending of the data frame. The key signal ID is encoded from 0 to N-1, supporting a total of N bits of encoding information of the netlist instance resources involved in the coverage of the batch key signal. The key signal state represents the level state, the high level is 1, and the low level is 0; the check core is used to detect and correct the data.

[0064] The data frame is transmitted to the PS end through an external signal trigger.

[0065] Step 6: The PS-side observation module parses the data frame transmitted from the FPGA to the PS-side, generates observation curves and statistical tables on the PS-side, obtains the signal flip FIT rate, and intuitively monitors the status of batch key signals.

Claims

1. An internal batch signal monitoring system based on netlist file signal extraction, It is characterized in that The system includes a netlist signal extraction module, a key signal framing module, and a PS end observation module; wherein: The netlist file signal extraction module sequentially interprets the design library, top-level design unit, instance resource declaration, and wiring resource declaration of the FPGA netlist file, selects key signals, modifies the netlist content according to the information of the netlist file and the key signal name, creates a new multi-bit signal, introduces the state information of the netlist resources involved in the batch of key signals to each bit of the newly created multi-bit signal, imports the updated netlist file into the FPGA, and simultaneously extracts the multi-bit signal to the FPGA output port; The key signal framing module is used for FPGA to frame and encode the multi-bit signals containing batch key signals bit by bit, and transmit the encoded data frames to the PS end in real time through an external trigger signal; The PS end observation module is used to parse the data frames transmitted from the FPGA to the PS end and visually monitor the status of batch key signals.

2. An internal batch signal monitoring method based on netlist file signal extraction of the monitoring system according to claim 1, It is characterized in that By leading out the netlist resources of key signals and covering any intermediate states during the FPGA signal transmission process, batch operations can be performed to achieve real-time transmission and display of the operating status of the FPGA internal signals; the steps of the monitoring method are as follows: Step 1, the netlist file signal extraction module interprets the FPGA netlist file, screens batches of key signals, and obtains the names and total numbers of key signals; Step 2, the netlist file signal extraction module creates a multi-bit signal in the netlist file to accommodate batches of key signals according to the netlist file hierarchy and the total number of key signals; Step 3, the netlist file signal extraction module introduces the status information of the netlist resources involved in and covered by the batch of key signals into each bit of the newly created multi-bit signal one by one; Step 4, the netlist file signal extraction module imports the updated netlist file into the FPGA and simultaneously extracts the multi-bit signal to the FPGA output port; Step 5: The key signal framing module allows the FPGA to frame and encode the multi-bit signals bit by bit and transmit them to the PS end; the PS end is used to parse the data frames transmitted by the FPGA for batch key signal information; Step 6: The PS-side observation module parses the data frames transmitted from the FPGA to the PS-side and visually monitors the status of batch key signals.

3. According to the internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that Interpreting the FPGA netlist file in step 1 refers to reading the netlist file design library, top-level design unit, instance resource declaration, and wiring resource declaration, obtaining the design library type that describes the circuit, the input and output interface of the top-level design unit, the instance resource name in the instance resource declaration, the component type of the instance resource, the pin names connected to all wiring in the wiring resource declaration, and the instance resource names to which the pins belong.

4. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that The steps for screening batch key signals described in step 1 are as follows: The first step is to calculate the influence weight of each netlist signal on the circuit according to the following formula: Among them, I d (s i ) represents the i-th netlist signal s i Impact weight on the circuit, nq i Represents the i-th netlist signal s i The total number of pins of the wiring resources connected to the output port, ∑ represents the summation operation; j represents the total number of wiring resources in the netlist; In the second step, the influence weights of all netlist signals on the circuit are sorted in descending order, and K signals are selected from high to low in the sorting order to form a batch of key signals, and the value range of K is 30% to 50% of the total number of signals.

5. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that The creation of a new multi-bit signal that accommodates batch critical signals in step 2 means searching for the input and output port declaration positions in the top-level module design unit in the order of the design library and the top-level design unit in the netlist, and inserting a multi-bit signal that accommodates batch critical signals and has an output direction at this position.

6. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that The state information of the netlist resources in step 3 includes the instance resource name corresponding to each key signal obtained from the instance resource declaration in the netlist, the component type to which the instance resource belongs, and the output level of the instance resource.

7. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that Introducing the status information of the netlist resources covered by the batch critical signals described in step 3 into each bit of the newly created multi-bit signal one by one means that, according to the status information of the netlist resources corresponding to the critical signal, the output port connection of the instance resource is located in the netlist file, and the output port of the instance resource is connected to one bit of the multi-bit signal; repeating the above operation, connecting the output ports of the instance resources corresponding to the batch critical signals in the netlist to each bit of the multi-bit signal one by one, and obtaining an updated netlist file.

8. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that Leading out the multi-bit signal to the FPGA output port in step 4 means importing the updated netlist file into the FPGA, writing a top-level module in the FPGA to instantiate the calling netlist file, and setting the multi-bit signal as the output signal of the FPGA.

9. The internal batch signal monitoring method based on netlist file signal extraction according to claim 2, It is characterized in that The framing and encoding in step 5 refers to that the FPGA performs framing and encoding of the multi-bit signal bit by bit to form a data frame.

10. The internal batch signal monitoring method based on netlist file signal extraction according to claim 9, It is characterized in that The data frame structure includes: key signal information, transmission time information, and CRC check information.

Citation Information

Patent Citations

  • Circuit level single event effect simulation platform

    CN108363894A

  • Partial triple-modular redundancy method and system for analyzing single-particle sensitivity based on netlist

    CN114186520A

  • Single event upset detection method for RAM (random access memory) in FPGA (field programmable gate array)

    CN116153380A

Cited By

  • FPGA signal observation method, system, device and equipment and storage medium

    CN120670244A