A kind of emulation test system of NVM build-in self-test
Technical field
The present invention relates to the emulation test system of a kind of NVM (Non-Volatile Memory, nonvolatile memory).
Background technology
Built-in self-test (Built-in Self Test is called for short BIST) technology is to implant the circuit that the self detecting function function is provided in circuit design, reduces device detection to the degree of dependence of ATE (automatic test equipment) (ATE) with this.The BIST technology can be applied to nearly all circuit, therefore is widely used in semi-conductor industry.
For example, the BIST technology of generally using in NVM is included in implants resolution chart circuit for generating, sequential circuit, mode selection circuit and debugging test circuit etc. in the NVM circuit, and they are collectively referred to as the BIST circuit.
See also Fig. 1, this is the emulation test system of the BIST circuit of a kind of existing NVM.This system includes Test Host 1; A plurality of analog modules 21,22,23, NVM chip circuit 31; The BIST circuit 32 of NVM.
The process that this system tests the BIST circuit 32 of NVM is as follows.Test Host 1 sends test instruction by interface bus STROBE, TDIO, TCK to the BIST circuit 32 of NVM.Described test instruction comprises test pattern (TESTMODE) etc.The BIST circuit 32 of NVM is carried out the instruction that receives, to NVM chip circuit 31 and each analog module 21,22,23 ... operate.The BIST circuit 32 of NVM receive again NVM chip circuit 31 and each analog module 21,22,23 ... the simulation waveform that generates carries out the checking of emulation correctness.
The emulation test system of the BIST circuit of above-mentioned NVM has following shortcoming.First wave test efficient is low.It two is that workload is large.It three is debug difficulties.It four is that silicon test board test vector can not be provided.It five is the integralities that can not automatically detect test vector.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of BIST circuit to NVM and carries out the emulation test system of detection automatically, and this system can realize that the sequential detection is carried out in test instruction detection, instruction, data correctness detects and information output function.
For solving the problems of the technologies described above, the emulation test system of the BIST circuit of a kind of NVM of the present invention includes Test Host; A plurality of analog modules, NVM chip circuit, the BIST circuit of NVM, automatic detection module;
Described NVM build-in self-test is connected with Test Host, each analog module, NVM chip circuit;
Described automatic detection module is connected with Test Host, each analog module, NVM chip circuit, NVM build-in self-test;
Described automatic detection module specifically comprises:
The interface signal detection module that the accuracy that the interface signal of NVM build-in self-test is connected and the accuracy of NVM instruction that build-in self-test receives detect;
The system state detection module that signal under system state and each state is detected;
Carry out the sequential detection module to the sequential of NVM instruction that build-in self-test receives and to the instruction that the sequential of the interface signal of each analog module and NVM build-in self-test detects;
The test completeness detection module that test vector is added up and the integrality of test vector is detected;
The data outputting module of time sequence information, instruction executing data information, error message, error reason is carried out in output order information, instruction; And
Instruction that build-in self-test receives is output as the test vector output module of test vector to NVM.
The present invention has realized the automatic detection of the BIST circuit of NVM, data output and test vector defeated, has following advantage:
One has been realized the state-detection of system, has automatically completed the input under each state.
Its two, realized interface signal and the command detection of BIST circuit, and sequential and Data Detection are carried out in each instruction.
Its three, realized the output classifyed in detail of the information that detects.
Its four, the output of test vector is provided, can be directly for the silicon test board.
Its five, completed testing the detection that becomes second nature, guarantee the integrality of test vector.
Therefore, by emulation test system of the present invention, can greatly reduce the workload that the BIST circuit to NVM detects, and guarantee the integrality of test.
Description of drawings
Fig. 1 is the structural representation of emulation test system of the BIST circuit of a kind of existing NVM;
Fig. 2 is the structural representation of emulation test system of the BIST circuit of NVM of the present invention.
Description of reference numerals in figure:
1 is Test Host; 21,22,23 ... be each analog module; 31 is the NVN chip circuit; 32 is the BIST circuit of NVM; 4 is automatic detection module; 41 is the interface signal detection module; 42 is the system state detection module; 43 are instruction execution sequential detection module; 44 is the test completeness detection module; 45 is data outputting module; 46 is the test vector output module.
Embodiment
See also Fig. 2, this is the emulation test system of the BIST circuit of a kind of NVM of the present invention.This system includes Test Host 1; A plurality of analog modules 21,22,23, NVM chip circuit 31; The BIST circuit 32 of NVM; Automatic detection module 4.
The BIST circuit 32 of described NVM and Test Host 1, each analog module 21,22,23 ..., NVM chip circuit 31 is connected.Test Host 1, a plurality of analog module 21,22,23 ... consist of the normal operation circumstances of the BIST circuit 32 of NVM with NVM chip circuit 31.
Described automatic detection module 4 and Test Host 1, each analog module 21,22,23 ..., NVM chip circuit 31, NVM BIST circuit 32 be connected.Each module that 4 pairs of this automatic detection modules connect detects, and realizes that Data Detection and sequential detect, and can carry out analyzing and positioning to relevant issues.
Described automatic detection module 4 specifically comprises:
---the interface signal detection module 41 that the accuracy of the accuracy that the interface signal of the BIST circuit 32 of NVM is connected and the BIST instruction that circuit receives of NVM detects;
---the system state detection module 42 that the signal under system state and each state is detected;
---to the sequential of BIST circuit 32 instruction that receives of NVM and to each analog module 21,22,23 ... carry out sequential detection module 43 with the instruction that the sequential of the interface signal of the BIST circuit 32 of NVM detects;
---the test completeness detection module 44 that test vector is added up and the integrality of test vector is detected;
---the data outputting module 45 of time sequence information, instruction executing data information, error message, error reason is carried out in output order information, instruction; And
---BIST circuit 32 instruction that receives of NVM is output as the test vector output module 46 of test vector.
The process that this system tests the BIST circuit 32 of NVM is as follows.
Test Host 1 sends test instruction by interface bus STROBE, TDIO, TCK to the BIST circuit 32 of NVM.Described test instruction comprises test pattern (TESTMODE) etc.The BIST circuit 32 of NVM is carried out the instruction that receives, to NVM chip circuit 31 and each analog module 21,22,23 ... operate.The BIST circuit 32 of NVM receive again NVM chip circuit 31 and each analog module 21,22,23 ... the simulation waveform that generates.Meanwhile, automatic detection module 4 synchronously detects:
Interface signal detection module 41 detects the interface signal of the BIST circuit 32 of NVM, and received instruction is carried out automatic comparison with the instruction that Test Host 1 sends to the BIST circuit 32 of NVM, detects the correctness of instruction transmission; Also detect the correctness that the BIST circuit 32 of NVM is connected with the interface signal of Test Host 1.
Whether the current state of system state detection module 43 detection systems is in that emulation is initial, the beginning that resets, ends that reset, system initially, system's execution and test pattern and non-test pattern etc., and detect under each state coherent signal and whether follow design specification consistent.
Instruction is carried out sequential detection module 43 and is analyzed its sequential according to the effective instruction that detects, as the deration of signal, set up retention time, signal sequence etc., and accordingly to each analog module 21,22,23 ... detect with the relevant interface signal of NVM chip circuit 31, confirm that its sequential is correct.
Test completeness detection module 44 judges the correctness of current data according to the effective instruction that detects.Also test vector is added up, completed the detection of test vector integrality.
The test result of automatic detection module 4 is exported by data outputting module 45, comprise system state, current test, command information (for example present instruction), time sequence information, instruction executing data information, error message, error reason, detection integrality etc. are carried out in instruction, all classification output.
Test vector output module 46 by 16 systems, 8 systems, 2 system outputs, can for the silicon test board directly, facilitate the debugging of silicon test board with test vector.
The simulation detection system of the BIST circuit of described NVM is by automatically detecting, the problem that the BIST circuit 32 that can automatically detect NVM and NVM chip circuit 31 exist in being connected and carrying out, and navigate to corresponding circuit and instruction, really realized the automatic detection to the BIST circuit.This system can greatly reduce the emulation testing time, and acceleration problem is located, and makes detection more accurate.
These are only the preferred embodiments of the present invention, be not intended to limit the present invention.For a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.