CN103389917B - A kind of method of repairing during SRAM type FPGA SEU runs - Google Patents

A kind of method of repairing during SRAM type FPGA SEU runs Download PDF

Info

Publication number
CN103389917B
CN103389917B CN201310269312.8A CN201310269312A CN103389917B CN 103389917 B CN103389917 B CN 103389917B CN 201310269312 A CN201310269312 A CN 201310269312A CN 103389917 B CN103389917 B CN 103389917B
Authority
CN
China
Prior art keywords
fpga
sram type
bit stream
type fpga
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310269312.8A
Other languages
Chinese (zh)
Other versions
CN103389917A (en
Inventor
王宁
康旭辉
申景诗
赵雪纲
辛明瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
513 Research Institute of 5th Academy of CASC
Original Assignee
513 Research Institute of 5th Academy of CASC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 513 Research Institute of 5th Academy of CASC filed Critical 513 Research Institute of 5th Academy of CASC
Priority to CN201310269312.8A priority Critical patent/CN103389917B/en
Publication of CN103389917A publication Critical patent/CN103389917A/en
Application granted granted Critical
Publication of CN103389917B publication Critical patent/CN103389917B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Logic Circuits (AREA)
  • Design And Manufacture Of Integrated Circuits (AREA)

Abstract

Do you the invention discloses a kind of SRAM type FPGA? the method of repairing during SEU runs, belongs to the configuring technical field of SRAM type FPGA.The method comprises the steps: the first step, SRAM type FPGA is powered on after, use configuration management FPGA first to carry out a global configuration to SRAM type FPGA; Second step, configuration management FPGA read configuration bit stream file, detect this bit stream file and are handled as follows: when the write of the frame in bit stream file order FDRI being detected, frame number of words subsidiary in FDRI is replaced with logic and interconnect frame number of words; When content configuration data Block being detected? during RAM, then no operation command is used to replace Block? RAM; When register reset command GRESTORE being detected, then when using no operation command to replace GRESTORE; When I/O startup command STARTUP being detected, then no operation command is used to replace STARTUP; 3rd step, by after second step process bit stream file write SRAM type FPGA; 4th step, repetition second step and the 3rd step are until SRAM type FPGA quits work.Does is this method applicable to SRAM type FPGA? SEU repairs in running.

Description

A kind of method of repairing during SRAM type FPGA SEU runs
Technical field
The present invention relates to the configuring technical field of SRAM type FPGA, a kind of method of particularly repairing in SRAM type FPGASEU operation.
Background technology
Virtex-5 Series FPGA is the novel FPGA based on SRAM technique that Xilinx company releases, and its integrated level is high, and logic function is strong, is widely used in Modern Digital System design.The logic function configuration of Virtex-5FPGA is realized by the data of its SRAM type configuring area,
SRAM attribute determines configuring area data and can lose after a power failure, therefore must be kept in nonvolatile external memory by configuration data, reconfigure after FPGA powers on to it.
In aerospace applications, Energetic particle bombardment causes SRAM type FPGA configuring area single-particle inversion SEU may cause fpga logic mistake, must carry out repairing the normal operation that can ensure FPGA to the configuring area single-particle inversion of FPGA.Usually following several strategy is had at the single-particle inversion of the configuring area of traditional reply FPGA:
1), regular global reconfiguration
SEU is a kind of soft error, and it can not cause the permanent damages of hardware, and after FPGA reloads configuration data, the impact of SEU can be removed.The application not bery high to some reliability requirements, system has certain tolerance to a small amount of SEU, and regular FPGA global reconfiguration can eliminate again the accumulation of SEU, substantially can ensure that system is in normal operating conditions.Thus, the application general to reliability requirement, solving SEU effect by the global reconfiguration of FPGA is a kind of acceptable scheme.
2), urgent global reconfiguration
In the occasion that some is higher to reliability requirement, regular global reconfiguration becomes can not accept owing to cannot eliminate SEU impact fast.Urgent global reconfiguration system must possess corresponding SEU error-detecting and errorlevel judgment mechanism, determines to carry out global reconfiguration immediately or postpone global reconfiguration until current key has operated after generation SEU mistake.
Requiring in the application that FPGA is highly reliable, long-time continuous is run, regularly reshuffle strategy, promptly reshuffle strategy all become inapplicable because the normal operation of FPGA can be interrupted, how when not interrupting the operation of FPGA, the reparation carrying out SEU mistake will be the development trend of configuring technical of SRAM type FPGA.
Repair in the operation of SEU, traditional method adopts " retaking of a year or grade-compare-write-back " mode, wherein need to use a shielding file .msk and retaking of a year or grade file .rbb, actual process is: use retaking of a year or grade file .rbb and original configuration file .bit to compare, if the two difference, utilizes shielding file .msk to be write in FPGA by retaking of a year or grade file .rbb.This mode is except the logic of relative complex, and maximum shortcoming is that .msk with .rbb file all has the size identical with original configuration file .bit, and what cause storage space takies three times that reach original; And due to the retaking of a year or grade holding time of configuring area longer, do not reach the real-time of carrying out required for middle reparation.Therefore the mode of above " retaking of a year or grade-compare-write-back " impracticable.
Summary of the invention
In view of this, the invention provides during a kind of SRAM type FPGASEU runs the method for repairing, object is the global configuration that powers on realizing SRAM type FPGA, and repairs in running the SEU of configuring area, and takies less storage space, possesses real-time.
For achieving the above object, the method comprises the steps:
The first step, after SRAM type FPGA powers on, configuration management FPGA is used to carry out a global configuration to SRAM type FPGA;
Second step, configuration management FPGA read configuration bit stream file, detect this bit stream file and are handled as follows:
When the write of the frame in bit stream file order FDRI being detected, frame number of words subsidiary in FDRI is replaced with logic and interconnect frame number of words;
When content configuration data BlockRAM being detected, then no operation command is used to replace BlockRAM;
When register reset command GRESTORE being detected, then no operation command is used to replace GRESTORE;
When I/O startup command STARTUP being detected, then no operation command is used to replace STARTUP;
3rd step, by after second step process bit stream file write SRAM type FPGA;
4th step, repetition second step and the 3rd step are until SRAM type FPGA quits work.
Beneficial effect:
1, present invention employs the method for carrying out " washing " to SEU mistake to repair in the operation realizing SEU.The data write with a brush dipped in Chinese ink configuring area are still from original configuration bit stream file, its central principle is when writing data to configuration frame data entrance register FDRI, only write the logic data relevant with interconnection configuration, BlockRAM content-data is masked, so namely, achieve the washing of SEU, also can not destroy the data in user RAM.The order simultaneously interrupting FPGA operation also will mask, and as GRESTORE order, this and order interrupts the normal operation of FPGA.Therefore the method can be in operation and to repair the SEU mistake of FPGA.
2, because the method does not detect SEU mistake, but repeatedly write with a brush dipped in Chinese ink to configuring area into correct configuration data, SEU mistake " washing " is fallen.Compare " retaking of a year or grade-compare-write-back " mode of classic method, do not use shielding file .msk and retaking of a year or grade file .rbb, use original configuration bit stream file, therefore take less storage space; Simultaneously owing to eliminating the retaking of a year or grade time of configuring area, SEU also wants shorter from occurring to the time be repaired relative to classic method, possesses real-time;
Accompanying drawing explanation
Fig. 1 circuit connection diagram;
Fig. 2 bit stream file and SEU wash the transforming relationship of bit stream;
Fig. 3 SEU washing flow figure.
Embodiment
To develop simultaneously embodiment below in conjunction with accompanying drawing, describe the present invention.
The method of repairing during the SEU for SRAM type FPGA used in the present invention runs, wherein the method connects can complete based on traditional FPGA circuit, and its circuit connects as shown in Figure 1.
The SRAM type FPGA used in the present embodiment is Virtex-5 Series FPGA;
The configuration bit stream file of this Virtex-5FPGA is deposited in nonvolatile external memory, and in practical operation, normally used nonvolatile external memory is PROM;
The configuration of this Virtex-5FPGA is controlled by configuration management FPGA, and the configuration management FPGA used in the present embodiment is anti-fuse type, does not affect by SEU;
Wherein be connected by SlvaeSelectMAP interface between Virtex-5FPGA with configuration management FPGA.
The method specific works step of repairing during the SEU for SRAM type FPGA provided by the present invention runs as shown in Figure 3, comprises following concrete steps:
The first step, power on after, use configuration management FPGA to start to carry out a global configuration to SRAM type FPGA; Its former state, for read configuration bit stream file from nonvolatile external memory PROM, is flowed to SRAM type FPGA to carry out global configuration by global configuration method; After completing global configuration, the DONE signal of SRAM type FPGA is driven high, and mark SRAM type FPGA global configuration completes;
Second step, the first step global configuration success after configuration management FPGA enter washers' SEU operation mode.
In the present embodiment, configuration management FPGA mono-aspect needs to carry out global configuration to RAM type FPGA, namely realizes the first step; Need the process of configuration bit-stream document analysis and write RAM type FPGA to carry out SEU washing on the other hand, namely realizing second step.Therefore configuration management FPGA inside has the circuit the write direct setting of a road bit stream file in the present embodiment, and have a road bit stream document analysis circuit, concrete configuration management FPGA structure as shown in Figure 1 simultaneously.
Configuration management FPGA reads configuration bit stream file, via bit stream document analysis circuit, real-time process is done to bit stream file, when configuration management FPGA detects that the settling signal DONE of SRAM type FPGA is driven high, i.e. global configuration success, flows to SRAM type FPGA by the bit stream file after process in real time.APA600 restarts to read bit stream from XCF16P first address, and bit stream parser circuitry is resolved bit road, replaces and shielding processing partial order in bit stream and data, detects in bit stream after DESYNC order, and one time SEU has washed.
In this step, analyze the Structure composing of bit stream file, as shown in Figure 2, bit stream file comprise front and back command group, logic and interconnected configuration data and, the operation that FDRI includes frame number of words, register reset command GRESTORE and startup command START can have influence on SRAM type FPGA is ordered in the frame write wherein in command group.
Real-time process wherein in this step comprises:
If when the frame write order FDRI in bit stream file being detected, in FDRI with frame number of words contain the frame number of words summation of logic and interconnect frame number of words and content configuration data, during owing to washing in the present invention, that repeats to write with a brush dipped in Chinese ink should be only logic and interconnected configuration data, do not need to comprise content configuration data, so frame number of words subsidiary in this order is replaced with logic and interconnect frame number of words herein;
If content configuration data BlockRAM detected, then use no operation command to replace BlockRAM, because in SRAM type FPGA, BlockRAM describes user data, does not therefore need washing.Make BlockRAM content initial value be written into SRAM type FPGA so use no operation command to replace BlockRAM, then the user data in SRAM type FPGA is preserved, and only configuring area SEU is washed;
If register reset command GRESTORE order detected, then use no operation command to replace GRESTORE order, the register avoided in SRAM type FPGA resets the SRAM type FPGA interruption caused;
If startup command START order detected, then no operation command is used to replace START order.Because START order can start the flow process of a series of FPGA startup, and some of them flow process can make I/O be in high-impedance state within a period of time, thus destroy the normal operation of I/O, therefore START order is not write with a brush dipped in Chinese ink as SRAM type FPGA by this method, thus avoids starting the SRAM type FPGA interruption brought;
Bit stream file after the acquisition process of this step is designated as SEU and washs bit stream.
3rd step, SEU washed bit stream write SRAM type FPGA;
4th step, repetition second step and the 3rd step are until FPGA quits work.Namely, after a SEU has washed, SEU washing next time starts immediately, till washing work should be continued until that FPGA quits work.
As can be seen from above-mentioned flow process, except having done except replacement and shielding processing to partial order in bit stream and data, the process of washing SEU has been consistent with the process of the global configuration that powers on.
The present invention also can use timer, washers' operation mode of SEU by timer is specified after timing, after having washed each time, washs by timer is specified after timing next time.Equally also can use peripheral control unit, send SEU wash instruction to configuration management FPGA by peripheral control unit, configuration management FPGA receives the washers' operation mode starting SEU after SEU washs instruction.In the implementation process of reality, can select flexibly according to the demand of application scenario.
In sum, these are only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (1)

1. a method of repairing in SRAM type FPGA single particle upset SEU operation, it is characterized in that, the method comprises the steps:
The first step, after SRAM type FPGA powers on, configuration management FPGA is used to carry out a global configuration to SRAM type FPGA; Its former state, for read configuration bit stream file from nonvolatile external memory PROM, is flowed to SRAM type FPGA to carry out global configuration by global configuration method;
Second step, configuration management FPGA read configuration bit stream file, detect this bit stream file and are handled as follows:
When the write of the frame in bit stream file order FDRI order being detected, frame number of words subsidiary in FDRI is replaced with logic and interconnect frame number of words;
When content configuration data BlockRAM being detected, then no operation command is used to replace BlockRAM;
When the GRESTORE order of register reset command being detected, then no operation command is used to replace GRESTORE;
When startup command START order being detected, then no operation command is used to replace START;
3rd step, by after second step process bit stream file write SRAM type FPGA;
4th step, repetition second step and the 3rd step are until SRAM type FPGA quits work.
CN201310269312.8A 2013-06-28 2013-06-28 A kind of method of repairing during SRAM type FPGA SEU runs Active CN103389917B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310269312.8A CN103389917B (en) 2013-06-28 2013-06-28 A kind of method of repairing during SRAM type FPGA SEU runs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310269312.8A CN103389917B (en) 2013-06-28 2013-06-28 A kind of method of repairing during SRAM type FPGA SEU runs

Publications (2)

Publication Number Publication Date
CN103389917A CN103389917A (en) 2013-11-13
CN103389917B true CN103389917B (en) 2015-12-23

Family

ID=49534196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310269312.8A Active CN103389917B (en) 2013-06-28 2013-06-28 A kind of method of repairing during SRAM type FPGA SEU runs

Country Status (1)

Country Link
CN (1) CN103389917B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021051A (en) * 2014-06-06 2014-09-03 上海航天电子通讯设备研究所 Monitoring and correcting device for single event upset fault of satellite borne spread spectrum responder
CN106919463B (en) * 2017-01-23 2020-04-28 北京空间飞行器总体设计部 Spacecraft BC end 1553B bus chip RAM reconfiguration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7036059B1 (en) * 2001-02-14 2006-04-25 Xilinx, Inc. Techniques for mitigating, detecting and correcting single event upset effects in systems using SRAM-based field programmable gate arrays
CN102253864A (en) * 2011-06-14 2011-11-23 中国科学院长春光学精密机械与物理研究所 Fault-tolerant device for power-up starting of FPGA (Field Programmable Gate Array) chip
CN102779079A (en) * 2011-05-12 2012-11-14 中国科学院空间科学与应用研究中心 Configuration method and system used for satellite-bone SRAM (Static Random Access Memory) type FPGA (Field Programmable Gate Array) working on track for long time

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7263631B2 (en) * 2004-08-13 2007-08-28 Seakr Engineering, Incorporated Soft error detection and recovery

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7036059B1 (en) * 2001-02-14 2006-04-25 Xilinx, Inc. Techniques for mitigating, detecting and correcting single event upset effects in systems using SRAM-based field programmable gate arrays
CN102779079A (en) * 2011-05-12 2012-11-14 中国科学院空间科学与应用研究中心 Configuration method and system used for satellite-bone SRAM (Static Random Access Memory) type FPGA (Field Programmable Gate Array) working on track for long time
CN102253864A (en) * 2011-06-14 2011-11-23 中国科学院长春光学精密机械与物理研究所 Fault-tolerant device for power-up starting of FPGA (Field Programmable Gate Array) chip

Also Published As

Publication number Publication date
CN103389917A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
CN105279049A (en) Method for designing triple-modular redundancy type fault-tolerant computer IP core with fault spontaneous restoration function
CN101826038B (en) Circuit and method for resisting SEU of SRAM FPGA device
CN102521084B (en) Data storage and reading method
CN103578567B (en) Based on triplication redundancy Flouride-resistani acid phesphatase self-refresh register
CN103971732A (en) Method and system for monitoring single event upset effect of FPGA (field programmable gate array) and correcting reloading
CN101937723A (en) SIC (semiconductor integrated circuit) and preservation and recover the method for its internal state
CN103957001A (en) Latch capable of resisting dual-node upset
CN104579313A (en) On-orbit SRAM type FPGA fault detection and restoration method based on configuration frame
CN103389917B (en) A kind of method of repairing during SRAM type FPGA SEU runs
CN105320579A (en) Self-repairing dual-redundancy assembly line oriented to SPARC V8 processor and fault-tolerant method
CN109491821A (en) Primary particle inversion resistant hardened system and method
CN105468470A (en) D-triggering watchdog MCU monitoring circuit and use method thereof
CN101916306A (en) System and method for positioning FPGA chip sensitive area
US9508414B2 (en) Memory cell supply voltage reduction prior to write cycle
CN105320575B (en) A kind of self checking of duplication redundancy streamline and recovery device and method
CN103631677B (en) A kind of method that PLC device power-down data keeps
CN104332174A (en) Memory chip writing protective circuit and memory chip writing protective method applied to security product
CN101915894B (en) Method for testing real-time finite-sate machine in digital logic device
CN101582294B (en) Method for solving problem of SRAM module latch and strengthening reliability of SRAM module
CN109582498A (en) Data protection circuit and guard method when a kind of CPLD powered-off fault
CN104331341A (en) FPGA (field programmable gate array)-based failure recovery method
CN112181735B (en) Error detection device and method for single event effect of internal values and parameters of FPGA chip
CN205193785U (en) Self -check and recovery device of duplication redundancy assembly line
CN106354580A (en) Data recovery method and device
Anjankar et al. Fault Tolerant and Correction System Using Triple Modular Redundancy

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant