Non-volatility memorizer reading speed test circuit
Technical field
The present invention relates to SIC (semiconductor integrated circuit) and make the field, particularly relate to a kind of non-volatility memorizer NVM (Non-Volatile Memory) reading speed test circuit.
Background technology
Present non-volatility memorizer reading speed test circuit adopts structure shown in Figure 1, address production electric circuit externally produces the reference address An~A0 of non-volatility memorizer under the driving of clock (by pin PAD input), the output data Dm~D0 of the reference data that presets and nonvolatile memory is compared by comparator circuit, and draws comparative result.Therefore this test circuit has introduced test error owing to introduced the delayed impact of comparator circuit.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of non-volatility memorizer reading speed test circuit, can accurately test the reading speed of non-volatility memorizer, and can not introduce the delay equal error of test circuit.
For solving the problems of the technologies described above, non-volatility memorizer reading speed test circuit of the present invention comprises:
One address production electric circuit, externally the address scan signal of generation non-volatility memorizer under the driving of input clock reads non-volatility memorizer continuously;
Select circuit for one, data-signal Dm~D0 that described non-volatility memorizer is exported selects certain a data signal as benchmark, and forms square-wave signal, the reading speed of test non-volatility memorizer;
One programmable frequency divider, the square-wave signal that the data-signal of selecting circuit to select to institute's rheme forms carries out frequency division according to the frequency dividing ratio of setting, and then exports with low frequency signal;
According to identical every address date, the opposite form of neighbor address data step-by-step carries out the data pre-storage storage, according to the address saltus step outputting data signals Dm~D0 of described address scan signal in the described non-volatility memorizer.
Adopt non-volatility memorizer reading speed test circuit of the present invention, the saltus step speed of address scan signal is directly proportional with outside input clock frequency, and the saltus step speed of described address scan signal and frequency dividing ratio (K) all are that system sets in advance, if therefore can be correct read non-volatility memorizer, the frequency of the low frequency signal waveform of programmable frequency divider output learns in advance, thus the reading speed that can test non-volatility memorizer by the saltus step speed of control address scan signal.
The present invention has got rid of the delay time error of each control circuit in the test circuit, can realize the accurate test of non-volatility memorizer reading speed, and measuring accuracy is high; And by the selection of control data bit, can compare the speed difference of each data bit.
Test mode of the present invention is simple, and according to the frequency of outside input clock, the observation output signal frequency just can draw the non-volatility memorizer reading speed.
Circuit structure of the present invention is simple, is easy to realize that cost is low.
Description of drawings
The present invention is further detailed explanation below in conjunction with accompanying drawing and embodiment:
Fig. 1 is existing non-volatility memorizer reading speed test circuit figure;
Fig. 2 is non-volatility memorizer reading speed test circuit one embodiment schematic diagram of the present invention.
Embodiment
In conjunction with shown in Figure 2, in one embodiment of this invention, describe as an example of the wide FLASH as 16 bits of outputs data bits example.Described non-volatility memorizer reading speed test circuit comprises: an address production electric circuit, select circuit, a programmable frequency divider for one.According to identical every address date, the opposite form of neighbor address data step-by-step carries out the data pre-storage storage, according to the address saltus step outputting data signals Dm~D0 of described address scan signal in the described non-volatility memorizer.Such as address 0 storage 0xAAAA, address 1 storage 0x5555, by that analogy.
Described address production electric circuit produces the address scan signal of non-volatility memorizer under the driving of the outside input clock (clock) of being inputted by input pin PAD2, read continuously non-volatility memorizer.For example add 1 with simple address and realize address scan.
The data-signal Dm of non-volatility memorizer output~D0 selects circuit to select through institute's rheme, for example selects D0 as benchmark, and forms square-wave signal as the input signal of programmable frequency divider, the reading speed of test non-volatility memorizer.
Described programmable frequency divider carries out frequency division according to the frequency dividing ratio of setting to input signal, thereby exports through output pin PAD1 with the low frequency signal process.
The saltus step speed of described address scan signal determines that by the outside input clock frequency v from input pin PAD2 input the frequency dividing ratio k of described programmable frequency divider sets in advance; If therefore non-volatility memorizer can accurately read, the low frequency signal frequency of being exported by output pin PAD1 is determined by function f (v, k): f (v, k)=v/ (2 * k).
Raising can be measured the maximum reading speed of non-volatility memorizer by the frequency of the outside input clock of input pin PAD2 input; Select circuit to select bit data signals different among the data-signal Dm~D0 of non-volatility memorizer output as the data-signal of programmable frequency divider input by institute's rheme, repeat to test the speed difference that can draw between each data bit signal.
Non-volatility memorizer reading speed test circuit structure of the present invention can with build-in self-test (BIST) combination of the existing non-volatility memorizer that generally adopts, realize effectively control test.Wherein, address production electric circuit is produced by BIST; The primary data of non-volatility memorizer is finished by the BIST operation; The position selects circuit and frequency dividing ratio k to realize in the BIST circuit; Input pin PAD2 and output pin PAD1 can multiplexing BIST port.
Below through the specific embodiment and the embodiment the present invention is had been described in detail, but these are not to be construed as limiting the invention.In the situation that does not break away from the principle of the invention, those skilled in the art also can make many distortion and improvement, and these also should be considered as protection scope of the present invention.