AU609809C - Memory test method and apparatus - Google Patents
Memory test method and apparatusInfo
- Publication number
- AU609809C AU609809C AU15521/88A AU1552188A AU609809C AU 609809 C AU609809 C AU 609809C AU 15521/88 A AU15521/88 A AU 15521/88A AU 1552188 A AU1552188 A AU 1552188A AU 609809 C AU609809 C AU 609809C
- Authority
- AU
- Australia
- Prior art keywords
- data
- memory
- pattern
- check bits
- error
- 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.)
- Ceased
Links
Description
"i:le
DMO:AS P7795 Australian Patent Declaration Form
Formcl 7 and 8
Patents Act 1952 DECLARATION IN SUPPORT OF A CONVENTION OR NON-CONVENTION APPLICATION FOR A PATENT OR A PATENT OF ADDITION In support of the application No. 15521/88 made by DIGITAL EQUIPMENT CORPORATION for a patent for an invention entitled MEMORY TEST METHOD AND APPARATUS
I/We, Donald W. Smelser of Digital Equipment Corp. with its address at 111 Powdermill Road, Maynard, MA 01754-1418
do solemnly and sincerely declare as follows:-
1. I am/we are the applicant(s) for the patent, or am/are authorised by the abovementioned applicant(s) to make this declaration on its behalf.
2. The basic application(s) as defined by Section 141 of the Act was/were made in the following country or countries on the following date(s) by the following applicant(s) namely:-
in United States of America on 15th May 1987 by Donald W Smelser
S 3. The said basic appllcation(s) was/were the first application(s) nmade in a Convention country in respect of the invention the subject of the application. ;4 4. The actual inventor(s) of the said invention is/are Donald W Smelser, 20 Woodside Drive, Bolton, Massachusetts 01740, USA 5. The facts upon which the applicant(s) is/are entitled to make d 0 this application are as follows:- S* The said applicant is the assignee of the said inventor aI 6 r
DECLARED at Maynard, MA this 22n day of unI W 19
i t Donald W. Smelser
Q2 i~~c o (12) PATENT ABRIDGMENT (11) Document No, AU-B-15521/88 (19) AUSTRALIAN PATENT OFFICE (10) Acceptance No. 609809
(54) Title MEMORY TEST METHOD AND APPARATUS International Patent Classification(s) (51) 4 G06F011/28 G11C 029/00 (21) Application No. 15521/88 (22) Application Date 0.05.88 Priority Data (31) Number (32) Date (33) Country i 050847 15.05.87 US UNITED STATES OF AMERICA (43) Publication Date: 17,11.88 (44) Publication Date of Accepted Application 09.05.9 1 (71) Applicant(s) DIGITAL EQUIPMENT CORPORATION (72) inventor(s) DONALD W. SMELSER cj
(74) Attorney or Agent GRIFFITH HACK CO, GPO Box 1285K, MELBOURNE VIC 3001 (57) Claim
1. A method for testing the memory comprising the steps of: writing a first pattern of data into the memory in a pseudo-random address sequence determined by an address generator; reading the first pattern from the memory; Checking the first pattern for any error; writing a second pattern of data into the memory in the pseudo-&atidom addreas sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; reading the second pattern from the memory; checking the second pattern for any error; writing a third pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the third pattern has the effect of complementing respective check bits which are the same for the first pattern and the second pattern, and wherein check bits are associated with each data pattern; reading the third pattern from the memory; andd checking the third pattern for any error
(11) AU-B-15521/88 -2- 609809
12. Apparatus for testing a memory comprising: means for writing a first pattern of data into the memory in a pseudo-random address sequence determined by an address generator; means for reading the first pattern from the memory; means for checking the first pIatern for any error; means for writing a second pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; means for reading the second pattern from the memory; means for checking the second pattern for any error; means for writing a third pattern of data into the memory in .thepseudo-random address sequence determined by the address generator, wherein the third pattern has the effect of complementing respective check bits which are the same for the first pattern and the second pattern, and wherein check bits are associated with each data pattern; means for reading the third pattern from the memory; and means for checking the third pattern for any
j .1
AUSTRALIA 6 8 PATENTS ACT 1952 Form COMPLETE SPECIFICATION
Short Title:
Int. Cl: This document contains the amndnments made under Application Number: Section 49 and is correct for Lodged: printing. 'Cre Complete Specification-Lodged: Accepted: Lapsed: Published:
Priority:
Related Art:
Name of Applicant: DIGITAL EQUIPMENT CORPORATION Address of Applicant: 146 MAIN STREET MAYNARD MASSA(HUSSTTS 01754 U.S.A. It Actual Inventor:
Address for Service: CLEMENT HACK CO., 601 St. Kilda Road, Melbourne, Victoria 3004, Australia,
Complete Specification for the invention entitled: MEMORY TEST METHOD AND APPARATUS
The following statement is a full description of this invention including the best method of performing it known to me:-
4 4 *4 4
4, 4 4 4' 4 44
4 *4 4£ 4 t I 44£ I
4 I~ 44 1 4 4 444 4
4I4t4~4 4 4
4 MEMORY TEST METHOD AND APPARATUS *4 .4 S I Cross-Reference toRelated Application S 9*44*4 4 This application is related to U.S. Patent Number 4,817,095 for "Byte Wri e Err-or Code Method and Apparatus". I
4.4.4. 4 Backg~round of the Invention I I
The present invention relates to the field of testing of memory for a digital computer, In particular, J*1 is invention relates to a pseudo-random memory test.
There are a number of known schemes for testing computer memories. One prior art method is to write all binary ones of zeros into a memory and then to read from the memory, checking for errors. One problem witn that prior art method is its inability to detect whether two or more data lines are shorted together. Another prior art method is to remain at each memory address long enough to write and read a series of data words at that address, wherein each data word 10 comprises zeros and a single one, and the data words differ in the position of that single on bit. The one bit "walks'" through each bit position as the data words are written into and read from the memory. One shortcoming of that prior art method is that it cannot 15 detect whether or not two or more address lines are shorted together, and other prior art testing systems that write the same data into different addresses share i. the inability to detect whether or not two or more address lines are shorted together. 20 Some prior art memory testers use a simple increment by one counter to generate memory addresses. Some prior art memory testers employ more than one address counter. One problem with some prior art testers using counters is that some address bits generated by the I counter or counters remain the same for relatively long periods of time before changing state. One prior art method of memory testing known as the Galpat test involves staying at one address while changing data patterns that are written into and read from that address, and then moving onto and doing the same at other addresses. The amount of time it takes to run a Galpat test on a memory is generally proportional to the square of the number of memory addresses tested. Therefore, the amount of time it takes to run a Galpat test increases dramatically for larger memories with significantly more memory addresses.
I 3
One prior art way to check data for errors is to use comparators to check the data read from the memory against the data that was written into the memory. The addition of many comparators for testing to an existing circuit design can, however, take up otherwise valuable space on a printed circuit board or within an integrated circuit. Another prior art way to check data for errors is to check parity. Various prior art error detecting 10 and correcting codes can be employed, including the ,Hamming code. The Hamming code offers the ability to detect errors involving two bits and detect and correct errors involving a single bit.
Summary and Objects of the Invention In view of the above background, one of the objects of the present invention is to assure memory Saddress uniqueness by way of memory testing. A further related object of this invention is to assure the independence of the address lines in the memory. In other words, an object of this invention is to provide an indication during testing of whether or not two or more memory Address lines are shorted together or shorted to any data line. Another object of this invention is to assure by way of memory testing the independence of the data lines in the memory. An object of this invention is therefore to provide an indication during testing of whether or not two or more memory data lines are shorted together or shorted to any address line. A further object of this invention is to store both a one and a zero in each location in the memory in order to provide more complete testing. Another object of the present invention is to better simulate the randomness of real memory use by providing for pseudo-random addressing of the memory and the storing of pseudo-random data. A further object of this invention is to provide a march through memory addresses and data. Another object of the present invention is to stimulate failure modes not discovered by more regular sequences. Another object of this invention is to execute a memory test in a relatively short time for example, in seconds, rather than minutes. A further object of the present invention is to add a minimum of additional design complexity, including minimizing the gate count, when memory testing circuitry is added to a memory system design. Another object of the present invention is to
C, use, in the testing of the memory many of the non-test 15 mode memory circuitry functions. A related object of the C present invention is to use as part of the memory tester a portion of the non-test mode memory circuitry. L ;A further object of the present invention is to improve the memory test coverage of the error detection and correction logic. Accordingly, the invention provides a method for testing memory comprising the steps of: .1 2writing a first pattern of data into the memory in a pseudo-random address sequence determined by an t 25 address generator; S" reading the first pattern from the memory; checking the first pattern for any error; 4 writing a second pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; reading the second pattern from the memory; checking the second pattern for any error; writing a third pattern data into the memory in the pseudo-random address sequence determined by the address generator, wherein the third pattern has the effec, f complementing respective check bits which are rj& 'I%
5A
the same for the first pattern and the second pattern, and i wherein check bits are associated with each data pattern; reading the third pattern, from the memory; andd checking the third pattern for any error. The invention further provides a method for testing a memory comprising the steps of: generating a pseudo-random data sequence of first data words; generating sets of first check bits wherein a respective one of each -vf the sets of firt check bits is generated from a respective one of each of the first data words; addressing the memory in a pseudo-random address 1 sequence of memory addresses; t 15 writing into the memory the first data words and the sets of first check bits, wherein a respective one of i each of the first data words and the set of first check *ii I bits generated from that respective one of the first data ,tftt! words is written at a respective one of each of the addresses in the pseudo-random address sequence so that a first pattern of the first data words is written in the memory; tg I reading from the memory each of the first data .words and each set of the first check bits; S 25 decoding each of the first data words and each set of the first check bits in order to detect the presence of an error; S.I, generating second data words by cc nplimenting each of the first data words read from the memory; generating sets of second check bits wherein a respective one of each of the Lets of second check bits is generated from a respective one of each of the second data words; writing into the memory the 4-i-ra data words and sets of i9frt check bits, wherein a respective one of each of the second data words and the set of second check bits r- generated from that respective one of the second data words is written at a respective one of each of the addresses in the pseudo-random address sequence so that a second pattern of second data words is written in the memory; reading from the memory each of the second data words and each set of the second check bits; decoding eatna of the second data words and each set ol" the second check bits in order to detect the presence of an error; generating third data words; generating sets of third check bits wherein a respective one of each of the sets of second check bits is generated from a respective one of each of the second data S words and wherein oach of the third data, words is formed complementing a subset of a respective one of each of the Oecond data words so that the sets of third check bits are such -that the bits of the third check bits that correspond in bit position to respective bits of the sets j of the first and second check bits that are the same are the complements of those bits; writing into the memory the third data words and sets of third check bits, wherein a respective one of each *V of the third data words and the set of third check bits generated from that respective one of the third data words is written at a respective one of each of the addresses in the pseudo-random address sequence so that a third pattern j of third data words is written in the memory; C reading from the memory each of the third data words and each of set of the third check bits; and decoding each of the third data words and each -et of the third check bits in order to detect the presence of an error. The invention further provides apparatus for testing a memory comprising: means for writing a first pattern of data into the memory in a pseudo-random address sequence determined ~LIAbby an address generator; i ib I I 1
~ii i 'B
ii 6
means for reading the first pattern from the memory; means for checking the first pattern for any error; means for writing a second pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; means for reading the second pattern from the memory; means for checking the second pattern for any error; 4ksetl I means for writing a third pattern of data into the memory in the pseudo-random address sequence #6 15 determined by the address generator, wherein the third pattern has the effect of complementing respective check 4 bits which are the same for the first pattern and the r* 4 4 second pattern, and wherein check bits are associated with 4 4 each data pattern; means for reading the third pattern from the memory; and 446646 means for checking the third pattern for any 4 error. 44 *6 6
4i 4 Brief Description of the Drawings *4. In order that the invention may be more fully 44 4 explained, preferred embodiments will now be described
1 4 4 with reference to the accompanying drawings: *r Fig. 1 is a block diagram of an embodiment for memory testing;
(5 Pr::
ii, 4"; 'I
7
Fig. 2 illustrates the data linear feedback shift register; Fig. 3 illustrates the address linear feedback shift register; Fig. 4 illustrates a partial sequence of memory addresses generated by the address linear feedback shift register; Fig. 5 illustrates a method for testing a memory; Fig. 6 illustrates partial sequences of memory addresses and data generated by the address linear feedback shift register and the data linear feedback 904*? I shift register; t-
9 Fig. 7 illustrates error correction code .9 0 15 circuitry; and 90 040 9 90 9 Fig. 8 illustrates an error correction code. 09 0
06cO Detail Description With reference to the drawings, Fig. 1 9 9
illustrates in block diagram form the basic apparatus for a to 0 9 20 testing the memory. The bus 10 provides a path for data ot 9 0? to be transferred throughout many parts of a computer 99 9 9 9 system. Memory system 11 connects with bus 10 through the drivers 12, and data can flow to or from bus through drivers 12. Control 14 contains, among other things, circuitry to interface to and observe the *c 0 protocol of bus 10. Control 14 also contains circuitry to control the operation of the dynamic random access memories ("DRAMS") 16. This includes control 14 ii providing signals including address, row address strobe and column address strobe Alternatively, other types of random access memories could be used in place of the DRAMS.
4I
8
In one embodiment of the present invention memory system 11 can be a memory board for use in a data processing system. In another embodiment of the present invention, the memory system 11 for use in a data processing system has at least one memory board. Data to be written from the bus 10 into memory passes from bus 10, through the drivers 12, through data path 18, and into DRAMS 16. Data to be read from the memory onto the bus 10 passes from DRAMS 16, through data path 18, through drivers 12, and onto bus Data path 18 contains error detection and correction circuitry for the data. Register 20 stores data read from and to be written into DRAMS 16. Register 22 stores data that is received from and to be sent to 15 drivers 12. Register 28 stores parity check bits read S, from and to be written to DRAMS 16. Error correction code circuitry 24 provides the capability for generating check bits for data words and for providing sets of syndromes for data words. The operation of ECC circuitry 24 will be described in more detail below. Decode 30 contains circuitry to decode the syndrome produced by ECC circuitry 24. If the syndrome 2 decoded by decode 30 indicates the presence and location of a correctable error in the data, then corrector 26 corrects the bit of the data that is in error. For S" example, if a bit should be a 1 rather than a 0,
1 30 corrector 26 changes the bit from a 0 to a 1. 26 can of course also change a 0 to a 1. If decode circ.1iry 30 detects either Corrector
a correctable or an uncorrectable error, the syndrome associated with that error is stored in reqister 46. Alternatively, only if decode 30 detects a. v* correctable error is the syndrome associated with that error stored in register 46. Upon the detection of either a correctable error or an uncorrectable error by decode
i~iIA__
-9-
decode 30 sends a signal to control 14, and control 14, after receiving that signal, stores in register 44 the nmemory address at which the error occurred. Alternatively, decode 30 sends a signal to control 14 for control 14 to store in register 44 the address at which an error occurred only if decode 30 detects an uncorrectable error. Fig., 1 also illustrates a linear feedback shift register ("LFSR") 40 that generates a pseudo-random sequence of memory addresses. The pseudo-random address sequence simulate the randomness of real memory use and may stimulate failure modes not discovered by more regular sequences. LFSR 40 provides a pseudo-random address sequence for sequencing through the memory S 15 addresses in a march. Control 14 controls the enablement, disablement, and clearing of LFSR 40. The to I! addresses generated by LFSR 40 are provided to control 14 for addressing the DRAMS 16. Linear feedback shift register ("LFSR") 42 shown in Fig. 1 generates a pseudo-random sequence of data words to be written into the memory. The 44 pseUdo-random data sequence simulates the randomness of real memory use and may stimulate failure modes not discovered by more regular sequences. LFSR 42 provides a pseudo-random data sequence for generating a pattern of data. Control 14 controls the enablement and disablement .of LFSR 42. The data output of LFSR 42 is input into register 22 of data path 18. After a data word generated by LFSR 42 is stored in register 22, check bits for the data word are then generated by ECC 24 and those check bits are stored in register 28. The data word in register 22 is then inputted into register 20. The data word stored in -agister 20 along with the check bits stored in register 28 are then input into DRAMS 16.
Delay circuitry 32 helps to avoid a large power transient during start-up of a memory test by prov'--. a variable delay to the initial start of the memory rsL test depending on the module position in the backplane. In one embodiment of the present invention, delay circuitry 32 includes a counter to provide a count for the wait to start a memory test. The counter's count depends on which node the counter is at initially, which has the effect of staggering the initiation of memory tests which in turn helps to avoid voltage transients. Fig. 2 illustrates the LFSR 42 of Fig. I. Again, LFSR 42 generates a pseudo-random sequence of data. Each data word often consists of mixture of one's and zeros. LFSR 42 shown in Fig. 2 is for a 64 bit data 9 15 word. A data LFSR could alternatively be provided for moo 11generating a data word with fewer than 64 bits or a data word with more than 64 bits. LFSR 42 comprises 64 flip-flops and logic circuitry. The output Q of flip-flop 54 is data bit 63, the output Q of flip-flop 56 is data bit 62, and so forth. The output Q of flip-flop 54 provides the input D for flip-flop 56, the output Q of flip-flop 56 provides the input D for flip-flop 58, and so forth. Each of the 64 flip-flops is clocked by a clock input provided by control 14 of Fig. 1. The output of a logic circuit 70 that includes exclusive-OR gates argl 52 is connected to input D of flip-flop 54. Data 'bits 0, I, and 2 provide an input to logic circuit Logic circuit 70 provides feedback for driving LFSR 42, and tja logic circuit 70 determines the particular -4 30 pseudo-random data sequence for LFSR 42. The particular LFSR 42 shown in Fig. 2 can generate approximately 109 combinations of data bits. A data LFSR could alternatively be provided with different feedback logic circuitry for generating different combinations of data bits.
Fig. 3 illustrates LFSR 40 of Fig. 1. Again, LFSR 40 generates a pseudo-random sequence of addresses Which permit a march through the memory addresses. LFSR shown in Fig. 3 is for a memory having a 25 bit address of 25 address lines. An address LFSR could alternatively be provided for generating addresses with fewer than 25 bits or addresses with more than 25 bits. LFSR 40 comprises 25 flip-flops and logic circuitry. The output Q of flip-flop 90 is address bit 24, the output Q of flip-flop 92 is address bit 23, and so forth. The output Q of flip-flop 90 provides the input D for flip-flop 92, and so forth. Each of the 25 flip-flops is S.clocked by a clock input provided by control 14 of Fig. 1. The output of a logic circuit 106 that includes S 15 exclusive-or gates 80, 82, 84, and 86, and gate 88, is connected to input D of flip-flop 90. The Q (Q-Not or Q-Bar) outputs of the 25 flip-flops are inputs to AND gate 88. Address bits 0 through 4 are also input into logic circuit 106. Logic circuit 106 provides feedback 20 for driving LSiR 40, and thus logic circuit 40 determines i, 0* .4 the particular pseudo-random address sequence for LFSR 40. Logic cirLuit 106 also permits LFSR 40 to begin with an address consisting of all zeros, and nevertheless "t march through other addresses. The all-zero address state can be achieved by providing the CLEAR input signal to all 25 flip-flops. Logic circuit 106 also permits LFSR 40 to march throtjh the all-zero address. It should be noted that it is not necessary that data LFSR 42 generate the all-zero data word given that many other combinations of data bits are generated. The all-zero address generated by LFSR 40, however, permits that address to be accessed during a memory test. Fig. 4 illustrates a portion of a pseudo-random address sequence generated by LFSR 40, including the all-zero address.
Fig. 5 illustrates the sequence for a memory .Jst and Fig. 1 illustrates the apparatus employed. AT step 180, a first pattern of data is written into DRAMs 16 in accordance with a pseudo-random address sequence determined by LFSR 40. For each address generated by LFSR 40, data LFSR 42 generates a pseudo-random data word, which is stored in register 22. ECC circuitry 24 generates a set of check bits for the data word, and the check bits are stored in register 28. The data word is moved to and stored in register 20, and then both the data word in register 20 (generated by LFSR 42) and its check bits in register 28 are written into DRAMs 16. Address LFSR 40 then changes to another pseudo-random address, and data LFSR changes to another pseudo-random t 15 data word, and the process of writing the data word and its check bits into DRAMs 16 is likewise repeated. Fig. 6 illustrates a portion of the pseudo-random address .sequences generated by LFSR 40 and a portion of the pseudo-random data words generated by LFSR 42. Returning to Figs. 5 and 1, as discussed above, a data word is written at a mnamory address, the next data );word in the pseudo-random data sequence is written at the next address in the pseudo-rarldom address sequence, and so forth, such that a first pattern of data comprising data words is written throughout the DRAMs 16. At step 184, each data word and its check bits are in turn read from DRAMs 16 according to pseudo-random address sequence determined by LFSR 40. The data word read from DRAMS 16 is stored in register 28. At step 30 188, the data word and its check bits are checked for any error. ECC circuitry 24 provides a syndrome for the data word and check bits read from the DRAMs 16. Decode circuitry 30 then decodes the ayndrome produced by ECC circuitry 24. If the syndrome decoded by decode indicates the presence and location of a correctable error in the data, then corrector 26 corrects the bit of the data that is in error. If decode 30 detects either a correctable or an uncorrectable error, the syndrome associated with that error is stored in register 46. (Alternatively, only if decode 30 detects an uncorrectable error is the syndrome associated with that error stored in regis. r 46). Upon the detection of either a correctable error or an uncorrectable error by decode 30, decode 30 sends a signal to control 14, and control 14, after receiving that signal, stores in register 44 the memory address at which the error occurred. (Alternatively, decode sends a signal to control 14 for control 14 to store in register 44 the address at which an error occurred only if decode 30 detects an uncorrectable error). The data word just read is then complemented by tir changing all the zero bits to ones and vice-versa. Check bi f hne complemented data word are then generated in data path 18 in the manner described above. The complemented data word and its check bits are then written into DRAMs. The process of reading, checking, correcting (in some cases), and complementing the data word is repeated for each data word in the march through the memory addresses, the sequence of the march through the addresses being determined by the pseudo-random address sequence of LFSR 40. In that way, a second pattern of data (comprising data wotds) the complement of the first pattern is written throughout DRAMs 16, in accordance with step 192. At step 196, each data word and its check bits are read from DRAMs 16 according to the pseudo-random address sequence determined by LFSR 40 in the manner described above in connection with step 184.
h
At step 200, the data word read from the DRAMs and its check bits are checked for the presence of an; error in the manner described above in connection with step 188. At step 204, a third data pattern (comprising data words) is written throughout the memory. To write the third pattern of data words, certain bits of the data word read at step 196 are complemented such that, for 64 bit data words, the third pattern of data is the same as the first pattern of data except for the fact that in the third pattern of data, bits 40 and 55 of each data word are complemented from what they were in the first pattern t of data. Ti is has the effect of complementing those check bits that had remained the same 15 uncomplemented) when the fist pattern of data was n Is complemented to generate the second pattern of data. i (l Check bits are generated for the resulting new data word, and each new data word and its check bits are written i into DRAMs 16, resulting in a third pattern of data being written throughout the memory. At step 204, each data word and its check bits are read from DRAMs 16 according to the pseudo-random address sequence determined by LFSR 40 in the manner S1 1' described above in connection with step 184. At step 208, the data word read from the DRAMs and its are checked for the presence of an check bits i' 8 error in the manner described above in connection with step 188. In one embodiment of the present invention, a correctable error detected during memory testing will be flagged and the address and syndrome information will be latched for later retrieval. A subsequent correctable error will not be flagged. The address of the first correctable error will stay latched, If only a correctable error is found in the memory array, the memory will pass the self-test. An uncorrectable error
I~.'LtLJJY :ciuaresses-
will be flagged over any correctable error. The address and syndrome information will be latched in the normal manner and the self-test will have failed. Any subsequent correctable or uncorrectable error will not be flagged or latched. If another uncorrectable error is detected before the first one is cleared, a multi-error indication will be set. Fig. 7 illustrates the ECC circuitry 24. The data word stored in register 20 is inputted into the decode circuitry 160 of the ECC circuitry 24 shown in Fig. 7. The encode circuitry 112 generates 8 parity check bits for the data word from register 20 by performing an exclusive-OR logical operation ';or its logical equivalent) between certain selected bits of the data word. Sl The generation of check bits in the encode circuitry 160 is done according to the error correcting code 70 of Fig. 8. ECC 70 is a modified Hamming Code. Each check bit of the set of check bits is generated by an exclusive-OR operation between certain data word bits determined by ECC 70. By reference to ECC 70 of Fig. 3, one can see which data i word bits determine which check bits. Each check bit has its own column in ECC 70. Each "one" in the column for the check bit of interest lines up with a bit position of a data word. The data word bit po;itions so associated with the "ones" in the column of interest become the pertinent bit positions. For example, for check bit S2, the pertinent data word bit positions are 4-7, 12-13, 20-23, 28-29, 36-39, 44-46, 52-55, and 60-62. A check bit is generated by an excliisive-OR operation between the data in the pertinent bit positions of the data word. For this example check bit S2 is generated by an exclusive-OR operation between the data in bit positions 4-7, 12-23, 20-23, 28-29, 36-39, 44-46, 52-55, and 60-62
1U. u"aing or tne memory and
of a data word. The 8 check bits resulting from the generation of check bits in the encode circuitry 160 are stored in register 162. The 8 check bits stored in register 28 that were read from memory are then inputted through gate 166 into exclusive-OR circuitry 164. Exclusive-OR circuitry 164 generates a syndrome by performing an exclusive-OR logical operation between corresponding bits of each set of check bits inputted into the exclusive-OR circuitry 164. The syndrome generated by exclusive-OR circuity
I i ideodexcaio c ircuitry pr m logiclopaio ircnuterror 4 syndrome to determine: ye
in registers 20 and 28 have ea correctable error, and if word stored in register 2G or the check bits stored in register 28; loga whether whether the the data data aond check and check bits bits stored stored
error; and
stored in registers 20 and 28 have an uncorrectable
power of ECC 70 of Fig. 8 that there arof e no errors involving three or more bits the other data w ndhek ord t has occurred. The assumption is made, however, given tho I in register 28.
nvent r rath e than whetheompara e rror correcting code ,0 bits of register 162 pas through gate 166 and are stored in register 28. tester employing a comparator rather than error In an alternative embodiment o1 the present conectling Incode an circuitry alternative in embodiment memt o testing, of the or ewach present invention, a comparator rather than error correcting code circuitry i used to check data tor errors. In a memory circuitry he used to check data for errors. Iven tha memory tester employing a comparator rather than error
correcting code circuitry in memory testing, for each pattern of data in the memory, the comparator detects whether or not there is any error in the data read from the memory. In the foregoing spccification, tho invnt-nion has been described with reference to specific exe ary embodiments thereof. It will, however, be dent that various modifications and changes m e made thereto without departing from the br er spirit and scope of the invention as set f in the appended claims. The specif:; ation rawings are, accordingly, to be regarded an illustrative rather than a restrictive
1* i
4t a ia 4
41 t ia
4
4
I=CLti-O3 .LU.L W.L iLiY C L L. b L. aL pd l l- I UL U iL L II LIU
the memory in a pseudo-random address sequence determined IAv by an address generator;
,4
18
0- 1. A method for testing V memory comprising the steps of: writing a first pattern of data into the memory in a pseudo-random address sequence determined by an address generator; reading the first pattern from the memory; checking the first pattern for any error; writing a second pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; reading the second pattern from the memory; checking the second pattern for any error; writing a third pattern of data into the memory in the pseudo-random address sequence determined by the address generator, wherein the third pattern has the effect of complementing respective check bits which are the same for the first pattern and the second pattern, and wherein check bits are associated with each data pattern; reading the third pattern from the memory; andd checking the third pattern for any error. 2. A method as claimed in claim 1, further
comprising the step of indicating whether or not an error has occurred. 3. A method as claimed in claim 1, further comprising the step of storing the memory address at which
S- an error occurs. 4. A method as claimed in claim 1, wherein the data comprises a plurality of data words, wherein each data word is generated in a pseudo-random data sequence determined by a data generator. A method as claimed in claim 4, wherein each data word comprises 72 bits including 8 check bits. 6. A method as claimed in claim r, wherein the writing of a first pattern of data into the memory occurs writing of a first patten of data into: the; memory occurs
L _i ~1 i i P i-
Ir r
11- 19
after a delay from the time power is first applied to the memory in order to avoid a power transient. 7. A method for test.ng a memory comprising the steps of: generating a pseudo-random data sequence of first data words; generating sets of first check bits wherein a respective one of each of the sets of first check bits is generated from a respective one of each of the first data words; addressing the memory in a pseudo-random address sequence of memory addresses; writing into the memory the first data words and the sets of first check bits, wherein a respective one of each of the first data words and the set of first check bits generated from that respective one of the first data r ,words is written at a respective one of each of the addresses in the pseudo-random address sequence so that a ct first pattern of the first data words is written in the memory; reading from the memory each of the first data
words and each set of the first check bits; decoding each of the first data words and each c set of the first check bits in order to detect the piresence of an error; generating second data words by complimenting each of the first data words read from the memory; generating sets of second check bits wherein a respective one of each of the sets of second check bits is generated from a respective one of each of the second data words; writing into the memory theh4&1 data words and sets of 4/ check bits, wherein a respective one of each of the second data words and the set of second check bits generated from that respective one of the second data words is written at a respective one of each of the jt addresses in the pseudo-random address sequence so that a
Claims (1)
- Smemory;reading from the memory each of the second data words and each set of the second. check bits; decoding each of the second data words and each set of the second check bits in order to detect the presence of an error; generating third data words; generating sets of third check bits wherein a respective one of each of the sets of second check bits is generated from a respective one of each of the second data words and wherein each of the third data words is formed by complementing a subset of a respective one of each of the second data words so that the sets of third check bits S l are such that the bits of the third check bits that correspond in bit position to respective bits of the sets of the first and second check bits that are the same are the complements of those bits; writing into the memory the third data words and sets of third check bits, wherein a respective one of each of the third data words and the set of third check bits generated from that respective one of each of the third 0 data words and the set of third check bits generated from that respective one of the third data words is written at a respective one of each of the addresses in the pseudo-random address sequence so that a third pattern of third data words is written in the memory; reading from the memory each of the third data words and each of set the third check bits;a nd decoding each of the third data words and each set of the third check bits in order to detect the presence of an error. 8. A method as claimed in claim 7, further comprising the step of indicating whether or not an error has occurred. 91 A method as claimed in claim 7, further ,FL/jN\ comprising the step of storing the address at which ani ii a.ii u, unIle aetection of either a correctable error or an uncorrectable error by decode21error occurs. A method as claimed in claim 7, wherein the first, second and third data words are comprised of 64 bits respectively and wherein each set of the first, second and third check bits is comprised of 8 bits. 11. A method as claimed in claim 7, wherein the writing into memory of the first data words and the sets of first check bits occurs after a delay from the time power is first applied to the memory in order to avoid a power transient. 12. Apparatus for testing a memory comprising: means for writing a first pattern of data into the memory in a pseudo-random address sequence determined r by an address generator; 'means for reading the first pattern from the memory; .r e means for checking the first pattern for any Ie error; means for writing a second pattern of data into the memory inlthe pseudo-random address sequence determined by the address generator, wherein the second pattern of data is the complement of the first pattern; means for reading the second pattern from the S memory; .means for checking the second pattern for any error; means for writing a third pattern of data into the memory in the pseudo-random address sequence I* determined by the address generator, wherein the third pattern has the effect of complementing respective check bits which are the same for the first pattern and the second pattern, and wherein check bits are associated with each data pattern; means for reading the third pattern from the memory; and means for checking the third pattern for any error.13. Apparatus as claimed in claim 12, further comprising means for indicating whether or not an error has occurred. 14. Apparatus as claimed in claim 12, further comprising means for storing the memory address at which an error occurs. Apparatus as claimed in claim 12, wherein the data comprises a plurality of data words, wherein each data word is generated in a pseudo-random data sequence determined by a data generator. 16. Apparatus as claimed in claim 15, wherein the data generator is a linear feedback shift register. CC 17, Apparatus as claimed in claim 12, wherein the address generator is e linear feedback shift register that can address a memory address zero as part of a Spseudo-random address sequence. 18. Apparatus as claimed in claim 12, wherein each data word comprises 72 bits including 8 check bits. 19, Apparatus as claimed in claim 12, further comprising means foa delaying the writing of a first pattern of data into the memory after power is first applied to the memory in order to avoid a power transient,DATED THIS 5TH DAY OF FEBRUARY, 1991 ii 4 DIGITAL EQUIPMENT CORPORATION By Its Patent Attorneys GRIFFITH HACK CO. .o Fellows Institute of Patent "Attorneys of AustraliaV "OFI G. IS.1gS04 BUS 32REG, DELY 14 16CONTROLGA ]ADDRESSI 40 A~DDRESS R$DRIVERS LS ft I 42 ft LFSR222REGO EEG, I L-446£tI~ REG,
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US07/050,847 US4782487A (en) | 1987-05-15 | 1987-05-15 | Memory test method and apparatus |
| US050847 | 1993-04-21 |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| AU1552188A AU1552188A (en) | 1988-11-17 |
| AU609809B2 AU609809B2 (en) | 1991-05-09 |
| AU609809C true AU609809C (en) | 1992-07-30 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4782487A (en) | Memory test method and apparatus | |
| US5033048A (en) | Memory selftest method and apparatus same | |
| US5502732A (en) | Method for testing ECC logic | |
| CA1315886C (en) | Memory testing system | |
| US5392302A (en) | Address error detection technique for increasing the reliability of a storage subsystem | |
| KR920005297B1 (en) | Fault tolerant computer memory system | |
| US5276690A (en) | Apparatus utilizing dual compare logic for self checking of functional redundancy check (FRC) logic | |
| US5761213A (en) | Method and apparatus to determine erroneous value in memory cells using data compression | |
| US5925144A (en) | Error correction code circuit that performs built-in self test | |
| US6590929B1 (en) | Method and system for run-time logic verification of operations in digital systems | |
| US6223309B1 (en) | Method and apparatus for ECC logic test | |
| US4926426A (en) | Error correction check during write cycles | |
| US5966389A (en) | Flexible ECC/parity bit architecture | |
| US6286116B1 (en) | Built-in test method for content addressable memories | |
| KR19980086574A (en) | Pattern generator for memory burn-in and testing | |
| EP0186719A1 (en) | Device for correcting errors in memories | |
| US6226766B1 (en) | Method and apparatus for built-in self-test of smart memories | |
| JPH0287400A (en) | Memory device | |
| US7398439B2 (en) | Semiconductor device with memory and method for memory test | |
| JPH056684A (en) | ROM self-inspection method and apparatus | |
| US6457147B1 (en) | Method and system for run-time logic verification of operations in digital systems in response to a plurality of parameters | |
| Karpovsky et al. | Transparent memory BIST | |
| US4905242A (en) | Pipelined error detection and correction apparatus with programmable address trap | |
| US6430586B1 (en) | Controllable bit stream generator | |
| JPS6227479B2 (en) |