[go: up one dir, main page]

CN114968685B - Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor - Google Patents

Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor Download PDF

Info

Publication number
CN114968685B
CN114968685B CN202210601810.7A CN202210601810A CN114968685B CN 114968685 B CN114968685 B CN 114968685B CN 202210601810 A CN202210601810 A CN 202210601810A CN 114968685 B CN114968685 B CN 114968685B
Authority
CN
China
Prior art keywords
edac
microprocessor
reinforced
test
test program
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
CN202210601810.7A
Other languages
Chinese (zh)
Other versions
CN114968685A (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.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN202210601810.7A priority Critical patent/CN114968685B/en
Publication of CN114968685A publication Critical patent/CN114968685A/en
Application granted granted Critical
Publication of CN114968685B publication Critical patent/CN114968685B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2236Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test CPU or processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Microcomputers (AREA)

Abstract

本发明公开一种EDAC加固微处理器单粒子翻转截面的测试方法,步骤包括:S1.配置被测EDAC加固微处理器的测试程序,并测试测试程序完成一次运行所用的时间、运行使用到的被测EDAC加固微处理器SRAM部件的面积;S2.根据测试得到的时间、面积初始化高能粒子注量率;S3.按照高能粒子注量率不断注入高能粒子辐照被测EDAC加固微处理器,并启动被测EDAC加固微处理器的测试程序,统计测试程序未在时间内运行完成以及运行结果错误的软错误次数,直至总注入量达到预设值;S4.根据统计的软错误次数以及总注入量计算被测EDAC加固微处理器的单粒子翻转截面。本发明具有实现方法简单、测试效率以及精度高等优点。

The present invention discloses a test method for a single particle upset cross section of an EDAC reinforced microprocessor, the steps of which include: S1. configuring a test program of the tested EDAC reinforced microprocessor, and testing the time taken by the test program to complete one operation and the area of the SRAM component of the tested EDAC reinforced microprocessor used in the operation; S2. initializing the high-energy particle injection rate according to the time and area obtained by the test; S3. continuously injecting high-energy particles to irradiate the tested EDAC reinforced microprocessor according to the high-energy particle injection rate, and starting the test program of the tested EDAC reinforced microprocessor, and counting the number of soft errors that the test program is not completed within the time and the number of wrong operation results, until the total injection amount reaches a preset value; S4. calculating the single particle upset cross section of the tested EDAC reinforced microprocessor according to the statistical number of soft errors and the total injection amount. The present invention has the advantages of simple implementation method, high test efficiency and high precision.

Description

EDAC加固微处理器单粒子翻转截面的测试方法Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor

技术领域Technical Field

本发明涉及单粒子效应测试技术领域,特指一种EDAC加固微处理器单粒子翻转截面的测试方法。The invention relates to the technical field of single particle effect testing, and in particular to a testing method for a single particle upset cross section of an EDAC reinforced microprocessor.

背景技术Background technique

微处理器凭借其集成度高、运算能力强、IO接口丰富等特点,在航空、航天领域得到了越来越广泛的应用。然而,应用于航空、航天等恶劣辐射环境的微处理器内部存储程序和数据的SRAM部件很容易在空间高能粒子的轰击下发生单粒子翻转效应(Single-EventUpset,SEU)而产生软错误,造成不可估量的损失。因此,准确测试微处理器对单粒子翻转效应的敏感程度尤为重要。Microprocessors have been increasingly widely used in the fields of aviation and aerospace due to their high integration, strong computing power, and rich IO interfaces. However, the SRAM components that store programs and data inside microprocessors used in harsh radiation environments such as aviation and aerospace are prone to single-event upsets (SEUs) under the bombardment of high-energy particles in space, resulting in soft errors and inestimable losses. Therefore, it is particularly important to accurately test the sensitivity of microprocessors to single-event upsets.

微处理器对单粒子翻转效应的敏感程度一般使用单粒子翻转截面来C表示。单粒子翻转截面C是指微处理器在具有一定LET(Linear Energy Transfer,传能线密度)的高能粒子轰击下会发生软错误的区域的面积。在地面测试微处理器的单粒子翻转截面时高能粒子一般是采用高能粒子加速器产生。如中国专利申请200780027325.7公开了一种单粒子翻转测试电路及方法,该方案即是通过将微处理器配置为扫描链模式来测试其内部存储单元的单粒子翻转效应;以及中国专利申请201810193529.8公开一种微处理器单粒子翻转截面的测试方法,该方案是通过分别测试微处理器内核、内部存储器和外设部件的单粒子翻转截面并求和来全面反映被测微处理器整体的单粒子翻转敏感程度。The sensitivity of a microprocessor to single-particle upset effects is generally expressed using a single-particle upset cross section C. The single-particle upset cross section C refers to the area of the microprocessor where soft errors will occur when bombarded by high-energy particles with a certain LET (Linear Energy Transfer). When testing the single-particle upset cross section of a microprocessor on the ground, high-energy particles are generally generated by a high-energy particle accelerator. For example, Chinese patent application 200780027325.7 discloses a single-particle upset test circuit and method, which tests the single-particle upset effect of its internal storage unit by configuring the microprocessor in a scan chain mode; and Chinese patent application 201810193529.8 discloses a test method for the single-particle upset cross section of a microprocessor, which comprehensively reflects the single-particle upset sensitivity of the entire microprocessor under test by testing the single-particle upset cross sections of the microprocessor core, internal memory, and peripheral components separately and summing them.

但是当应用于航空、航天等恶劣辐射环境中时,微处理器内部存储程序和数据的SRAM部件往往需要采用EDAC(Error Detection And Correction,错误检测与纠正)电路来进行抗单粒子翻转加固。当微处理器读取SRAM部件某个地址保存的多位数据时,EDAC电路就会对数据进行解码检查,如果发现数据发生SEU(单粒子翻转),EDAC电路就会进行纠正。而随着半导体工艺尺寸的缩减,一个高能粒子可能会导致微处理器内部SRAM部件中多个物理临近的存储位同时发生SEU,即多位翻转效应(Multi-Bit Upset,MBU),这可能会导致SRAM部件一个地址保存的多位数据中发生SEU的数据位数超过EDAC电路的可纠错位数,进而导致EDAC电路失效。However, when used in harsh radiation environments such as aviation and aerospace, the SRAM components that store programs and data inside the microprocessor often need to use EDAC (Error Detection And Correction) circuits for single-particle upset reinforcement. When the microprocessor reads multi-bit data stored at a certain address in the SRAM component, the EDAC circuit will decode and check the data. If it is found that the data has an SEU (single-particle upset), the EDAC circuit will correct it. As the size of semiconductor processes decreases, a high-energy particle may cause SEU to occur simultaneously in multiple physically adjacent storage bits in the SRAM component inside the microprocessor, which is the multi-bit upset effect (Multi-Bit Upset, MBU). This may cause the number of data bits that have SEU in the multi-bit data stored at one address in the SRAM component to exceed the number of error-correctable bits of the EDAC circuit, thereby causing the EDAC circuit to fail.

现有技术中地面测试微处理器的单粒子翻转截面时,为缩短测试时间通常是采用很高的注量率,注量率即为单位时间轰击到单位面积微处理器的高能粒子个数,例如测试时高能粒子注量率往往为实际空间高能粒子通量的1万倍以上。而实际空间中高能粒子的通量非常低,且如果高能粒子的注量率较高,EDAC加固微处理器的单粒子翻转截面就可能会被错误的高估。现有技术中微处理器单粒子翻转截面测试方法均未考虑高能粒子注量率对微处理器中EDAC电路抗单粒子翻转能力的影响,因而测试准确度、有效性并不高。In the prior art, when testing the single particle upset cross section of a microprocessor on the ground, a very high fluence rate is usually used to shorten the test time. The fluence rate is the number of high-energy particles that bombard the microprocessor per unit area per unit time. For example, during testing, the high-energy particle fluence rate is often more than 10,000 times the high-energy particle flux in actual space. However, the flux of high-energy particles in actual space is very low, and if the fluence rate of high-energy particles is high, the single particle upset cross section of the EDAC reinforced microprocessor may be mistakenly overestimated. The single particle upset cross section test methods of microprocessors in the prior art do not consider the impact of the high-energy particle fluence rate on the single particle upset resistance of the EDAC circuit in the microprocessor, so the test accuracy and effectiveness are not high.

发明内容Summary of the invention

本发明解决的技术问题在于:针对现有技术存在的技术问题,提出一种实现方法简单、测试效率以及精度高的EDAC加固微处理器单粒子翻转截面的测试方法,能够考虑高能粒子注量率对微处理器中EDAC电路抗单粒子翻转能力的影响,实现微处理器中EDAC电路抗单粒子翻转能力的高效、精准测试。The technical problem solved by the present invention is: in view of the technical problems existing in the prior art, a testing method for the single particle upset cross section of an EDAC reinforced microprocessor is proposed, which has a simple implementation method, high testing efficiency and high precision. The method can take into account the influence of the high-energy particle injection rate on the single particle upset resistance capability of the EDAC circuit in the microprocessor, and realize efficient and accurate testing of the single particle upset resistance capability of the EDAC circuit in the microprocessor.

为解决上述技术问题,本发明提出的技术方案为:In order to solve the above technical problems, the technical solution proposed by the present invention is:

一种EDAC加固微处理器单粒子翻转截面的测试方法,步骤包括:A method for testing the single event upset cross section of an EDAC-reinforced microprocessor, comprising the following steps:

S1.配置用于测试被测EDAC加固微处理器的测试程序,并测试所述测试程序完成一次运行所用的时间T、所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S;S1. A test program configured to test the EDAC reinforced microprocessor under test, and to test the time T taken to complete a run of the test program, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used by the test program to run;

S2.根据测试得到的所述测试程序完成一次运行所用的时间T、所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化高能粒子注量率F;S2. The time T taken to complete a run of the test program obtained from the test, the area S of the tested EDAC reinforced microprocessor SRAM component used to initialize the high-energy particle fluence rate F;

S3.按照所述高能粒子注量率F不断注入高能粒子辐照被测EDAC加固微处理器,并启动被测EDAC加固微处理器的所述测试程序,统计测试程序未在所述时间T内运行完成以及运行结果错误的软错误次数,直至总注入量达到预设值;S3. Continuously injecting high-energy particles according to the high-energy particle injection rate F to irradiate the EDAC reinforced microprocessor under test, and starting the test program of the EDAC reinforced microprocessor under test, and counting the number of soft errors of the test program not being completed within the time T and the number of soft errors of the running results being wrong, until the total injection amount reaches a preset value;

S4.根据步骤S3统计的所述软错误次数以及总注入量计算被测EDAC加固微处理器的单粒子翻转截面。S4. Calculate the single event upset cross section of the EDAC reinforced microprocessor under test according to the number of soft errors counted in step S3 and the total injection amount.

进一步的,所述步骤S2中,根据被测EDAC加固微处理器中EDAC电路可纠正的错误位数m、所述测试程序完成一次运行所用的时间T以及所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化所述高能粒子注量率F。Furthermore, in step S2, the high-energy particle fluence rate F is initialized according to the number of error bits m that can be corrected by the EDAC circuit in the EDAC hardened microprocessor under test, the time T taken by the test program to complete one run, and the area S of the SRAM component of the EDAC hardened microprocessor under test used in the test program run.

进一步的,所述步骤S2中,具体按照下式初始化所述高能粒子注量率F:Furthermore, in step S2, the high-energy particle fluence rate F is initialized specifically according to the following formula:

F=(C0·m)/(T·S)F=(C 0 ·m)/(T·S)

其中,m是被测EDAC加固微处理器中EDAC电路可纠正的错误位数,C0为预设系数,T为测试程序完成一次运行所用的时间,S为述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积。Wherein, m is the number of error bits that can be corrected by the EDAC circuit in the EDAC reinforced microprocessor under test, C0 is a preset coefficient, T is the time taken by the test program to complete one run, and S is the area of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run.

进一步的,预设系数C0为0.1~1之间的实数。Furthermore, the preset coefficient C 0 is a real number between 0.1 and 1.

进一步的,所述步骤S3的步骤包括:Furthermore, the steps of step S3 include:

S301.初始化软错误计数变量K=0;S301. Initialize the soft error count variable K=0;

S302.按照所述高能粒子按注量率F辐照被测EDAC加固微处理器并开始统计总注量Q;S302. Irradiate the EDAC reinforced microprocessor under test according to the high-energy particles at a fluence rate F and start counting the total fluence Q;

S303.判断的当前总注量Q是否达到预设值,如果是转入步骤S306,否则转步骤S304;S303. Determine whether the current total injection volume Q reaches the preset value, if yes, proceed to step S306, otherwise proceed to step S304;

S304.控制被测EDAC加固微处理器启动运行所述测试程序,若所述测试程序在所述时间T内完成一次运行并输出运行结果则转S305,否则将软错误计数变量K的值增1后转步骤S303;S304. Control the EDAC reinforced microprocessor under test to start running the test program. If the test program completes one run within the time T and outputs the run result, go to S305. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303.

S305.判断所述测试程序当前输出的运行结果是否正确,如果正确则转步骤S303,否则将软错误计数变量K的值增1后转步骤S303;S305. Determine whether the running result currently output by the test program is correct. If it is correct, go to step S303. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303.

S306.停止高能粒子辐照,输出当前软错误计数变量K的值以及当前总注入量。S306. Stop high-energy particle irradiation and output the current value of the soft error count variable K and the current total injection amount.

进一步的,所述步骤S4中,按照下式计算所述被测EDAC加固微处理器的单粒子翻转截面C:Furthermore, in step S4, the single event upset cross section C of the EDAC reinforced microprocessor under test is calculated according to the following formula:

C=K/Q;C = K/Q;

其中,K为软错误计数值,Q为总注入量。Wherein, K is the soft error count value, and Q is the total injection amount.

进一步的,所述被测EDAC加固微处理器中的EDAC电路具有纠一检二功能。Furthermore, the EDAC circuit in the EDAC reinforced microprocessor under test has a correction-one-check-two function.

与现有技术相比,本发明的优点在于:本发明EDAC加固微处理器单粒子翻转截面的测试方法,通过先测试测试程序完成一次运行所用的时间、测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积,基于该时间、面积来初始化高能粒子注量率,再按照该高能粒子注量率辐照被测EDAC加固微处理器以实现算被测EDAC加固微处理器的单粒子翻转截面的测试,单粒子翻转截面测试时能够使用合适的高能粒子注量率而避免注量率过高,确保高能粒子辐照过程中微处理器中EDAC电路正常工作,从而使得EDAC电路的抗单粒子翻转能力不会受到影响,大大提高了EDAC加固微处理器单粒子翻转截面测试的准确程度。Compared with the prior art, the advantages of the present invention are: the testing method of the single particle upset cross section of the EDAC reinforced microprocessor of the present invention first tests the time taken by the test program to complete one run and the area of the SRAM component of the tested EDAC reinforced microprocessor used in the test program running, initializes the high-energy particle fluence rate based on the time and area, and then irradiates the tested EDAC reinforced microprocessor according to the high-energy particle fluence rate to realize the test of the single particle upset cross section of the tested EDAC reinforced microprocessor, and can use a suitable high-energy particle fluence rate during the single particle upset cross section test to avoid excessively high fluence rate, thereby ensuring that the EDAC circuit in the microprocessor works normally during the high-energy particle irradiation process, so that the single particle upset resistance capability of the EDAC circuit will not be affected, and the accuracy of the single particle upset cross section test of the EDAC reinforced microprocessor is greatly improved.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本实施例EDAC加固微处理器单粒子翻转截面的测试方法的实现流程示意图。FIG. 1 is a schematic diagram of the implementation flow of the method for testing the single event upset cross section of an EDAC-reinforced microprocessor according to this embodiment.

图2是本发明具体应用实施例中实现EDAC加固微处理器单粒子翻转截面测试的详细实现流程示意图。FIG. 2 is a schematic diagram of a detailed implementation flow of a single-event upset cross-section test for an EDAC-reinforced microprocessor in a specific application embodiment of the present invention.

具体实施方式Detailed ways

以下结合说明书附图和具体优选的实施例对本发明作进一步描述,但并不因此而限制本发明的保护范围。The present invention is further described below in conjunction with the accompanying drawings and specific preferred embodiments, but the protection scope of the present invention is not limited thereby.

随着半导体工艺尺寸的缩减,一个高能粒子可能会导致微处理器内部SRAM部件中多个物理临近的存储位同时发生SEU,即多位翻转效应(Multi-Bit Upset,MBU),这可能会导致SRAM部件一个地址保存的多位数据中发生SEU的数据位数超过EDAC电路的可纠错位数,导致EDAC电路失效。为抑制MBU造成的EDAC电路失效,在采用EDAC电路的同时通常会采用位交织技术,即让微处理器内部SRAM部件中物理临近的存储位分布在不同的地址,即使物理临近的多个存储位发生MBU,各发生翻转的存储位也均位于不同的地址,则一个地址保存的多位数据中发生翻转的数据位数不会超过EDAC电路的可纠错位数,确保了微处理器即使出现多位翻转EDAC电路也能完成翻转位的纠正。但是,如果高能粒子的注量率较高,EDAC电路两次检测同一个地址的间隔时间内轰击到微处理器的高能粒子数超过EDAC电路的可纠错位数,则EDAC电路仍可能失效。As the size of semiconductor processes shrinks, a high-energy particle may cause SEU to occur simultaneously in multiple physically adjacent storage bits in the SRAM component inside the microprocessor, i.e., the multi-bit upset effect (Multi-Bit Upset, MBU), which may cause the number of data bits that experience SEU in the multi-bit data stored in one address of the SRAM component to exceed the number of bits that can be corrected by the EDAC circuit, causing the EDAC circuit to fail. In order to suppress the failure of the EDAC circuit caused by MBU, the bit interleaving technology is usually used while using the EDAC circuit, that is, the physically adjacent storage bits in the SRAM component inside the microprocessor are distributed at different addresses. Even if MBU occurs in multiple physically adjacent storage bits, each storage bit that is flipped is also located at a different address, so the number of data bits that are flipped in the multi-bit data stored at one address will not exceed the number of bits that can be corrected by the EDAC circuit, ensuring that the EDAC circuit can correct the flipped bits even if multiple bits are flipped in the microprocessor. However, if the high-energy particle injection rate is high, the number of high-energy particles bombarding the microprocessor in the interval between two detections of the same address by the EDAC circuit exceeds the number of bits that can be corrected by the EDAC circuit, and the EDAC circuit may still fail.

本发明通过考虑上述问题,通过先测试测试程序完成一次运行所用的时间T、测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S,基于该时间T、面积S来初始化高能粒子注量率F,再按照该高能粒子注量率F辐照被测EDAC加固微处理器以实现算被测EDAC加固微处理器的单粒子翻转截面C的测试。由于高能粒子注量率F是利用被测EDAC加固微处理器测试程序完成一次运行所用的时间T、该测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S来确定得到的,能够避免注量率过高,确保高能粒子辐照过程中微处理器中EDAC电路正常工作,从而使得EDAC电路的抗单粒子翻转能力不会受到影响,大大提高了EDAC加固微处理器单粒子翻转截面测试的准确程度。The present invention takes the above-mentioned problems into consideration, first tests the time T taken for the test program to complete one run, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run, initializes the high-energy particle fluence rate F based on the time T and the area S, and then irradiates the EDAC reinforced microprocessor under test according to the high-energy particle fluence rate F to implement the test of calculating the single particle upset cross section C of the EDAC reinforced microprocessor under test. Since the high-energy particle fluence rate F is determined by using the time T taken for the test program of the EDAC reinforced microprocessor under test to complete one run, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run, it can avoid the fluence rate being too high, ensure the normal operation of the EDAC circuit in the microprocessor during the high-energy particle irradiation process, so that the single particle upset resistance capability of the EDAC circuit will not be affected, and greatly improve the accuracy of the single particle upset cross section test of the EDAC reinforced microprocessor.

如图1所示,本实施例EDAC加固微处理器单粒子翻转截面的测试方法的具体步骤包括:As shown in FIG. 1 , the specific steps of the method for testing the single event upset cross section of an EDAC-reinforced microprocessor in this embodiment include:

S1.配置用于测试被测EDAC加固微处理器的测试程序,并测试所述测试程序完成一次运行所用的时间T、所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S;S1. A test program configured to test the EDAC reinforced microprocessor under test, and to test the time T taken to complete a run of the test program, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used by the test program to run;

S2.根据测试得到的测试程序完成一次运行所用的时间T、测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化高能粒子注量率F;S2. The time T taken to complete a run of the test program obtained from the test, the area S of the tested EDAC reinforced microprocessor SRAM component used to initialize the high-energy particle injection rate F;

S3.按照高能粒子注量率F不断注入高能粒子辐照被测EDAC加固微处理器,并启动被测EDAC加固微处理器的所述测试程序,统计测试程序未在所述时间T内运行完成以及运行结果错误的软错误次数,直至总注入量达到预设值;S3. Continuously inject high-energy particles according to the high-energy particle injection rate F to irradiate the EDAC reinforced microprocessor under test, and start the test program of the EDAC reinforced microprocessor under test, and count the number of soft errors of the test program not being completed within the time T and the number of soft errors of the running results being wrong, until the total injection amount reaches a preset value;

S4.根据步骤S3统计的软错误次数以及总注入量计算被测EDAC加固微处理器的单粒子翻转截面。S4. Calculate the single event upset cross section of the EDAC reinforced microprocessor under test according to the number of soft errors counted in step S3 and the total injection amount.

上述步骤S1中测试程序可采用如中国专利申请201810193529.8中公开的微处理器单粒子翻转截面的测试方法,以实现被测EDAC加固微处理器SRAM部件的面积S的测试,当然也可以根据实际需求采用现有技术中其他方式设计该测试程序。The test program in the above step S1 can adopt the test method of single-particle upset cross section of microprocessor disclosed in Chinese patent application 201810193529.8 to realize the test of area S of the EDAC reinforced microprocessor SRAM component under test. Of course, the test program can also be designed by other methods in the prior art according to actual needs.

本实施例步骤S2中,根据被测EDAC加固微处理器中EDAC电路可纠正的错误位数m、测试程序完成一次运行所用的时间T以及测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化所述高能粒子注量率F。考虑到微处理器内部SRAM部件中物理临近的存储位分布在不同的地址,即使物理临近的多个存储位发生MBU,各发生翻转的存储位也均位于不同的地址,则一个地址保存的多位数据中发生翻转的数据位数不会超过EDAC电路的可纠错位数,本实施例通过结合根据被测EDAC加固微处理器中EDAC电路可纠正的错误位数m、测试程序完成一次运行所用的时间T以及测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S来综合确定高能粒子注量率F,能够合理的确定出适合的高能粒子注量率F而避免注量率过高影响测试精度。In step S2 of this embodiment, the high-energy particle fluence rate F is initialized according to the number of correctable error bits m of the EDAC circuit in the EDAC reinforced microprocessor under test, the time T used to complete one run of the test program, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run. Considering that physically adjacent storage bits in the SRAM component inside the microprocessor are distributed at different addresses, even if multiple physically adjacent storage bits have MBU, each storage bit that has flipped is also located at a different address, then the number of data bits flipped in the multi-bit data stored at one address will not exceed the number of correctable error bits of the EDAC circuit. This embodiment comprehensively determines the high-energy particle fluence rate F by combining the number of correctable error bits m of the EDAC circuit in the EDAC reinforced microprocessor under test, the time T used to complete one run of the test program, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run, so that a suitable high-energy particle fluence rate F can be reasonably determined to avoid the fluence rate being too high to affect the test accuracy.

本实施例步骤S2中,具体按照下式初始化高能粒子注量率F:In step S2 of this embodiment, the high-energy particle fluence rate F is initialized according to the following formula:

F=(C0·m)/(T·S) (1)F=(C 0 ·m)/(T·S) (1)

其中,m是被测EDAC加固微处理器中EDAC电路可纠正的错误位数,C0为预设系数,具体可取0.1~1之间的实数,优选的,C0可选择0.8。T为测试程序完成一次运行所用的时间,S为述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积。Wherein, m is the number of error bits that can be corrected by the EDAC circuit in the tested EDAC reinforced microprocessor, C0 is a preset coefficient, which can be a real number between 0.1 and 1, preferably, C0 can be selected as 0.8. T is the time taken by the test program to complete one run, and S is the area of the SRAM component of the tested EDAC reinforced microprocessor used in the test program run.

通过上式初始化高能粒子注量率F,能够综合被测EDAC加固微处理器中EDAC电路可纠正的错误位数m、测试程序完成一次运行所用的时间T以及测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S,最终确定出一个最佳的高能粒子注量率F,从而进一步提高EDAC加固微处理器单粒子翻转截面的测试精度。By initializing the high-energy particle fluence rate F through the above formula, the number of correctable error bits m of the EDAC circuit in the EDAC reinforced microprocessor under test, the time T taken for the test program to complete one run, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the test program run can be comprehensively considered, and finally an optimal high-energy particle fluence rate F can be determined, thereby further improving the test accuracy of the single-particle upset cross section of the EDAC reinforced microprocessor.

本实施例中,步骤S3的具体步骤包括:In this embodiment, the specific steps of step S3 include:

S301.初始化软错误计数变量K=0;S301. Initialize the soft error count variable K=0;

S302.按照所述高能粒子按注量率F辐照被测EDAC加固微处理器并开始统计总注量Q;S302. Irradiate the EDAC reinforced microprocessor under test according to the high-energy particles at a fluence rate F and start counting the total fluence Q;

S303.判断的当前总注量Q是否达到预设值,如果是转入步骤S306,否则转步骤S304;S303. Determine whether the current total injection volume Q reaches the preset value, if yes, proceed to step S306, otherwise proceed to step S304;

S304.控制被测EDAC加固微处理器启动运行所述测试程序,若所述测试程序在所述时间T内完成一次运行并输出运行结果则转S305,否则将软错误计数变量K的值增1后转步骤S303;S304. Control the EDAC reinforced microprocessor under test to start running the test program. If the test program completes one run within the time T and outputs the run result, go to S305. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303.

S305.判断所述测试程序当前输出的运行结果是否正确,如果正确则转步骤S303,否则将软错误计数变量K的值增1后转步骤S303;S305. Determine whether the running result currently output by the test program is correct. If it is correct, go to step S303. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303.

S306.停止高能粒子辐照,输出当前软错误计数变量K的值以及当前总注入量。S306. Stop high-energy particle irradiation and output the value of the current soft error count variable K and the current total injection amount.

本实施例步骤S4中,具体按照下式计算被测EDAC加固微处理器的单粒子翻转截面C:In step S4 of this embodiment, the single event upset cross section C of the EDAC reinforced microprocessor under test is calculated specifically according to the following formula:

C=K/Q(2)C=K/Q(2)

其中,K为软错误计数值,Q为总注入量,总注入量即为轰击到单位面积微处理器的高能粒子个数。即高能粒子总注量为Q时,在这些高能粒子轰击下微处理器发生的软错误数为K,则被测EDAC加固微处理器的单粒子翻转截面C=K/Q。Among them, K is the soft error count value, Q is the total injection amount, and the total injection amount is the number of high-energy particles bombarding the microprocessor per unit area. That is, when the total high-energy particle injection amount is Q, the number of soft errors that occur in the microprocessor under the bombardment of these high-energy particles is K, and the single-event upset cross section of the EDAC-hardened microprocessor under test is C=K/Q.

上述步骤S3中总注量的预设值具体可按照满足QJ10005A-2018中对高能粒子总注量的要求进行设定。The preset value of the total injection amount in the above step S3 can be set specifically in accordance with the requirements for the total injection amount of high-energy particles in QJ10005A-2018.

在具体应用实施例中,上述被测EDAC加固微处理器中的EDAC电路具有纠一检二功能,即纠正1位错,发现2位错,如可采用纠一检二的扩展汉明码编解码电路。上述EDAC电路也可以采用其他的具有纠m检n(m<n)功能的纠检错电路,具体可以根据实际需求配置。In a specific application embodiment, the EDAC circuit in the EDAC reinforced microprocessor under test has a correction-one-detection-two function, that is, correcting a 1-bit error and detecting a 2-bit error, such as using an extended Hamming code encoding and decoding circuit with correction-one-detection-two. The EDAC circuit can also use other error correction and detection circuits with correction-m-detection-n (m<n) functions, which can be specifically configured according to actual needs.

以下以在具体应用实施例中采用本发明上述方法实现对某型号EDAC加固微处理器进行单粒子翻转测试为例,对本发明进行进一步说明,如图2所示,详细步骤如下:The present invention is further described below by taking the above method of the present invention in a specific application embodiment to implement a single event upset test on a certain type of EDAC reinforced microprocessor as an example, as shown in FIG2 , the detailed steps are as follows:

步骤1,设计被测EDAC加固微处理器的测试程序,该测试程序可输出运行结果,并测得该测试程序完成一次运行所用的时间T(具体测得为T=0.5秒),该测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S(具体测得为S=1.6×10-3cm2)。Step 1, design a test program for the EDAC reinforced microprocessor under test, which can output the running results and measure the time T taken by the test program to complete one run (specifically measured as T=0.5 seconds), and the area S of the SRAM component of the EDAC reinforced microprocessor under test used in the running of the test program (specifically measured as S=1.6×10-3cm2).

步骤2,按照式(1)初始化高能粒子注量率F,其中被测EDAC加固微处理器中EDAC电路可纠正的错误位数m具体取1,C0选择0.8,得到 Step 2: Initialize the high-energy particle fluence rate F according to formula (1), where the number of correctable error bits m of the EDAC circuit in the EDAC reinforced microprocessor under test is specifically 1, and C 0 is selected as 0.8, and the result is

步骤3,按照高能粒子注量率F不断注入高能粒子辐照被测EDAC加固微处理器,并启动被测EDAC加固微处理器的所述测试程序,统计测试程序未在所述时间T内运行完成以及运行结果错误的软错误次数,直至总注入量达到预设值。Step 3, continuously injecting high-energy particles according to the high-energy particle injection rate F to irradiate the EDAC reinforced microprocessor under test, and starting the test program of the EDAC reinforced microprocessor under test, and counting the number of soft errors in which the test program is not completed within the time T and the number of soft errors in which the running results are erroneous, until the total injection amount reaches a preset value.

步骤3.1.初始化软错误计数变量K=0。Step 3.1. Initialize the soft error count variable K=0.

步骤3.2.使用高能粒子按注量率辐照被测EDAC加固微处理器并开始统计总注量Q。Step 3.2. Use high energy particles at a fluence rate Irradiate the EDAC hardened microprocessor under test and start counting the total fluence Q.

步骤3.3.判断高能粒子总注量Q是否达到预设值,如果是则转步骤4,否则转步骤S3.4。Step 3.3. Determine whether the total high-energy particle injection Q reaches the preset value. If so, go to step 4; otherwise, go to step S3.4.

步骤3.4.被测EDAC加固微处理器启动运行上述测试程序,若上述测试程序在T时间内完成一次运行并输出运行结果,转步骤3.5,否则K值增1,转步骤3.3。Step 3.4. The EDAC reinforced microprocessor under test starts running the above test program. If the above test program completes one run within T time and outputs the run result, go to step 3.5; otherwise, the K value increases by 1 and go to step 3.3.

步骤3.5.如果上述测试程序输出的运行结果正确,转步骤3.3,否则K值增1,转步骤3.3。Step 3.5. If the running result output by the above test program is correct, go to step 3.3; otherwise, increase the K value by 1 and go to step 3.3.

步骤4,停止高能粒子辐照,按照式(2)计算被测EDAC加固微处理器的单粒子翻转截面C=K/Q。Step 4, stop high-energy particle irradiation, and calculate the single event upset cross section C=K/Q of the EDAC-hardened microprocessor under test according to formula (2).

上述只是本发明的较佳实施例,并非对本发明作任何形式上的限制。虽然本发明已以较佳实施例揭露如上,然而并非用以限定本发明。因此,凡是未脱离本发明技术方案的内容,依据本发明技术实质对以上实施例所做的任何简单修改、等同变化及修饰,均应落在本发明技术方案保护的范围内。The above is only a preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed as a preferred embodiment, it is not intended to limit the present invention. Therefore, any simple modification, equivalent change and modification made to the above embodiment according to the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the scope of protection of the technical solution of the present invention.

Claims (7)

1.一种EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,步骤包括:1. A method for testing the single event upset cross section of an EDAC-reinforced microprocessor, characterized in that the steps include: S1.配置用于测试被测EDAC加固微处理器的测试程序,并测试所述测试程序完成一次运行所用的时间T、所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S;S1. A test program configured to test the EDAC reinforced microprocessor under test, and to test the time T taken to complete a run of the test program, and the area S of the SRAM component of the EDAC reinforced microprocessor under test used by the test program to run; S2.根据测试得到的所述测试程序完成一次运行所用的时间T、所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化高能粒子注量率F;S2. The time T taken to complete a run of the test program obtained from the test, the area S of the tested EDAC reinforced microprocessor SRAM component used to initialize the high-energy particle fluence rate F; S3.按照所述高能粒子注量率F不断注入高能粒子辐照被测EDAC加固微处理器,并启动被测EDAC加固微处理器的所述测试程序,统计测试程序未在所述时间T内运行完成以及运行结果错误的软错误次数,直至总注入量达到预设值;S3. Continuously injecting high-energy particles according to the high-energy particle injection rate F to irradiate the EDAC reinforced microprocessor under test, and starting the test program of the EDAC reinforced microprocessor under test, and counting the number of soft errors of the test program not being completed within the time T and the number of soft errors of the running results being wrong, until the total injection amount reaches a preset value; S4.根据步骤S3统计的所述软错误次数以及总注入量计算被测EDAC加固微处理器的单粒子翻转截面。S4. Calculate the single event upset cross section of the EDAC reinforced microprocessor under test according to the number of soft errors counted in step S3 and the total injection amount. 2.根据权利要求1所述的EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,所述步骤S2中,根据被测EDAC加固微处理器中EDAC电路可纠正的错误位数m、所述测试程序完成一次运行所用的时间T以及所述测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积S初始化所述高能粒子注量率F。2. The method for testing the single-particle upset cross section of an EDAC-hardened microprocessor according to claim 1 is characterized in that, in the step S2, the high-energy particle fluence rate F is initialized according to the number of error bits m that can be corrected by the EDAC circuit in the EDAC-hardened microprocessor under test, the time T taken by the test program to complete one run, and the area S of the SRAM component of the EDAC-hardened microprocessor under test used in the test program run. 3.根据权利要求2所述的EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,所述步骤S2中,具体按照下式初始化所述高能粒子注量率F:3. The method for testing the single event upset cross section of an EDAC-reinforced microprocessor according to claim 2, characterized in that in the step S2, the high-energy particle fluence rate F is initialized specifically according to the following formula: F=(C0·m)/(T·S)F=(C 0 ·m)/(T·S) 其中,m是被测EDAC加固微处理器中EDAC电路可纠正的错误位数,C0为预设系数,T为测试程序完成一次运行所用的时间,S为测试程序运行使用到的被测EDAC加固微处理器SRAM部件的面积。Wherein, m is the number of error bits that can be corrected by the EDAC circuit in the EDAC-hardened microprocessor under test, C 0 is a preset coefficient, T is the time taken by the test program to complete one run, and S is the area of the SRAM component of the EDAC-hardened microprocessor under test used by the test program to run. 4.根据权利要求3所述的EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,预设系数C0为0.1~1之间的实数。4 . The method for testing the single event upset cross section of an EDAC-reinforced microprocessor according to claim 3 , wherein the preset coefficient C 0 is a real number between 0.1 and 1. 5.根据权利要求1所述的DAC加固微处理器单粒子翻转截面的测试方法,其特征在于,所述步骤S3的步骤包括:5. The method for testing the single event upset cross section of a DAC-reinforced microprocessor according to claim 1, wherein the step S3 comprises: S301.初始化软错误计数变量K=0;S301. Initialize the soft error count variable K=0; S302.按照所述高能粒子按注量率F辐照被测EDAC加固微处理器并开始统计总注量Q;S302. Irradiate the EDAC reinforced microprocessor under test according to the high-energy particles at a fluence rate F and start counting the total fluence Q; S303.判断的当前总注量Q是否达到预设值,如果是转入步骤S306,否则转步骤S304;S303. Determine whether the current total injection volume Q reaches the preset value, if yes, proceed to step S306, otherwise proceed to step S304; S304.控制被测EDAC加固微处理器启动运行所述测试程序,若所述测试程序在所述时间T内完成一次运行并输出运行结果则转S305,否则将软错误计数变量K的值增1后转步骤S303;S304. Control the EDAC reinforced microprocessor under test to start running the test program. If the test program completes one run within the time T and outputs the run result, go to S305. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303. S305.判断所述测试程序当前输出的运行结果是否正确,如果正确则转步骤S303,否则将软错误计数变量K的值增1后转步骤S303;S305. Determine whether the running result currently output by the test program is correct. If it is correct, go to step S303. Otherwise, increase the value of the soft error count variable K by 1 and go to step S303. S306.停止高能粒子辐照,输出当前软错误计数变量K的值以及当前总注入量。S306. Stop high-energy particle irradiation and output the current value of the soft error count variable K and the current total injection amount. 6.根据权利要求1~5中任意一项所述的EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,所述步骤S4中,按照下式计算所述被测EDAC加固微处理器的单粒子翻转截面C:6. The method for testing the single event upset cross section of an EDAC-reinforced microprocessor according to any one of claims 1 to 5, characterized in that in the step S4, the single event upset cross section C of the EDAC-reinforced microprocessor under test is calculated according to the following formula: C=K/Q;C = K/Q; 其中,K为软错误计数值,Q为总注入量。Wherein, K is the soft error count value, and Q is the total injection amount. 7.根据权利要求1~5中任意一项所述的EDAC加固微处理器单粒子翻转截面的测试方法,其特征在于,所述被测EDAC加固微处理器中的EDAC电路具有纠一检二功能。7. The method for testing the single event upset cross section of an EDAC-reinforced microprocessor according to any one of claims 1 to 5, characterized in that the EDAC circuit in the EDAC-reinforced microprocessor under test has a correction-one-check-two function.
CN202210601810.7A 2022-05-30 2022-05-30 Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor Active CN114968685B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210601810.7A CN114968685B (en) 2022-05-30 2022-05-30 Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210601810.7A CN114968685B (en) 2022-05-30 2022-05-30 Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor

Publications (2)

Publication Number Publication Date
CN114968685A CN114968685A (en) 2022-08-30
CN114968685B true CN114968685B (en) 2024-07-26

Family

ID=82958081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210601810.7A Active CN114968685B (en) 2022-05-30 2022-05-30 Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor

Country Status (1)

Country Link
CN (1) CN114968685B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116467131B (en) * 2023-06-19 2023-08-25 上海芯联芯智能科技有限公司 ECC function verification method, device, medium and equipment of processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122598A (en) * 2017-12-18 2018-06-05 中国电子产品可靠性与环境试验研究所 Possess the soft error rate method for predicting and system of EDAC functions SRAM
CN112817033A (en) * 2021-01-05 2021-05-18 中国原子能科学研究院 Method and device for determining inclination irradiation fluence of device to be measured and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102901924B (en) * 2012-09-21 2015-08-19 中国空间技术研究院 The method of the single-particle inversion characteristic of a kind of part of detecting triplication redundancy FPGA
CN105590653A (en) * 2014-10-22 2016-05-18 北京圣涛平试验工程技术研究院有限责任公司 Neutron single event effect testing method of a SRAM type FPGA
CN112767990B (en) * 2021-02-05 2022-09-30 浙江威固信息技术有限责任公司 Method for testing single-particle upset section of solid state disk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108122598A (en) * 2017-12-18 2018-06-05 中国电子产品可靠性与环境试验研究所 Possess the soft error rate method for predicting and system of EDAC functions SRAM
CN112817033A (en) * 2021-01-05 2021-05-18 中国原子能科学研究院 Method and device for determining inclination irradiation fluence of device to be measured and electronic equipment

Also Published As

Publication number Publication date
CN114968685A (en) 2022-08-30

Similar Documents

Publication Publication Date Title
Stoddard et al. A hybrid approach to FPGA configuration scrubbing
US8880987B2 (en) Checksum using sums of permutation sub-matrices
US8850297B1 (en) System and method for multi-dimensional encoding and decoding
EP1160987B1 (en) Method and apparatus for verifying error correcting codes
CN106708655B (en) Memory reinforcing method and circuit based on two-dimensional error correcting code
Sanchez-Macian et al. Enhanced detection of double and triple adjacent errors in hamming codes through selective bit placement
Ming et al. New SEC-DED-DAEC codes for multiple bit upsets mitigation in memory
Ming et al. Reliability of memories protected by multibit error correction codes against MBUs
She et al. SEU tolerant latch based on error detection
CN114968685B (en) Testing Method for Single Event Upset Cross Section of EDAC Hardened Microprocessor
CN108122598B (en) Soft error rate prediction method and system for SRAM with EDAC function
Reviriego et al. A class of SEC-DED-DAEC codes derived from orthogonal latin square codes
Dutta Low cost adjacent double error correcting code with complete elimination of miscorrection within a dispersion window for multiple bit upset tolerant memory
Goerl et al. An efficient EDAC approach for handling multiple bit upsets in memory array
CN102901924B (en) The method of the single-particle inversion characteristic of a kind of part of detecting triplication redundancy FPGA
Appathurai et al. Radiation induced multiple bit upset prediction and correction in memories using cost efficient CMC
Datta et al. Exploiting unused spare columns to improve memory ECC
Saiz-Adalid et al. Modified Hamming codes to enhance short burst error detection in semiconductor memories (short paper)
CN105320575B (en) A kind of self checking of duplication redundancy streamline and recovery device and method
Zhu et al. Efficient two-dimensional error codes for multiple bit upsets mitigation in memory
Asuvaran et al. Low delay error correction codes to correct stuck-at defects and soft errors
CN115421967B (en) Method and system for evaluating storage abnormal risk point of secondary equipment
Shao et al. An error location and correction method for memory based on data similarity analysis
Jin et al. TMR group coding method for optimized SEU and MBU tolerant memory design
Santhia et al. Error detection and correction using decimal matrix code: Survey

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant