CN114758717A - Flash memory test circuit and test method - Google Patents

Flash memory test circuit and test method Download PDF

Info

Publication number
CN114758717A
CN114758717A CN202210237487.XA CN202210237487A CN114758717A CN 114758717 A CN114758717 A CN 114758717A CN 202210237487 A CN202210237487 A CN 202210237487A CN 114758717 A CN114758717 A CN 114758717A
Authority
CN
China
Prior art keywords
flash memory
oscillator ring
terminal
test
ring
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.)
Pending
Application number
CN202210237487.XA
Other languages
Chinese (zh)
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.)
Praran Semiconductor Shanghai Co ltd
Original Assignee
Praran Semiconductor Shanghai Co ltd
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 Praran Semiconductor Shanghai Co ltd filed Critical Praran Semiconductor Shanghai Co ltd
Priority to CN202210237487.XA priority Critical patent/CN114758717A/en
Publication of CN114758717A publication Critical patent/CN114758717A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/56External testing equipment for static stores, e.g. automatic test equipment [ATE]; Interfaces therefor
    • G11C29/56004Pattern generation
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • G11C29/12Built-in arrangements for testing, e.g. built-in self testing [BIST] or interconnection details
    • G11C2029/1202Word line control

Landscapes

  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Read Only Memory (AREA)

Abstract

本发明公开了一种Flash存储器测试电路,通过引入反相器震荡环,把Flash存储单元控制门上的阈值电压的变化引起的细微的位线电流变化,优化为能由触发器和计数器组成的频率检测电路直接读取的频率信号,该Flash存储器测试电路,能借助计数器或定时器高效、轻松、准确地测量频率信号,定位存储器缺陷,在将存储器的故障测试简洁化、低成本化、高效化的同时,保证了其高灵敏度。本发明还公开了一种Flash存储器测试方法。

Figure 202210237487

The invention discloses a flash memory test circuit. By introducing an inverter oscillation ring, the subtle bit line current change caused by the change of the threshold voltage on the control gate of the Flash memory unit is optimized to be composed of a flip-flop and a counter. The frequency signal directly read by the frequency detection circuit, the Flash memory test circuit can efficiently, easily and accurately measure the frequency signal with the help of a counter or timer, locate memory defects, and simplify the memory fault test, cost-effective and efficient. At the same time, its high sensitivity is guaranteed. The invention also discloses a flash memory testing method.

Figure 202210237487

Description

Flash存储器测试电路及测试方法Flash memory test circuit and test method

技术领域technical field

本发明涉及半导体集成电路存储器技术,特别是涉及一种Flash存储器测试电路及测试方法。The invention relates to semiconductor integrated circuit memory technology, in particular to a Flash memory test circuit and a test method.

背景技术Background technique

NOR Flash闪存是几十年来最受欢迎的非挥发性内存产品之一,物联网风口机遇下的便携式设备的蓬勃发展也为其发展带来了机遇。NOR Flash flash memory is one of the most popular non-volatile memory products for decades, and the booming development of portable devices under the opportunity of the Internet of Things also brings opportunities for its development.

为了保证Flash存储器的正常工作,测试工作是必不可少的。测试费用及测试所需时间是存储器研发成本中不可避免的支出,应用更加高效的测试方法可以有效降低成本。In order to ensure the normal operation of the Flash memory, test work is essential. The cost of testing and the time required for testing are unavoidable expenses in memory R&D costs, and the application of more efficient testing methods can effectively reduce costs.

传统测试解决方案有以下常见几种:The traditional test solutions are as follows:

(一)利用测试机台完成Flash(闪存)存储器的测试(1) Use the test machine to complete the test of the Flash (flash) memory

使用高端测试机台才可以满足复杂度不断提升的芯片测试要求,但这样也提升了测试成本。The use of high-end testing machines can meet the requirements of chip testing with increasing complexity, but this also increases testing costs.

(二)利用探针卡测试(2) Test with probe card

FormFactor为全球半导体探针卡排名第一的供应商,其各类高性能探针卡组合可广泛应用于各类芯片测试。改善探针的制程可有效提高测试稳定性,但将带来昂贵且不必要的测试成本。FormFactor is the world's No. 1 supplier of semiconductor probe cards, and its various high-performance probe card combinations can be widely used in various chip testing. Improving the manufacturing process of the probe can effectively improve the test stability, but it will bring expensive and unnecessary test costs.

(三)利用软件测试(3) Using software testing

将测试程序写入嵌入式MCU中测试Flash存储器,其优势在于无需对硬件设计做修改且算法实现可通过修改软件程序实现。劣势在于通过测程序的编写和修改来实现算法需要耗费人力物力,且仅能对Flash存储器的部分性能测试,例如NOR Flash闪存的均匀损耗和掉电恢复。测试范围有限,难以广泛使用。The advantage of writing the test program into the embedded MCU to test the Flash memory is that there is no need to modify the hardware design and the algorithm implementation can be realized by modifying the software program. The disadvantage is that it takes manpower and material resources to implement the algorithm by writing and modifying the test program, and it can only test part of the performance of the Flash memory, such as the uniform wear and tear of the NOR Flash flash memory and power-down recovery. The scope of testing is limited and difficult to use widely.

(四)设置内建自测试电路(4) Set the built-in self-test circuit

虽然牺牲了一定芯片面积,但对探针要求不高,省去买昂贵ATE(Automatic TestEquipment,集成电路自动测试机)的成本。内建自测试电路的测试能力会随着工艺进步而增强,而外部测试的测试能力的进步总是落后于工艺的进步。最后,内建自测试电路开发费用低,故而在产业界广泛应用。Although a certain chip area is sacrificed, the requirements for the probe are not high, which saves the cost of buying an expensive ATE (Automatic TestEquipment, integrated circuit automatic test machine). The test capability of the built-in self-test circuit will increase with the progress of the process, while the improvement of the test capability of the external test always lags behind the progress of the process. Finally, the development cost of the built-in self-test circuit is low, so it is widely used in the industry.

内建自测试电路的测试方法可使测试实现自动化,可利用系统时钟使其进入“全速”测试,而不像测试机台会因为测试时钟工作频率的升高提升测试成本,覆盖更多缺陷,减少测试时间,内建自测试电路亦可使得测试中对Flash存储器的初始化可在低成本测试设备上进行。The test method of the built-in self-test circuit can automate the test, and can use the system clock to make it enter the "full speed" test, unlike the test machine, which increases the test cost and covers more defects due to the increase of the test clock operating frequency. To reduce the test time, the built-in self-test circuit also enables the initialization of the Flash memory during the test to be performed on low-cost test equipment.

内建自测试电路的实现一般基于某些用于检测Flash存储器存在的故障的算法,算法对于Flash存储器的覆盖率的高低决定了测试中对于探针卡性能高低的要求,有效降低测试当中所用探针卡的成本,因此,选择故障覆盖率高且效率高的算法是有必要的。The implementation of the built-in self-test circuit is generally based on some algorithms used to detect the faults of the Flash memory. The coverage of the algorithm to the Flash memory determines the performance requirements of the probe card in the test, effectively reducing the probe card used in the test. Therefore, it is necessary to choose an algorithm with high fault coverage and high efficiency.

关于适用于Flash存储器内建自测试电路的测试算法,业内较常见的有:Regarding the test algorithms suitable for the built-in self-test circuit of Flash memory, the common ones in the industry are:

(一)奇偶校验图形检测法;(1) Parity pattern detection method;

(二)棋盘格检测法;(2) Checkerboard detection method;

(三)March FT算法检测法;(3) March FT algorithm detection method;

(四)March-like算法检测法。(4) March-like algorithm detection method.

奇偶校验图形检测法和棋盘格检测法的故障覆盖率低,难以覆盖所有的典型存储器故障模型;March FT虽可覆盖,但无法激活和检测到Flash这种非典型存储器的特有故障模型;March-like算法同时考虑了典型存储器故障和Flash存储器特有故障,但不能最大程度激活累积故障。此外March-like算法步骤较多,测试效率有待提升。The fault coverage rate of the parity pattern detection method and the checkerboard detection method is low, and it is difficult to cover all typical memory fault models; although March FT can cover it, it cannot activate and detect the unique fault model of atypical memory such as Flash; March The -like algorithm takes into account both typical memory faults and flash memory-specific faults, but does not activate cumulative faults to the greatest extent possible. In addition, the March-like algorithm has many steps, and the test efficiency needs to be improved.

这些基于复杂算法的传统测试方法各有优劣,但共性的劣势是由于其复杂的测试步骤而消耗了很长的测试时间,并导致大规模Flash存储器的高测试成本。These traditional testing methods based on complex algorithms have their own advantages and disadvantages, but the common disadvantage is that they consume a long testing time due to their complex testing steps and lead to high testing costs for large-scale Flash memories.

内建自测试电路的Flash存储器中,需要用到大量的数据锁存器,而传统数据锁存器器件个数多,尺寸大,面积开销十分可观。In the Flash memory with built-in self-test circuit, a large number of data latches need to be used, while the traditional data latch devices have a large number, large size, and considerable area overhead.

发明内容SUMMARY OF THE INVENTION

本发明要解决的技术问题是提供一种Flash存储器测试电路及测试方法,能借助计数器或定时器高效、轻松、准确地测量频率信号,定位存储器缺陷,在将存储器的故障测试简洁化、低成本化、高效化的同时,保证了其高灵敏度。The technical problem to be solved by the present invention is to provide a flash memory test circuit and test method, which can measure frequency signals efficiently, easily and accurately by means of counters or timers, locate memory defects, and simplify the memory fault test at low cost. The high sensitivity is ensured at the same time of high efficiency and high efficiency.

为解决上述技术问题,本发明提供的Flash存储器测试电路,其包括K个传感电路模块、一个N振荡器环,K为正整数;In order to solve the above-mentioned technical problems, the Flash memory test circuit provided by the present invention includes K sensing circuit modules and an N oscillator ring, and K is a positive integer;

所述传感电路模块包括预充电PMOS管M1及列选择NMOS管M2;The sensing circuit module includes a pre-charged PMOS transistor M1 and a column selection NMOS transistor M2;

所述预充电PMOS管M1,其源端接工作电压,其漏端接列选择NMOS管M2漏端并作为控制电压输出端Vctr,其栅端用于接预充电控制信号Vpre_charge;The source terminal of the pre-charged PMOS transistor M1 is connected to the working voltage, and the drain terminal of the pre-charged PMOS transistor M1 is connected to the drain terminal of the column selection NMOS transistor M2 as a control voltage output terminal Vctr, and its gate terminal is used to receive the pre-charge control signal Vpre_charge;

所述列选择NMOS管M2,其栅端用于接选择信号Vselect,其源端接Flash存储器的位线BL;Described column selection NMOS tube M2, its gate terminal is used for connecting the selection signal Vselect, and its source terminal is connected to the bit line BL of Flash memory;

所述N振荡器环包括第三PMOS管M3、第四NMOS管M4、第五NMOS管M5及2n个反相器、一个与非门,n为正整数;The N oscillator ring includes a third PMOS transistor M3, a fourth NMOS transistor M4, a fifth NMOS transistor M5, 2n inverters, and a NAND gate, where n is a positive integer;

所述第三PMOS管M3的源端接工作电压,漏端接第四NMOS管M4的漏端;The source terminal of the third PMOS transistor M3 is connected to the working voltage, and the drain terminal is connected to the drain terminal of the fourth NMOS transistor M4;

所述第五NMOS管M5,其漏端接第四NMOS管M4的源端,其栅端接所述控制电压输出端Vctr,其源端接地;The drain terminal of the fifth NMOS transistor M5 is connected to the source terminal of the fourth NMOS transistor M4, the gate terminal is connected to the control voltage output terminal Vctr, and the source terminal is grounded;

所述2n个反相器串接,输入端接所述第三PMOS管M3的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the third PMOS transistor M3, and the output terminal is connected to an input terminal of the NAND gate;

所述与非门的另一个输入端用于接第一使能信号EN1;The other input end of the NAND gate is used to connect the first enable signal EN1;

所述与非门的输出端接第三PMOS管M3、第四NMOS管M4的栅端。The output terminal of the NAND gate is connected to the gate terminals of the third PMOS transistor M3 and the fourth NMOS transistor M4.

较佳的,Flash存储器的同一页有F列位线,F为小于K的正整数;Preferably, there are F columns of bit lines in the same page of the Flash memory, and F is a positive integer less than K;

F个传感电路模块的列选择NMOS管M2源端分别接Flash存储器的同一页的F列位线BL。The source terminals of the column selection NMOS transistors M2 of the F sensing circuit modules are respectively connected to the F column bit lines BL of the same page of the Flash memory.

较佳的,一N环频率检测电路连接N振荡器环中串接的2n个反相器的输出端,用于检测N振荡器环的振荡频率。Preferably, an N-ring frequency detection circuit is connected to the output ends of 2n inverters connected in series in the N-oscillator ring, and is used for detecting the oscillation frequency of the N-oscillator ring.

较佳的,所述N环频率检测电路包括依次连接的一触发器和一计数器。Preferably, the N-loop frequency detection circuit includes a flip-flop and a counter connected in sequence.

较佳的,Flash存储器测试电路还包括P振荡器环;Preferably, the Flash memory test circuit further includes a P oscillator ring;

所述P振荡器环包括第六PMOS管M6、第七PMOS管M8、第八NMOS管M8及2n个反相器、一个与非门;The P oscillator ring includes a sixth PMOS transistor M6, a seventh PMOS transistor M8, an eighth NMOS transistor M8, 2n inverters, and a NAND gate;

所述第六PMOS管M6,其源端接工作电压,其漏端接第七PMOS管M7的源端,其栅端接所述控制电压输出端Vctr;The source terminal of the sixth PMOS transistor M6 is connected to the working voltage, the drain terminal is connected to the source terminal of the seventh PMOS transistor M7, and the gate terminal is connected to the control voltage output terminal Vctr;

所述第八NMOS管M8,其漏端接第七PMOS管M7的漏端,其源端接地;The drain end of the eighth NMOS transistor M8 is connected to the drain end of the seventh PMOS transistor M7, and the source end thereof is grounded;

所述2n个反相器串接,输入端接所述第七PMOS管M7的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the seventh PMOS transistor M7, and the output terminal is connected to an input terminal of the NAND gate;

所述与非门的另一个输入端用于接第二使能信号EN2;The other input end of the NAND gate is used to connect the second enable signal EN2;

所述与非门的输出端接第七PMOS管M7、第八NMOS管M8的栅端。The output terminal of the NAND gate is connected to the gate terminals of the seventh PMOS transistor M7 and the eighth NMOS transistor M8.

较佳的,一P环频率检测电路连接P振荡器环中串接的2n个反相器的输出端,用于检测P振荡器环的振荡频率。Preferably, a P-ring frequency detection circuit is connected to the output ends of 2n inverters connected in series in the P-oscillator ring, for detecting the oscillation frequency of the P-oscillator ring.

较佳的,所述P环频率检测电路包括依次连接的一触发器和一计数器。Preferably, the P-ring frequency detection circuit includes a flip-flop and a counter connected in sequence.

较佳的,所述Flash存储器测试电路为内建自测试电路,集成在Flash存储器芯片中。Preferably, the Flash memory test circuit is a built-in self-test circuit integrated in the Flash memory chip.

较佳的,所述Flash存储器为NOR Flash存储器。Preferably, the Flash memory is a NOR Flash memory.

为解决上述技术问题,本发明提供的一种采用所述Flash存储器测试电路的Flash存储器测试方法,包括以下步骤:In order to solve the above-mentioned technical problems, the present invention provides a flash memory test method using the Flash memory test circuit, comprising the following steps:

S1.先复位第一使能信号EN1、第二使能信号EN2,使N振荡器环、P振荡器环失效,用需要的测试模式写入存储器的各存储单元,完成初始化;S1. First reset the first enable signal EN1 and the second enable signal EN2 to make the N oscillator ring and the P oscillator ring invalid, and use the required test mode to write into each storage unit of the memory to complete the initialization;

S2.根据需要的测试模式,选择使能相应的N振荡器环或/和P振荡器环:S2. Select to enable the corresponding N oscillator ring or/and P oscillator ring according to the desired test mode:

S3.对字线WL逐行加压选中,接入相应振荡器环的频率检测电路,读出相应振荡器环的振荡频率;S3. Press and select the word line WL row by row, connect to the frequency detection circuit of the corresponding oscillator ring, and read the oscillation frequency of the corresponding oscillator ring;

S4.如果振荡器环的振荡频率偏离中心频率超过第一设定区间,则选中的字线WL有缺陷,进入字线诊断模式。S4. If the oscillation frequency of the oscillator ring deviates from the center frequency and exceeds the first set interval, the selected word line WL is defective, and the word line diagnosis mode is entered.

较佳的,进入字线诊断模式后,逐一使其中一个传感电路模块的列选择NMOS管M2选中接通相应位线BL并同时使其他F-1个传感电路模块的列选择NMOS管M2关断,读出振荡器环的振荡频率,如果一选中传感电路模块对应的振荡器环的振荡频率偏离中心频率超过第二设定区间,则该选中传感电路模块对应的位线BL及步骤S4中有缺陷选中字线WL对应的存储单元故障。Preferably, after entering the word line diagnosis mode, one by one, the column selection NMOS transistors M2 of one of the sensing circuit modules are selected to connect to the corresponding bit line BL, and at the same time, the column selection NMOS transistors M2 of the other F-1 sensing circuit modules are selected. Turn off, read the oscillation frequency of the oscillator ring, if the oscillation frequency of the oscillator ring corresponding to a selected sensing circuit module deviates from the center frequency and exceeds the second set interval, the bit line BL and the corresponding bit line BL of the selected sensing circuit module In step S4, the memory cell corresponding to the defective selected word line WL is faulty.

较佳的,步骤S1中,所述测试模式为全0测试模式、全1测试模式或混合测试模式;Preferably, in step S1, the test mode is an all-zero test mode, an all-one test mode or a mixed test mode;

全0测试模式,存储器的各存储单元均写入0;All 0 test mode, each storage unit of the memory is written with 0;

全1测试模式,存储器的各存储单元均写入1;All 1 test mode, each storage unit of the memory is written with 1;

混合模式,存储器的存储单元有的写入1,有的写入0;Mixed mode, some memory cells are written with 1, and some are written with 0;

步骤S2中,如果需要的测试模式为全0测试模式,则由第一使能信号EN1使能控制,仅启用对固1故障SA1敏感的N振荡器环,用于检查是否存在固1故障SA1;In step S2, if the required test mode is the all-zero test mode, the first enable signal EN1 is enabled and controlled, and only the N oscillator ring sensitive to the solid 1 fault SA1 is enabled to check whether there is a solid 1 fault SA1. ;

如果需要的测试模式为全1测试模式,由第二使能信号EN2使能控制,仅启用对固0故障SA0敏感的P振荡器环,用于检查是否存在固0故障SA0;If the required test mode is the all-one test mode, it is enabled and controlled by the second enable signal EN2, and only the P oscillator ring sensitive to the solid 0 fault SA0 is enabled to check whether there is a solid 0 fault SA0;

如果需要的测试模式为混合测试模式,同时启用N振荡器环和P振荡器环。If the desired test mode is a mixed test mode, enable both the N oscillator ring and the P oscillator ring.

本发明的Flash存储器测试电路,通过引入反相器震荡环,把Flash存储单元控制门上的阈值电压Vth的变化引起的细微的位线BL电流Istress(传感电流)变化,优化为能由触发器和计数器(或定时器)组成的频率检测电路直接读取的频率信号,该Flash存储器测试电路,能借助计数器或定时器高效、轻松、准确地测量频率信号,定位存储器缺陷,在将存储器的故障测试简洁化、低成本化、高效化的同时,保证了其高灵敏度。The flash memory test circuit of the present invention optimizes the subtle bit line BL current Istress (sensing current) change caused by the change of the threshold voltage Vth on the control gate of the Flash memory cell to be able to be triggered by the introduction of an inverter oscillation ring. The frequency signal directly read by the frequency detection circuit composed of a counter and a counter (or timer), the Flash memory test circuit can efficiently, easily and accurately measure the frequency signal with the help of the counter or timer, locate memory defects, and use the counter or timer to measure the frequency signal. The fault test is simplified, cost-effective and efficient, while ensuring its high sensitivity.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面对本发明所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present invention more clearly, the following briefly introduces the accompanying drawings used in the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention, which are useful to those skilled in the art. In other words, other drawings can also be obtained from these drawings without any creative effort.

图1是本发明的Flash存储器测试电路一实施例电路图;1 is a circuit diagram of an embodiment of a Flash memory test circuit of the present invention;

图2是本发明的Flash存储器测试电路并行测试架构示意图;2 is a schematic diagram of the parallel test architecture of the Flash memory test circuit of the present invention;

图3、IBL与Vctr随Vth的变化关系;Figure 3. The relationship between IBL and Vctr with Vth;

图4、Vctr与InvP的频率f的关系;Figure 4. The relationship between Vctr and the frequency f of InvP;

图5、Freq与Vth的关系。Figure 5. The relationship between Freq and Vth.

具体实施方式Detailed ways

下面将结合附图,对本发明中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其它实施例,都属于本发明保护的范围。The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present invention.

实施例一Example 1

如图1所示,Flash存储器测试电路包括K个传感电路模块(Sensing circuit)、一个N振荡器环,K为正整数;As shown in Figure 1, the Flash memory test circuit includes K sensing circuit modules (Sensing circuits) and an N oscillator ring, where K is a positive integer;

所述传感电路模块包括预充电PMOS管M1及列选择NMOS管M2;The sensing circuit module includes a pre-charged PMOS transistor M1 and a column selection NMOS transistor M2;

所述预充电PMOS管M1,其源端接工作电压,其漏端接列选择NMOS管M2漏端并作为控制电压输出端Vctr,其栅端用于接预充电控制信号Vpre_charge;The source terminal of the pre-charged PMOS transistor M1 is connected to the working voltage, and the drain terminal of the pre-charged PMOS transistor M1 is connected to the drain terminal of the column selection NMOS transistor M2 as a control voltage output terminal Vctr, and its gate terminal is used to receive the pre-charge control signal Vpre_charge;

所述列选择NMOS管M2,其栅端用于接选择信号Vselect,其源端接Flash存储器的位线BL;Described column selection NMOS tube M2, its gate terminal is used for connecting the selection signal Vselect, and its source terminal is connected to the bit line BL of Flash memory;

所述N振荡器环包括第三PMOS管M3、第四NMOS管M4、第五NMOS管M5及2n个反相器、一个与非门,n为正整数;The N oscillator ring includes a third PMOS transistor M3, a fourth NMOS transistor M4, a fifth NMOS transistor M5, 2n inverters, and a NAND gate, where n is a positive integer;

所述第三PMOS管M3的源端接工作电压,漏端接第四NMOS管M4的漏端;The source terminal of the third PMOS transistor M3 is connected to the working voltage, and the drain terminal is connected to the drain terminal of the fourth NMOS transistor M4;

所述第五NMOS管M5,其漏端接第四NMOS管M4的源端,其栅端接所述控制电压输出端Vctr,其源端接地;The drain terminal of the fifth NMOS transistor M5 is connected to the source terminal of the fourth NMOS transistor M4, the gate terminal is connected to the control voltage output terminal Vctr, and the source terminal is grounded;

所述2n个反相器串接,输入端接所述第三PMOS管M3的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the third PMOS transistor M3, and the output terminal is connected to an input terminal of the NAND gate;

所述与非门的另一个输入端用于接第一使能信号EN1;The other input end of the NAND gate is used to connect the first enable signal EN1;

所述与非门的输出端接第三PMOS管M3、第四NMOS管M4的栅端。The output terminal of the NAND gate is connected to the gate terminals of the third PMOS transistor M3 and the fourth NMOS transistor M4.

Flash存储器通过浮栅对内容进行存储,存储单元浮栅上的电荷量的变化就是存储单元控制门上的阈值电压Vth的变化。Erase(擦除)期间为隧穿效应,位线BL上无电流;Program(编程)期间为热载流子效应,位线BL上有电流。由于氧化物的厚度改变,Flash存储单元控制门上的阈值电压Vth会有浮动:比如vth在-5v到+5v之间分别对应状态1和状态0。当Flash闪存出现物理缺陷时,由于stress(负担)的加入,流经被测存储单元的电流将发生改变,但这可能是一个细微、不易测量的波动。The Flash memory stores the content through the floating gate, and the change of the charge amount on the floating gate of the memory cell is the change of the threshold voltage Vth on the control gate of the memory cell. During the Erase (erase) period, there is tunneling effect, and there is no current on the bit line BL; during the Program (programming) period, there is a hot carrier effect, and there is current on the bit line BL. Due to the change in the thickness of the oxide, the threshold voltage Vth on the control gate of the Flash memory cell will fluctuate: for example, vth between -5v and +5v corresponds to state 1 and state 0, respectively. When a physical defect occurs in the flash memory, the current flowing through the memory cell under test will change due to the addition of stress, but this may be a small, difficult-to-measure fluctuation.

实施例一的Flash存储器测试电路,预充电PMOS管M1及列选择NMOS管M2双管共同构成一传感电路模块,由一列位线BL所共享;如果列选择NMOS管M2所选择连通的一存储单元为状态1,则流至于位线BL(位线)的电流Istress称为传感电流(约为数十uA);若所选择连通的一存储单元为状态0,则无电流。In the Flash memory test circuit of the first embodiment, the pre-charged PMOS transistor M1 and the column selection NMOS transistor M2 together form a sensing circuit module, which is shared by a column of bit lines BL; When the cell is in state 1, the current Istress flowing to the bit line BL (bit line) is called the sensing current (about tens of uA); if a memory cell selected to be connected is in state 0, there is no current.

N振荡器环由2n个反相器和一个受控制电压输出端Vctr信号控制的反相器单元组成,构成“2n+1”可震。N振荡环中的反相器单元采用的经典压控振荡器(VCO)单元----电流饥饿型单元(current-starved cell)(电流饥饿型单元是由razavi于一篇JSSCC中提出的基础结构,结构相对简单,由电流源控制流过反相器单元双管(第三PMOS管M3、第四NMOS管M4)的电流,使反相器单元处于电流饥饿状态,在控制反相器单元偏置电流的大小的同时,还可以控制负载电容的充放电电流大小)。The N oscillator ring is composed of 2n inverters and an inverter unit controlled by the control voltage output terminal Vctr signal, forming a "2n+1" shockable. The classic voltage-controlled oscillator (VCO) unit used in the inverter unit in the N oscillation ring----current-starved cell (current-starved cell is the basis proposed by razavi in a JSSCC The structure is relatively simple. The current flowing through the inverter unit double tubes (the third PMOS tube M3 and the fourth NMOS tube M4) is controlled by the current source, so that the inverter unit is in a current starvation state, and the inverter unit is controlled. At the same time as the size of the bias current, the charge and discharge current of the load capacitor can also be controlled).

在第四NMOS管M4的源端串联的第五NMOS管M5,作为箝位晶体管箝位控制N振荡器环。The fifth NMOS transistor M5 connected in series with the source end of the fourth NMOS transistor M4 acts as a clamping transistor to clamp and control the N oscillator ring.

若选择信号Vselect使列选择NMOS管M2被选中,即对应的位线BL被选中,列选择NMOS管M2将对该位线BL上的寄生电容CBL预充电,并使位线BL上电压趋于稳定。当预充电控制信号Vpre_charge由高逐渐下降,且列选择NMOS管M2被选中时,若Flash存储器芯片的检测输出垫(padso)检测到该位线BL上无电流,且控制电压输出端Vctr为高压(即该点电压未被下拉),即没有检测电流流过STR(Select Transistor,选择晶体管),意味着处于Erase(擦除)状态,读取结果应该对应状态1;反之,若测得位线BL上有电流,控制电压输出端Vctr被下拉,即位线BL构成泄放通路,证明该存储单元处于progam(编程)状态,读取结果应该对应状态0。以控制电压输出端Vctr电压和被选中位线BL上的电流为y轴,以Flash存储单元控制门上的阈值电压Vth和01存储状态的切换为x轴作图,即可得图3。If the selection signal Vselect causes the column selection NMOS transistor M2 to be selected, that is, the corresponding bit line BL is selected, the column selection NMOS transistor M2 will precharge the parasitic capacitance CBL on the bit line BL, and make the voltage on the bit line BL tend to be Stablize. When the precharge control signal Vpre_charge gradually decreases from high and the column selection NMOS transistor M2 is selected, if the detection output pad (padso) of the Flash memory chip detects that there is no current on the bit line BL, and the control voltage output terminal Vctr is a high voltage (that is, the voltage at this point is not pulled down), that is, there is no detection current flowing through the STR (Select Transistor), which means that it is in the Erase (erase) state, and the read result should correspond to state 1; otherwise, if the bit line is measured There is current on BL, and the control voltage output terminal Vctr is pulled down, that is, the bit line BL constitutes a discharge path, which proves that the memory cell is in the progam (programming) state, and the read result should correspond to state 0. Taking the voltage of the control voltage output terminal Vctr and the current on the selected bit line BL as the y-axis, and the threshold voltage Vth on the control gate of the Flash memory cell and the switching of the 01 storage state as the x-axis, Figure 3 can be obtained.

环形振荡器的周期由各阶段延时之和决定,可以从理论上预判到,以第五NMOS管M5所控制的N振荡器环为例,当控制电压输出端Vctr小到某个临界点时,由于第五NMOS管M5的不完全开启,反相器单元电流会减小,由压摆率公式可知,延时(delay)必然急剧增大,即N振荡器环的振荡频率急剧减小,如图4所示。这一状态称为current-starved stage(饥饿电流阶段)。由于传感电路模块的输出与N振荡器环饥饿电流阶段的控制输入相连,因此所选存储单元的存储状态可作为N振荡器环的频率读出。对于故障存储单元,读出的传感电流Istress的值与正常存储单元不同。由图3中控制电压输出端Vctr电压与Flash存储单元控制门上的阈值电压Vth的关系,以及图4中N振荡器环的振荡频率Freq与控制电压输出端Vctr电压的关系,可得N振荡器环的振荡频率Freq与Flash存储单元控制门上的阈值电压Vth的关系,如图5所示。The cycle of the ring oscillator is determined by the sum of the delays of each stage, which can be predicted theoretically. Taking the N oscillator ring controlled by the fifth NMOS transistor M5 as an example, when the control voltage output Vctr is small to a certain critical point When the 5th NMOS transistor M5 is not fully turned on, the inverter unit current will decrease. It can be seen from the slew rate formula that the delay must increase sharply, that is, the oscillation frequency of the N oscillator ring decreases sharply. ,As shown in Figure 4. This state is called the current-starved stage. Since the output of the sensing circuit block is connected to the control input of the current starvation phase of the N oscillator ring, the memory state of the selected memory cell can be read out as the frequency of the N oscillator ring. For faulty memory cells, the sensed current Istress sensed has a different value than normal memory cells. From the relationship between the control voltage output terminal Vctr voltage in FIG. 3 and the threshold voltage Vth on the control gate of the Flash memory cell, and the relationship between the oscillation frequency Freq of the N oscillator ring and the control voltage output terminal Vctr voltage in FIG. 4, the N oscillation can be obtained. The relationship between the oscillation frequency Freq of the device ring and the threshold voltage Vth on the control gate of the Flash memory cell is shown in FIG. 5 .

故障与非故障Flash存储单元的差别在于阈值电压Vth的差别,若以阈值电压Vth为自变量,以控制电压输出端Vctr电压、传感电流Istress、N振荡器环的振荡频率Freq为因变量,即可观察到,该Flash存储器测试电路结构有较高的频率测量分辨率可用于故障单元的诊断,可以检测到存储单元固0、固1的故障。The difference between the faulty and non-faulty Flash memory cells lies in the difference in the threshold voltage Vth. If the threshold voltage Vth is used as the independent variable, the control voltage output terminal Vctr voltage, the sensing current Istress, and the oscillation frequency Freq of the N oscillator ring are the dependent variables. It can be observed that the flash memory test circuit structure has a high frequency measurement resolution, which can be used for the diagnosis of the faulty unit, and can detect the faults of the memory cells solid 0 and solid 1.

实施例一的Flash存储器测试电路,通过引入反相器震荡环,把Flash存储单元控制门上的阈值电压Vth的变化引起的细微的位线BL电流Istress(传感电流)变化,优化为能由触发器和计数器(或定时器)组成的频率检测电路直接读取的频率信号,该Flash存储器测试电路,能借助计数器或定时器高效、轻松、准确地测量频率信号,定位存储器缺陷,在将存储器的故障测试简洁化、低成本化、高效化的同时,保证了其高灵敏度。In the Flash memory test circuit of the first embodiment, by introducing an inverter oscillation ring, the slight change of the bit line BL current Istress (sensing current) caused by the change of the threshold voltage Vth on the control gate of the Flash memory cell is optimized to be able to be determined by The frequency signal directly read by the frequency detection circuit composed of a flip-flop and a counter (or timer), the Flash memory test circuit can efficiently, easily and accurately measure the frequency signal with the help of a counter or a timer, locate memory defects, and use the counter or timer to measure the frequency signal. The fault test is simplified, cost-effective and efficient, while ensuring its high sensitivity.

实施例二Embodiment 2

基于实施例一的Flash存储器测试电路,Flash存储器的同一页有F列位线,F为小于K的正整数;Based on the Flash memory test circuit of the first embodiment, the same page of the Flash memory has F column bit lines, and F is a positive integer less than K;

F个传感电路模块的列选择NMOS管M2源端分别接Flash存储器的同一页的F列位线BL,如图2所示。The source terminals of the column selection NMOS transistors M2 of the F sensing circuit modules are respectively connected to the F column bit lines BL of the same page of the Flash memory, as shown in FIG. 2 .

较佳的,一N环频率检测电路连接N振荡器环中串接的2n个反相器的输出端,用于检测N振荡器环的振荡频率。Preferably, an N-ring frequency detection circuit is connected to the output ends of 2n inverters connected in series in the N-oscillator ring, and is used for detecting the oscillation frequency of the N-oscillator ring.

较佳的,所述N环频率检测电路包括依次连接的一触发器和一计数器(或定时器)。Preferably, the N-loop frequency detection circuit includes a flip-flop and a counter (or timer) connected in sequence.

在实际应用中,如果采用单列串行测试的方法,需要一列列地执行,效率过低。Flash存储器同一page(页)中的多个bit(位)需要并行测试,为支持并行测试,实施例二的Flash存储器测试电路提出了并行测试架构方案,在该方案中,如果一个字线WL上的cell(存储单元)都处于0状态,则N振荡器环的振荡频率Freq最高;相反,cell(存储单元)的1状态会降低N振荡器环的振荡频率Freq,cell(存储单元)的任何异常都会导致环形振荡器的频率偏移。因此,仅仅以由第一使能信号EN1使能控制的N振荡器环的来进行检测,对于固1和软错误都可以并行测试。In practical applications, if a single-column serial test method is used, it needs to be executed in a column-by-column manner, and the efficiency is too low. Multiple bits in the same page (page) of the Flash memory need to be tested in parallel. In order to support the parallel test, the Flash memory test circuit of the second embodiment proposes a parallel test architecture scheme. In this scheme, if a word line WL is on the The cell (storage unit) is in the 0 state, the oscillation frequency Freq of the N oscillator ring is the highest; on the contrary, the 1 state of the cell (storage unit) will reduce the oscillation frequency of the N oscillator ring Freq, any cell (storage unit) oscillation frequency Freq Anomalies can cause frequency shifts in the ring oscillator. Therefore, the detection is performed only with the N oscillator ring which is enabled and controlled by the first enable signal EN1, and both solid 1 and soft errors can be tested in parallel.

实施例三Embodiment 3

基于实施例二,Flash存储器测试电路还包括P振荡器环;Based on the second embodiment, the Flash memory test circuit further includes a P oscillator ring;

所述P振荡器环包括第六PMOS管M6、第七PMOS管M8、第八NMOS管M8及2n个反相器、一个与非门;The P oscillator ring includes a sixth PMOS transistor M6, a seventh PMOS transistor M8, an eighth NMOS transistor M8, 2n inverters, and a NAND gate;

所述第六PMOS管M6,其源端接工作电压,其漏端接第七PMOS管M7的源端,其栅端接所述控制电压输出端Vctr;The source terminal of the sixth PMOS transistor M6 is connected to the working voltage, the drain terminal is connected to the source terminal of the seventh PMOS transistor M7, and the gate terminal is connected to the control voltage output terminal Vctr;

所述第八NMOS管M8,其漏端接第七PMOS管M7的漏端,其源端接地;The drain end of the eighth NMOS transistor M8 is connected to the drain end of the seventh PMOS transistor M7, and the source end thereof is grounded;

所述2n个反相器串接,输入端接所述第七PMOS管M7的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the seventh PMOS transistor M7, and the output terminal is connected to an input terminal of the NAND gate;

所述与非门的另一个输入端用于接第二使能信号EN2;The other input end of the NAND gate is used to connect the second enable signal EN2;

所述与非门的输出端接第七PMOS管M7、第八NMOS管M8的栅端。The output terminal of the NAND gate is connected to the gate terminals of the seventh PMOS transistor M7 and the eighth NMOS transistor M8.

较佳的,一P环频率检测电路连接P振荡器环中串接的2n个反相器的输出端,用于检测P振荡器环的振荡频率。Preferably, a P-ring frequency detection circuit is connected to the output ends of 2n inverters connected in series in the P-oscillator ring, for detecting the oscillation frequency of the P-oscillator ring.

较佳的,所述P环频率检测电路包括依次连接的一触发器和一计数器(或定时器)。Preferably, the P-ring frequency detection circuit includes a flip-flop and a counter (or timer) connected in sequence.

对于实施例一及实施例二的由第一使能信号EN1使能控制的单N振荡器环结构,如果被擦除的存储单元远多于被编程的存储单元,即“1”远多于0,由于延时(delay)过大,则敏感性会大幅下降,N振荡器环的振荡频率Freq会几乎保持不变。故以第一使能信号EN1使能控制的N振荡器环排查SA0(固0故障)准确度有待提高。For the single-N oscillator ring structure enabled and controlled by the first enable signal EN1 in the first and second embodiments, if the erased memory cells are far more than the programmed memory cells, that is, “1” is far more than 0, because the delay is too large, the sensitivity will be greatly reduced, and the oscillation frequency Freq of the N oscillator ring will remain almost unchanged. Therefore, the accuracy of checking the SA0 (solid 0 fault) with the N oscillator ring enabled and controlled by the first enable signal EN1 needs to be improved.

实施例三的Flash存储器测试电路,由第五NMOS管M5箝位控制的N振荡器环、由第六PMOS管M6箝位控制的P振荡器环,以及传感电路模块,共同构成图1架构中的双环互补结构(Double ring cell)。其中N振荡器环的设计对于SA1(固1故障)有较高灵敏度;P振荡器环的设计对SA0(固0故障)有较高灵敏度。The Flash memory test circuit of the third embodiment, the N oscillator ring clamped and controlled by the fifth NMOS transistor M5, the P oscillator ring controlled by the sixth PMOS transistor M6, and the sensing circuit module together constitute the architecture of FIG. 1 The double ring cell in . Among them, the design of N oscillator ring has higher sensitivity to SA1 (solid 1 fault); the design of P oscillator ring has higher sensitivity to SA0 (solid 0 fault).

实施例三的Flash存储器测试电路,引入由第二使能信号EN2使能控制的P振荡器环,第六PMOS管M6箝位控制的P振荡器环的振荡频率Freq与控制电压输出端Vctr的关系与第五NMOS管M5箝位控制N振荡器环完全颠倒,第六PMOS管M6箝位控制的P振荡器环与第五NMOS管M5箝位控制N振荡器环一起引用构成double ring(双环)),可以获得更高的分辨率。The Flash memory test circuit of the third embodiment introduces a P oscillator ring that is enabled and controlled by the second enable signal EN2, and the oscillation frequency Freq of the P oscillator ring controlled by the sixth PMOS tube M6 is clamped and controlled by the voltage output terminal Vctr. The relationship is completely reversed with that of the fifth NMOS tube M5 clamped to control the N oscillator ring, and the sixth PMOS tube M6 clamped to control the P oscillator ring and the fifth NMOS tube M5 to clamp to control the N oscillator ring to form a double ring (double ring). )), a higher resolution can be obtained.

对于Flash存储器,All-0(全0)、All-1(全1)、棋盘格、逆棋盘格是最常用的测试模式。针对实施例三的互补双环测试结构的Flash存储器测试电路,可以设计如下的可具体实施的测试方法,包括以下步骤:For Flash memory, All-0 (all 0s), All-1 (all 1s), checkerboard, and inverse checkerboard are the most commonly used test modes. For the Flash memory test circuit of the complementary double-loop test structure of the third embodiment, the following test method that can be implemented can be designed, including the following steps:

S1.先复位第一使能信号EN1、第二使能信号EN2,使N振荡器环、P振荡器环失效,用需要的测试模式写入存储器的各存储单元,完成初始化;S1. First reset the first enable signal EN1 and the second enable signal EN2 to make the N oscillator ring and the P oscillator ring invalid, and use the required test mode to write into each storage unit of the memory to complete the initialization;

S2.根据需要的测试模式,选择使能相应的N振荡器环或/和P振荡器环:S2. Select to enable the corresponding N oscillator ring or/and P oscillator ring according to the desired test mode:

S3.对字线WL逐行加压选中,接入相应振荡器环的频率检测电路,读出相应振荡器环的振荡频率;S3. Press and select the word line WL row by row, connect to the frequency detection circuit of the corresponding oscillator ring, and read the oscillation frequency of the corresponding oscillator ring;

S4.如果振荡器环的振荡频率偏离中心频率超过第一设定区间,则选中的字线WL有缺陷,进入字线诊断模式。S4. If the oscillation frequency of the oscillator ring deviates from the center frequency and exceeds the first set interval, the selected word line WL is defective, and the word line diagnosis mode is entered.

较佳的,步骤S1中,所述测试模式为全0测试模式、全1测试模式或混合测试模式;Preferably, in step S1, the test mode is an all-zero test mode, an all-one test mode or a mixed test mode;

全0测试模式,存储器的各存储单元均写入0;All 0 test mode, each storage unit of the memory is written with 0;

全1测试模式,存储器的各存储单元均写入1;All 1 test mode, each storage unit of the memory is written with 1;

混合模式,存储器的存储单元有的写入1,有的写入0;Mixed mode, some memory cells are written with 1, and some are written with 0;

较佳的,步骤S2中,如果需要的测试模式为全0测试模式,则由第一使能信号EN1使能控制,仅启用对固1故障SA1敏感的N振荡器环,用于检查是否存在固1故障SA1;Preferably, in step S2, if the required test mode is the all-zero test mode, the first enable signal EN1 is enabled and controlled, and only the N oscillator ring sensitive to the solid-1 fault SA1 is enabled to check whether there is an N oscillator ring. solid 1 fault SA1;

如果需要的测试模式为全1测试模式,由第二使能信号EN2使能控制,仅启用对固0故障SA0敏感的P振荡器环,用于检查是否存在固0故障SA0;If the required test mode is the all-one test mode, it is enabled and controlled by the second enable signal EN2, and only the P oscillator ring sensitive to the solid 0 fault SA0 is enabled to check whether there is a solid 0 fault SA0;

如果需要的测试模式为混合测试模式,同时启用N振荡器环和P振荡器环。If the desired test mode is a mixed test mode, enable both the N oscillator ring and the P oscillator ring.

步骤S4中,振荡器环的振荡频率偏离中心频率超过第一设定区间,说明选中的字线WL上有存储单元故障,然后可以进行单列测试,读取每列存储单元的频率,精确找到拉低/抬高整体频率的故障存储单元,实现精确检测。具体方法是:进入字线诊断模式后,逐一使其中一个传感电路模块的列选择NMOS管M2选中接通相应位线BL并同时使其他F-1个传感电路模块的列选择NMOS管M2关断,读出振荡器环的振荡频率,如果一选中传感电路模块对应的振荡器环的振荡频率偏离中心频率超过第二设定区间,则该选中传感电路模块对应的位线BL及步骤S4中有缺陷选中字线WL对应的存储单元故障。In step S4, the oscillation frequency of the oscillator ring deviates from the center frequency by more than the first set interval, indicating that there is a memory cell failure on the selected word line WL, and then a single-column test can be performed to read the frequency of each column of memory cells, and accurately find the pulley. Low/high overall frequency of faulty memory cells for accurate detection. The specific method is: after entering the word line diagnosis mode, make the column selection NMOS transistor M2 of one of the sensing circuit modules one by one select and connect the corresponding bit line BL, and at the same time make the column selection NMOS transistor M2 of the other F-1 sensing circuit modules. Turn off, read the oscillation frequency of the oscillator ring, if the oscillation frequency of the oscillator ring corresponding to a selected sensing circuit module deviates from the center frequency and exceeds the second set interval, the bit line BL and the corresponding bit line BL of the selected sensing circuit module In step S4, the memory cell corresponding to the defective selected word line WL is faulty.

对于步骤S4,以8M的PY2101V1为例,设置a<19>=0,即先只对block0(4M)进行检测,共2048个字线WL,256*8个位线BL,采用并行架构,将所有的列对应的振荡器环(锁相环)的频率引出,输入计数器。对字线WL逐行加压选中,启用N振荡器环和P振荡器环,从触发器/计数器中读出频率,发现某一行字线WL在测试时读出的频率过高或过低,立即开启单列模式,逐列读出频率,找出引起该行频率偏离正确值的故障存储单元具体在哪一列(即一行行扫,扫到哪行有问题,再对此行扫列,进而精确故障点),进而确定故障存储单元位置。然后设置a<19>=1,对block1检测,步骤同block0。For step S4, take the 8M PY2101V1 as an example, set a<19>=0, that is, only block0 (4M) is detected first, a total of 2048 word lines WL, 256*8 bit lines BL, using a parallel architecture, the The frequencies of the oscillator loops (phase-locked loops) corresponding to all the columns are drawn and input to the counter. Press and select the word line WL row by row, enable the N oscillator ring and the P oscillator ring, read the frequency from the flip-flop/counter, and find that the frequency read out of a row of word lines WL is too high or too low during the test, Immediately turn on the single-column mode, read the frequency column by column, and find out which column of the faulty memory cell that causes the frequency of the row to deviate from the correct value (that is, scan a row, scan which row has a problem, and then scan the column for this row, and then accurately fault point), and then determine the location of the faulty storage unit. Then set a<19>=1 to detect block1, and the steps are the same as block0.

实施例四Embodiment 4

基于实施例一到三的Flash存储器测试电路,所述Flash存储器测试电路为内建自测试电路,集成在Flash存储器芯片中。Based on the Flash memory test circuit of the first to third embodiments, the Flash memory test circuit is a built-in self-test circuit integrated in the Flash memory chip.

较佳的,所述Flash存储器为NOR Flash存储器。Preferably, the Flash memory is a NOR Flash memory.

实施例四的Flash存储器测试电路,集成在Flash存储器芯片中,通过优化数据锁存器电路,尽可能减小内建自测试电路的Flash存储器的面积。The Flash memory test circuit of the fourth embodiment is integrated in the Flash memory chip, and by optimizing the data latch circuit, the area of the Flash memory with the built-in self-test circuit is reduced as much as possible.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the present invention. within the scope of protection.

Claims (12)

1.一种Flash存储器测试电路,其特征在于,其包括K个传感电路模块、一个N振荡器环,K为正整数;1. a Flash memory test circuit, is characterized in that, it comprises K sensor circuit modules, an N oscillator ring, and K is a positive integer; 所述传感电路模块包括预充电PMOS管M1及列选择NMOS管M2;The sensing circuit module includes a pre-charged PMOS transistor M1 and a column selection NMOS transistor M2; 所述预充电PMOS管M1,其源端接工作电压,其漏端接列选择NMOS管M2漏端并作为控制电压输出端Vctr,其栅端用于接预充电控制信号Vpre_charge;The source terminal of the precharged PMOS transistor M1 is connected to the working voltage, and the drain terminal is connected to the drain terminal of the column selection NMOS transistor M2 as a control voltage output terminal Vctr, and its gate terminal is used to receive the precharge control signal Vpre_charge; 所述列选择NMOS管M2,其栅端用于接选择信号Vselect,其源端接Flash存储器的位线BL;Described column selection NMOS tube M2, its gate terminal is used for connecting the selection signal Vselect, and its source terminal is connected to the bit line BL of Flash memory; 所述N振荡器环包括第三PMOS管M3、第四NMOS管M4、第五NMOS管M5及2n个反相器、一个与非门,n为正整数;The N oscillator ring includes a third PMOS transistor M3, a fourth NMOS transistor M4, a fifth NMOS transistor M5, 2n inverters, and a NAND gate, where n is a positive integer; 所述第三PMOS管M3的源端接工作电压,漏端接第四NMOS管M4的漏端;The source terminal of the third PMOS transistor M3 is connected to the working voltage, and the drain terminal is connected to the drain terminal of the fourth NMOS transistor M4; 所述第五NMOS管M5,其漏端接第四NMOS管M4的源端,其栅端接所述控制电压输出端Vctr,其源端接地;The drain terminal of the fifth NMOS transistor M5 is connected to the source terminal of the fourth NMOS transistor M4, the gate terminal is connected to the control voltage output terminal Vctr, and the source terminal is grounded; 所述2n个反相器串接,输入端接所述第三PMOS管M3的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the third PMOS transistor M3, and the output terminal is connected to an input terminal of the NAND gate; 所述与非门的另一个输入端用于接第一使能信号EN1;The other input end of the NAND gate is used to connect the first enable signal EN1; 所述与非门的输出端接第三PMOS管M3、第四NMOS管M4的栅端。The output terminal of the NAND gate is connected to the gate terminals of the third PMOS transistor M3 and the fourth NMOS transistor M4. 2.根据权利要求1所述的Flash存储器测试电路,其特征在于,2. Flash memory test circuit according to claim 1, is characterized in that, Flash存储器的同一页有F列位线,F为小于K的正整数;There are F column bit lines in the same page of the Flash memory, and F is a positive integer less than K; F个传感电路模块的列选择NMOS管M2源端分别接Flash存储器的同一页的F列位线BL。The source terminals of the column selection NMOS transistors M2 of the F sensing circuit modules are respectively connected to the F column bit lines BL of the same page of the Flash memory. 3.根据权利要求1所述的Flash存储器测试电路,其特征在于,3. Flash memory test circuit according to claim 1, is characterized in that, 一N环频率检测电路连接N振荡器环中串接的2n个反相器的输出端,用于检测N振荡器环的振荡频率。An N-ring frequency detection circuit is connected to the output ends of the 2n inverters connected in series in the N-oscillator ring, and is used for detecting the oscillation frequency of the N-oscillator ring. 4.根据权利要求3所述的Flash存储器测试电路,其特征在于,4. Flash memory test circuit according to claim 3, is characterized in that, 所述N环频率检测电路包括依次连接的一触发器和一计数器。The N-loop frequency detection circuit includes a flip-flop and a counter connected in sequence. 5.根据权利要求2所述的Flash存储器测试电路,其特征在于,5. Flash memory test circuit according to claim 2, is characterized in that, Flash存储器测试电路还包括P振荡器环;The Flash memory test circuit also includes a P oscillator ring; 所述P振荡器环包括第六PMOS管M6、第七PMOS管M8、第八NMOS管M8及2n个反相器、一个与非门;The P oscillator ring includes a sixth PMOS transistor M6, a seventh PMOS transistor M8, an eighth NMOS transistor M8, 2n inverters, and a NAND gate; 所述第六PMOS管M6,其源端接工作电压,其漏端接第七PMOS管M7的源端,其栅端接所述控制电压输出端Vctr;The source terminal of the sixth PMOS transistor M6 is connected to the working voltage, the drain terminal is connected to the source terminal of the seventh PMOS transistor M7, and the gate terminal is connected to the control voltage output terminal Vctr; 所述第八NMOS管M8,其漏端接第七PMOS管M7的漏端,其源端接地;The drain end of the eighth NMOS transistor M8 is connected to the drain end of the seventh PMOS transistor M7, and the source end thereof is grounded; 所述2n个反相器串接,输入端接所述第七PMOS管M7的漏端,输出端接所述与非门的一个输入端;The 2n inverters are connected in series, the input terminal is connected to the drain terminal of the seventh PMOS transistor M7, and the output terminal is connected to an input terminal of the NAND gate; 所述与非门的另一个输入端用于接第二使能信号EN2;The other input end of the NAND gate is used to connect the second enable signal EN2; 所述与非门的输出端接第七PMOS管M7、第八NMOS管M8的栅端。The output terminal of the NAND gate is connected to the gate terminals of the seventh PMOS transistor M7 and the eighth NMOS transistor M8. 6.根据权利要求5所述的Flash存储器测试电路,其特征在于,6. Flash memory test circuit according to claim 5, is characterized in that, 一P环频率检测电路连接P振荡器环中串接的2n个反相器的输出端,用于检测P振荡器环的振荡频率。A P-ring frequency detection circuit is connected to the output ends of the 2n inverters connected in series in the P-oscillator ring, and is used for detecting the oscillation frequency of the P-oscillator ring. 7.根据权利要求6所述的Flash存储器测试电路,其特征在于,7. Flash memory test circuit according to claim 6, is characterized in that, 所述P环频率检测电路包括依次连接的一触发器和一计数器。The P-ring frequency detection circuit includes a flip-flop and a counter connected in sequence. 8.根据权利要求1或2所述的Flash存储器测试电路,其特征在于,8. Flash memory test circuit according to claim 1 or 2, is characterized in that, 所述Flash存储器测试电路为内建自测试电路,集成在Flash存储器芯片中。The Flash memory test circuit is a built-in self-test circuit integrated in the Flash memory chip. 9.根据权利要求1或2所述的Flash存储器测试电路,其特征在于,9. Flash memory test circuit according to claim 1 and 2, is characterized in that, 所述Flash存储器为NOR Flash存储器。The Flash memory is a NOR Flash memory. 10.一种采用权利要求5所述的Flash存储器测试电路的Flash存储器测试方法,其特征在于,包括以下步骤:10. a method for testing the Flash memory using the described Flash memory test circuit of claim 5, is characterized in that, comprises the following steps: S1.先复位第一使能信号EN1、第二使能信号EN2,使N振荡器环、P振荡器环失效,用需要的测试模式写入存储器的各存储单元,完成初始化;S1. First reset the first enable signal EN1 and the second enable signal EN2 to make the N oscillator ring and the P oscillator ring invalid, and use the required test mode to write into each storage unit of the memory to complete the initialization; S2.根据需要的测试模式,选择使能相应的N振荡器环或/和P振荡器环:S2. Select to enable the corresponding N oscillator ring or/and P oscillator ring according to the desired test mode: S3.对字线WL逐行加压选中,接入相应振荡器环的频率检测电路,读出相应振荡器环的振荡频率;S3. Press and select the word line WL row by row, connect to the frequency detection circuit of the corresponding oscillator ring, and read the oscillation frequency of the corresponding oscillator ring; S4.如果振荡器环的振荡频率偏离中心频率超过第一设定区间,则选中的字线WL有缺陷,进入字线诊断模式。S4. If the oscillation frequency of the oscillator ring deviates from the center frequency and exceeds the first set interval, the selected word line WL is defective, and the word line diagnosis mode is entered. 11.根据权利要求10所述的Flash存储器测试方法,其特征在于,11. Flash memory testing method according to claim 10, is characterized in that, 进入字线诊断模式后,逐一使其中一个传感电路模块的列选择NMOS管M2选中接通相应位线BL并同时使其他F-1个传感电路模块的列选择NMOS管M2关断,读出振荡器环的振荡频率,如果一选中传感电路模块对应的振荡器环的振荡频率偏离中心频率超过第二设定区间,则该选中传感电路模块对应的位线BL及步骤S4中有缺陷选中字线WL对应的存储单元故障。After entering the word line diagnosis mode, select the column selection NMOS transistor M2 of one of the sensing circuit modules one by one to turn on the corresponding bit line BL, and at the same time turn off the column selection NMOS transistor M2 of the other F-1 sensing circuit modules, read The oscillation frequency of the oscillator ring is obtained. If the oscillation frequency of the oscillator ring corresponding to a selected sensing circuit module deviates from the center frequency and exceeds the second set interval, the bit line BL corresponding to the selected sensing circuit module and step S4 have The memory cell corresponding to the defective selected word line WL is faulty. 12.根据权利要求10所述的Flash存储器测试方法,其特征在于,12. Flash memory testing method according to claim 10, is characterized in that, 步骤S1中,所述测试模式为全0测试模式、全1测试模式或混合测试模式;In step S1, the test mode is an all-zero test mode, an all-one test mode or a mixed test mode; 全0测试模式,存储器的各存储单元均写入0;All 0 test mode, each storage unit of the memory is written with 0; 全1测试模式,存储器的各存储单元均写入1;All 1 test mode, each storage unit of the memory is written with 1; 混合模式,存储器的存储单元有的写入1,有的写入0;Mixed mode, some memory cells are written with 1, and some are written with 0; 步骤S2中,如果需要的测试模式为全0测试模式,则由第一使能信号EN1使能控制,仅启用对固1故障SA1敏感的N振荡器环,用于检查是否存在固1故障SA1;In step S2, if the required test mode is the all-zero test mode, the first enable signal EN1 is enabled and controlled, and only the N oscillator ring sensitive to the solid 1 fault SA1 is enabled to check whether there is a solid 1 fault SA1. ; 如果需要的测试模式为全1测试模式,由第二使能信号EN2使能控制,仅启用对固0故障SA0敏感的P振荡器环,用于检查是否存在固0故障SA0;If the required test mode is the all-one test mode, it is enabled and controlled by the second enable signal EN2, and only the P oscillator ring sensitive to the solid 0 fault SA0 is enabled to check whether there is a solid 0 fault SA0; 如果需要的测试模式为混合测试模式,同时启用N振荡器环和P振荡器环。If the desired test mode is a mixed test mode, enable both the N oscillator ring and the P oscillator ring.
CN202210237487.XA 2022-03-11 2022-03-11 Flash memory test circuit and test method Pending CN114758717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210237487.XA CN114758717A (en) 2022-03-11 2022-03-11 Flash memory test circuit and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210237487.XA CN114758717A (en) 2022-03-11 2022-03-11 Flash memory test circuit and test method

Publications (1)

Publication Number Publication Date
CN114758717A true CN114758717A (en) 2022-07-15

Family

ID=82325001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210237487.XA Pending CN114758717A (en) 2022-03-11 2022-03-11 Flash memory test circuit and test method

Country Status (1)

Country Link
CN (1) CN114758717A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240751A (en) * 2022-07-29 2022-10-25 东南大学 Voltage trimming built-in self-test circuit applied to spin magnetic memory
CN120148599A (en) * 2025-01-24 2025-06-13 杭州广立微电子股份有限公司 Threshold voltage test circuit, test chip, test method and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101301A1 (en) * 2004-10-26 2006-05-11 Spansion Llc Non-volatile memory device
US20090027065A1 (en) * 2007-07-24 2009-01-29 Kuang Jente B Wordline-To-Bitline Output Timing Ring Oscillator Circuit for Evaluating Storage Array Performance
CN103280241A (en) * 2013-04-22 2013-09-04 北京大学深圳研究生院 Test circuit and test method of memorizer
CN111354412A (en) * 2018-12-20 2020-06-30 中国科学院微电子研究所 A built-in self-test circuit and memory

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060101301A1 (en) * 2004-10-26 2006-05-11 Spansion Llc Non-volatile memory device
US20090027065A1 (en) * 2007-07-24 2009-01-29 Kuang Jente B Wordline-To-Bitline Output Timing Ring Oscillator Circuit for Evaluating Storage Array Performance
CN103280241A (en) * 2013-04-22 2013-09-04 北京大学深圳研究生院 Test circuit and test method of memorizer
CN111354412A (en) * 2018-12-20 2020-06-30 中国科学院微电子研究所 A built-in self-test circuit and memory

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115240751A (en) * 2022-07-29 2022-10-25 东南大学 Voltage trimming built-in self-test circuit applied to spin magnetic memory
CN120148599A (en) * 2025-01-24 2025-06-13 杭州广立微电子股份有限公司 Threshold voltage test circuit, test chip, test method and readable storage medium

Similar Documents

Publication Publication Date Title
JP4312521B2 (en) Accuracy judgment in bit line voltage measurement
JP6320008B2 (en) Method for providing a smart memory architecture
US9548137B2 (en) Integrated circuit defect detection and repair
US9424891B2 (en) Methods and devices for temperature sensing of a memory device
US6255836B1 (en) Built-in self-test unit having a reconfigurable data retention test
TW200907992A (en) Semiconductor device and data processing system
JP2001325800A (en) Semiconductor integrated circuit device and manufacturing method
CN114758717A (en) Flash memory test circuit and test method
US20130015915A1 (en) Semiconductor device
US9564245B2 (en) Integrated circuit defect detection and repair
CA1203575A (en) Semiconductor memory redundant element identification circuit
JP2004039221A (en) On-chip compression of electric charge distribution data
US20230268927A1 (en) Time to digital circuitry with error protection scheme
CN112988491B (en) Memory test method and device and memory controller
CN103280241B (en) The test circuit and method of memory
US6778450B2 (en) Programmable weak write test mode
JP2001085622A (en) Semiconductor integrated circuit, inspection method and manufacturing method thereof
US8045409B2 (en) Semiconductor memory device
JPH0329193A (en) Substituted address deciding circuit
US20020041242A1 (en) Semiconductor apparatus
US11728002B2 (en) Memory device with analog measurement mode features
EP1724788A1 (en) Improved built-in self-test method and system
KR100338817B1 (en) Refresh characteristics self tester for a memory merged logic
US20110280092A1 (en) Multi-Bank Read/Write To Reduce Test-Time In Memories
Narahari et al. Modeling and Simulation Experiment on a Built-In Self Test for Memory Fault Detection in SRAM

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