Memory self-test

Abstract: A system and method for high-efficiency checkerboard memory self-test is disclosed. A random pattern generator configuration includes a linear feedback shift register and a multiple input signature register. The random pattern generator is used to step through the memory addresses in generating the checkerboard pattern. The two least significant address lines connecting the random pattern generator and the memory array are connected together via an exclusive OR gate. Because these address lines indicate whether the next memory address to be generated is of the same or different type of state compared to the current memory address. The output of the exclusive OR gate can thus be connected to the data input shift register of the memory array to permit conditional shifting of the checkerboard data pattern into the memory array. One logic state is input to the current memory address when the output of the exclusive OR gate is a logical one and the other logical state is input to the current memory address when the output of the exclusive OR gate is a logical zero.

Description: This invention relates to a system and method for memory circuit self-testing. Numerous methods have been proposed for the testing of integrated circuitry. Typically, a black box technique is used. In this technique, a circuit is provided with a deterministic stimulus, thereby generating a response from the circuit, which is compared to a known expected output. Based on the comparisons, the circuit is determined to be simply good or bad. Past problems with the testing of integrated circuitry are the large test data volumes and long test times. Self-test refers to the presence of testing circuits which are on a component containing the circuits to be tested. The component may be a card, wafer, or an integrated circuit chip. Thus, self-test may be accomplished with testing circuits integrated into the circuits to be tested (i.e., on-chip), or located externally on the component (i.e., off-chip). The choice between on-chip and off-chip testing requires balancing two competing factors. Off-chip testing is advantageous because the testing circuits need not be reproduced with the production of each integrated circuit chip. On-chip testing is considered advantageous because of its closeness to the circuits being tested, thereby making testing available at significantly higher speeds than for off-chip testing and requiring little more than an external power supply therefor. In recent years, the balance has swung in favor of on-chip testing because the increase in integrated circuit density available has reduced the emphasis on chip real estate and increased the emphasis on testing speed. On-chip circuit testing can be divided into areas of logic circuit testing and memory circuit testing. For both types of on-chip testing it is desirable to be able to test all storage points in both the logical zero and one states. Due to recent increases in on-chip circuit density, it is becoming more likely that integrated circuit chips will contain both logic and memory circuits. Thus, there is an increasing need to be able to test both logic circuits and memory circuits on the same chip. However, most known circuit testing techniques are directed merely to the testing of logic circuits. The problem presented by the testing of logic circuits is the accessibility and observability of the logic circuit storage elements (latches). These storage elements are typically intertwined in such a manner that data cannot be inputted into a particular logic circuit storage element independently of other storage elements. Control of the independent logic circuit storage elements is required for logic circuit testing so that a known stimulus can be provided to the logic circuits, and the results can be observed. This problem has been solved by level sensitive scan design (LSSD) techniques. LSSD techniques are widely known, as described, for example, in U. S. Patents 3,761,695 or 3,783,254. LSSD testing is implemented by imparting a shift register capability to each of the logic system latches and by making these shift register latches (SRL's) accessible during an input/output mode. LSSD testing requires operation of the logic circuits in two separate modes. In the first mode, known test data is serially inputted and shifted to the appropriate SRL locations. With the SRL initialized to a known state, operation of the logic circuits in the second mode begins. Known test data is thus propagated through the logic circuits to act as a stimuli to the system, the results being captured in the SRL's. Upon reversion to the original mode of operation, the status of the SRL's can be outputted and compared with known data which would be present if the circuitry operated correctly. LSSD logic circuit testing is convenient because it permits sequential logic to be tested as combinatorial logic. In recent years, however, such "deterministic" circuit testing has become increasingly expensive. Circuit density has increases so rapidly that it is no longer feasible to provide for input/output (i.e., accessibility and observability) at each logic storage element. The same problem makes this technique impractical for memory test as well. Thus, more efficient techniques are required for the testing of circuits. Another known technique for circuit testing is signature analysis. Known testing data patterns are again used to stimulate logic or memory circuits. Data outputted from the stimulated circuits are then fed into a logic circuit which compresses the data into a data signature. The data signature is then compared to the data signature which would result had the logic or memory circuits functioned properly. Examples of such signature analysis can be seen in U. S. Patents 4,597,080 and 4,601,034. The advantage of signature analysis over simple deterministic testing is the compression of the outputted test data. The storing of test data for each output response is no longer required, thereby reducing tester complexity and test data volume. Although this feature also prevents the ability to easily determine the precise location of a circuit failure, such is irrelevant because the high circuit density and low cost of integrated circuit chips has made it impractical to repair a detected failure. Instead, a failed chip is discarded and another substituted in its place. Despite the aforementioned advantages, signature analysis is not a sufficiently efficient technique for testing the circuit densities achievable today. Large amounts of circuits are still required to initialize highly dense logic and memory circuits. Recently techniques for testing logic circuits are disclosed in U. S. Patents 4,513,418 and 4,519,078. These techniques employ a random pattern generator, including a linear feedback shift register, provided with known seed data (not all zeros) to apply a set of data patterns to test LSSD logic circuits. A random pattern generator cycle is herein defined as the period of time beginning with seeding and ending when the seed data reappears in the shift register. The efficient generation of memory addresses requiring initialization is a particular problem heretofore not resolved by these techniques. A random pattern generator simply having the same number of stages as there are address lines required for memory addressing will not cycle through all memory addresses. For example, the exclusive OR gate(s) in the feedback loop inevitably receive and therefore return a logical one to the initial stage of the shift register, thereby preventing the generation of the memory address consisting of all zeros. This is good in the sense that the presence of all zeros in the shift register would cause the random pattern generator to repeat the all zero state because the exclusive OR gate feedback loop would never generate anything but additional zeros. However, the all zero address must still be generated for complete testing. Thus, a simple system and method for generating the memory address consisting of all zeros is required. The inability of linear feedback shift registers to generate patterns including the all zero state has been recognized. One publication merely recommends modification of the shift register without further specification. McCluskey, E.J., "Built-In Self-Test Techniques," IEEE Design and Test , April, 1985, pp. 21-28. Another publication suggests modification of the existing stages or feedback loop of the shift register to generate the all zero state. Wang, L. and McCluskey, E.J., "Feedback Shift Register For Self-Testing Circuits," VLSI Systems Design , Des., 1986, pp. 50-58 and McCluskey, E.J. and Borzorgui-Nesbat, S., "Design for Autonomous Test," IEEE Transactions on Computers , Vol. c-30, No. 11, November, 1981, p. 866-875. However, the proposed modifications render the shift register non-linear or the feedback loop more complex than a simple exclusive OR gate. Thus, these publications do not solve the aforementioned problems. Regarding logic testing only, the addition of a stage to a linear feedback shift register has been proposed to allow for an all zero output widow. Bardell, P.H. and McAnney, W.H., "Pseudorandom Arrays for Built-In Tests," IEEE Transactions on Computers , Vol. c-35, No. 7, July, 1986, pp. 653-58. The output window is an array of data, the rows of which are formed from the data present in some of the stages of the shift register at various times during the data pattern. However, the array is generated inefficiently, using only a small portion of the existing stages of the shift register. This is because the proposal is directed to the generation of the all zero state in the entire array, not the generation of an all zero state in the shift register. The number of stages in the shift register do not correspond to the number of lines needed for addressing, and are reduced only by a complex logic circuit for inputting data from the shift register into the array. Furthermore, the complexity of the logic circuit makes it difficult to adapt to a particular memory size. The simple generation of all memory addresses for on-chip self-test of memory is addressed in U. S. Patent application serial number 187,708 ("Memory Self-Test") to which Article 54(3) document EP-A- 0 340 895 corresponds. A random pattern generator configuration includes a linear feedback shift register containing at least one more stage than address lines needed for addressing the memory. The data from the additional random pattern generator stages are not used in so far as memory addressing is concerned. The random pattern generator design is based upon a primitive polynomial. Such a random pattern generator ensures that cycling through all possible combinations of the test data patterns accounts for each memory address in the memory circuits, including the address of all zeros. The all-zero address is accounted for when the random pattern generator generates all zeros, except for a logical one in at least one of the additional stages of the shift register. Exhaustive coverage of the memory addresses may also be accomplished by using non-linear configurations or reversible deBruijn counters. The generation of each possible memory address makes it possible to determine if each memory location is capable of achieving both memory states. This is known as "functional" testing. Despite functional testing, a need still exists to verify that there is no interaction between physically adjacent memory cells. For example, the ability of a particular memory cell to achieve a particular memory state could be dependent on the memory state of one or more of its neighboring memory cells. It is known to use checkboard memory tests to verify that there is no interaction between adjacent memory cells. Examples of such checkerboard memory tests are disclosed in U. S. Patents 4,502,131; 4,654,849; IBM TECHNICAL DISCLOSURE BULLETIN, Vol. 26, No. 3A, 21, 1983, pps. 1078-1079; and the IBM TECHNICAL DISCLOSURE BULLETIN, Vol. 21, No. 12, May 1979, pps. 4911-4913. Typically, an alternating zero and one pattern is written into the memory array and read back out followed by the writing of the complimentary pattern and its reading. Because a checkerboard memory test would normally be performed in conjunction with a functional memory cell test verifying that the controls and address circuitry are operating correctly, it is desirable that both tests be able to utilize some or all of the same circuitry. The use of common circuitry would improve the efficiency of testing and minimize the physical space required for the circuits for both tests. Accordingly the present invention provides a method for testing memory circuits as specified in claim 1. The present invention also provides a system for testing memory circuits as specified in claim 6. The invention therefore improves systems and methods for checkerboard memory self-test. The invention also provides a system and method for on-chip checkerboard memory self-test, which can utilize circuitry common to that required for on-chip functional memory self-test and on-chip functional logic self-test. The invention further provides a system and method for efficiently generating checkerboard patterns for memory self-test. The features of this invention are achieved using a random pattern generator (RPG) configuration including a linear feedback shift register and a multiple input signature register (MISR). The random pattern is used to step through the memory addresses in generating the checkerboard pattern. The two least significant address lines connecting the random pattern generator and the memory array are also connected together via an exclusive OR gate. Because these address lines indicate the parity of the current and next memory addresses to be generated in the random pattern generator, the output of the exclusive OR gate indicates whether the next memory address to be generated is of the same or different type of state compared to the current memory address. The output of the exclusive OR gate can thus be connected to the data input shift register of the memory array to permit conditional shifting of the checkerboard data pattern into the memory array. One logic state is input to the current memory address when the output of the exclusive OR gate is a logical one and the other logical state is input to the current memory address when the output of the exclusive OR gate is a logical zero. In operation, the random pattern generator and multiple input signature register are first used to functionally test both memory and logic. After such functional testing, the checkerboard pattern is written to the memory array during an RPG cycle and read out of memory into the multiple input signature register during the following such cycle. In the subsequent two RPG cycles the complement checkerboard pattern is written to memory and read out to the multiple input signature register. The generation of the complementary data is accomplished by circuitry connected between the exclusive OR gate and the data input shift register to the memory array. At the completion of each or all RPG cycles, the signature generated by the MISR is then compared to that known for a good memory array. In order that the invention may be fully understood a preferred embodiment thereof will now be described, by way of example only, with reference to the accompanying drawing in which: Figure 1 is a schematic system diagram of the preferred embodiment of the invention. Referring to Figure 1, the system for self-test of memory circuits 10 and logic circuits 90 including checkerboard self-test of memory, will now be described. Memory circuits 10 include an array of data words each containing "n" bits. Data is written into memory 10 via input lines I₁, I₂, I₃ ... I n and read out from memory 10 via output lines O₁, O₂, O₃ ... O n . Memory addressing during read/write operations is accomplished via "m" address lines A₁, A₂, A₃ ... A m . Memory 10 can therefore contain up to 2 m word lines and up to (2 m x n) memory cells. The testing circuits can thus be adapted for any size memory, the exact values of m and n being significant only as stated herein. Address data for memory 10 are generated by RPG 20. Seed data can be entered into shift register 21 of RPG 20 via input node 22. Data exiting different stages of shift register 21 are inputted into exclusive OR gate 23, the output of which is rerouted as input data back into shift register 21 via multiplexer 24. RPG 20 is thus capable of cycling through a set of pseudo-random data patterns. By pseudo-random it is meant that the data patterns are random only in so far as the selection of the seed data and the configuration of the feedback path of the RPG. Provided the same seed data are always used, the test patterns are repeatable. The design of RPG 20 is based upon a "primitive polynomial." The stages of shift register 21 which are used to generate feedback to form the next state can be described by a polynomial. For a shift register with z stages, the feedback will be described by a zth degree polynomial. The remainder of the polynomial describes the feedback loop of the RPG. Feedback from the last stage of the shift register would be a "1" (x⁰), feedback from the next to last stage of the shift register would be an "x" (x¹), and so on. For example, a four stage shift register having feedback from the last two stages would be described by the polynomial "x⁴ + x + 1". If the zth degree characteristic polynomial p(x) is irreducible (i.e. cannot be factored) and if: then p(x) is a primitive polynomial. At least one primitive polynomial of degree z exists for every possible value of z. Examples of primitive polynomials are available in table form in various references. See, Peterson, W.W., and Weldon, E.J., Error Correcting Codes, 2nd Ed ., 1972. Sample primitive polynomials are x⁴ + x³ + 1, x⁵ + x² + 1, x¹⁸ + x⁷ + 1, x²¹ + x² + 1, and x³¹ + x³ +1. Thus, the actual configuration of RPG 20 may vary according to the size of shift register 21. A random pattern generator based on a primitive polynomial and having z stages will generate 2 z states if permitted to cycle through all possible data states. All data states are generated except for all zero state. The all zero state cannot be generated because feedback from a data "1" in the shift register must inevitably regenerate another data "1". Thus only (2 z - 1) states can actually be generated. Note that shift register 21 contains at least one stage in addition to the number of address lines m (i.e., a total of at least (m + 1) stages, or z > m). Because of this feature, the all zero address of memory 10 can be generated. Although all of the stages of shift register 21 cannot be in the zero state simultaneously, as mentioned, the stages connected to the address lines will at some point during cycling all be in the zero state while at least one of the remaining stages (those not connected to the address lines) is in the "1" state. Data exiting the last stage of shift register 21 are also routed through AND gate 61 and switchable inverter 31 to shift register 30. Shift register 30 has n stages connected to n input lines, permitting the input of words composed of n bits into memory 10. Data exiting the last stage of shift register 30 are routed through shift register 91. From shift register 91, data will propagate through logic circuits 90 to shift register 92. Shift registers 91 and 92 are designed according to LSSD criteria such as shown in U. S. patents 3,761,695 and 3,783,254. Data from shift register 92 and memory 10 are routed to MISR 40. Shift register 41 has at least (n + 1) stages connected to n output lines, permitting the output of words composed of n bits to MISR 40 from memory 10, and output from shift register 92. Data exiting different stages of shift register 41 of MISR 40 are inputted into exclusive OR gate 42, the output of which is rerouted as input data back into shift register 41 via multiplexer 44. Data may be outputted from shift register 41 via output node 43. RPG 20, input shift register 30, and MISR 40 are designed according to LSSD criteria, except so far as the aforementioned number of stages of shift register 21, so as to permit initialization. The stages of shift registers 21, 30, and 41 are shown by the boxes therein in Figure 1, as connected to the address, input, and output lines respectively. Clocks 50-53 control the operation of the entire system. System clocks 50 and 51 control operations involving memory 10 and logic 90 respectively. These clocks and read/write select switch 54 determine whether data will be written into or read out of memory circuits 10 and whether results will be captured from logic circuits 90. Shift clocks 52 and 53 control the shifting of data through shift registers 21, 30, 41, 91, and 92 and operate RPG 20 and MISR 40 in test mode. Mode select 55, Scan or Test, configures the system for scanning data into the shift registers or operating in test mode to test logic 90 or memory 10. Mode select 56 configures the system for functional memory test or checkerboard memory test. As shown, the entire system of Figure 1 may be integrated into the workings of a microchip to permit on-chip self-test. The circuitry for generating the checkerboard memory pattern is connected between RPG 20 and shift register 30. Such circuitry includes an exclusive OR gate 63, the inputs of which are connected to the two least significant address line A m indicates whether the address of such memory cell is hereinafter referred to as the "current address". The input line to exclusive OR gate 63 which is connected to the next least significant address line A m-1 indicates whether the address of the memory cell to be addressed immediately after the addressing of the current address is even or odd. Such address is hereinafter referred to as the "next address". The current address and the next address are not necessarily physically related or in some prescribed proximity to each other in memory array 10. The exact locations in memory array 10 of the current address and next address is determined by RPG 20 and the seed data. The output of exclusive OR gate 63 represents a comparison of the odd or even type of binary states of the current address and next address. Such a comparison is hereinafter referred to as "parity". Whenever such states are identical, the output of exclusive OR gate 63 will be a zero. Whenever such states are opposite in nature, the output of exclusive OR gate 63 will be a one. Such output is connected as an input to AND gate 67, then to OR gate 66, AND gate 64, and to shift register 30. The first stage of shift register 30 is a standard flip-flop which will alternately change state with each cycle of shift clock 52, if permitted by AND gate 64. AND gate 67 includes an input line in addition to the output from exclusive OR gate 63. The additional input line is the output of inverter 68 which is in turn controlled by read/write select switch 54, thereby allowing signals to pass through AND gate 67 only while memory array 10 is being written. The output of AND gate 67 is input to OR gate 66. The other inputs to OR gate 66 are the output of AND gate 65 and mode select 56. The inputs to AND gate 65 include read/write select switch 54 and the various stages of shift register 21. The connection to read/write select switch 54 makes the output of AND gate 65 determinant upon whether the system is currently reading data from memory circuits 10 or writing data into memory circuits 10. The connections to shift register 21 are for the memory address zero. The connection is such that AND gate 65 can only output a particular logical state when the binary address zero is the current address. The zero address will appear only once during the read cycle and will complement the data in shift register 30 in preparation for the next write cycle. For convenience, such connection is not shown in Figure 1, but would be known to one of skilled in the art. Referring to Figure 1, the method of self-testing memory circuits 10 and logic circuits 90 including checkerboard self-testing of memory, will now be described. In the system mode of operation (i.e. no testing), the system is responsive to system clocks 50 and 51 only. To test the system, seed data must be entered into RPG 20, shift registers 30, 91, 92 and MISR 40. Seeding is performed by setting mode select 55 to scan mode and switching system control over to shift clocks 52 and 53 and activating input node 22 to permit data to be scanned through the system. In this way, known data is present in RPG 20, shift register 30, 91, 92 and MISR 40 at the beginning of testing. Test mode begins once seeding is complete, using both system clocks 50 and 51, shift clocks 52 and 53, and mode select 55 to control the operation of the system. Read/write select switch 54 is used to determine whether data are being written into or read out of memory 10. Test mode includes at least four cycles of RPG 20. A RPG cycle comprises the shifting of data through shift register 21, exclusive OR gate 23, and back into shift register 21 until all possible combinations of binary data have passed through the stages of shift register 21. Multiplexer 24 controls node 22 to permit seeding (scan mode) or data feedback (test mode). Since shift register 21 has (m + 1) stages, the number of possible data combinations which must pass through shift register 21 is 2 (m + 1) - 1. To functionally test memory circuits 10, each memory cell in the memory array must be initialized. This is accomplished using RPG 20 and shift register 30. The present in shift register 30 are input into memory 10 at the memory address simultaneously represented by the data present in the appropriate stages of shift register 21. Thus, during the first RPG cycle all memory cells are written to at least once. Since RPG 20 has at least one additional stage compared to the number of memory address lines, RPG 20 does test the address consisting of all zeros. Although the additional stage will cause RPG 20 to cycle through some memory addresses more than once, this loss in efficiency is relatively small compared to the gains (in chip space, test data volume, and operating speed) achieved by avoiding the carry bit logic necessary for addressing when employing deterministic testing. During the first RPG cycle, data also passes through shift registers 30, 91, and 92 and into MISR 40. System clock 51 is deactivated to assure that data is not input to shift register 92 during the testing of memory. The outputs of memory 10 must always be in a known, repeatable state, for example all zeros, during all non-read operations. After initialization is complete, the known data stored in memory circuits 10 is outputted to MISR 40. Data output is accomplished during a second RPG cycle, similar to the first such cycle except that data is now read out of rather than into memory 10. As data recycles through MISR 40, it is modified with each passing through exclusive OR gate 42. Although data has also reached MISR 40 from shift register 92, it too is known data which recycles around MISR 40. Thus, when RPG 20 has completed cycling through all memory addresses, a predictable set of data will remain in shift register 41. The first two RPG cycles account for one of two data states for each individual memory cell of memory 10. To test for both possible data states at each memory address, the aforementioned testing must be repeated using data which is the component of that initialized into memory 10 during the first RPG cycle. Testing is thus repeated using the same test data patterns, but particular memory cells previously initialized to the zero state must now be written with the one state and vice versa. Complementary writing is accomplished during a third RPG cycle which is identical to the first RPG cycle, except that switchable inverter 31 was activated during the second RPG cycle to assure that the complement data is available at the beginning of the third RPG cycle. Data which are outputted from RPG 20 to shift register 30 during the third RPG cycle are thus the complement of the data so transferred during the first RPG cycle. A fourth RPG cycle is required to again output the known data in memory 10 to MISR 40. This RPG cycle is identical to the second RPG cycle except for the differences in the data shifted. Since the status of the system is always determinable so long as known seed data are used, the data in shift register 41 are still predictable. Logic circuits 90 may be functionally tested after memory circuits 10. System clock 51 allows data outputted from RPG 20, through shift register 30, and on to shift register 91 to propagate through logic circuits 90, and be captured in shift register 92. Data outputted from logic circuits 90 to shift register 92 are then inputted to MISR 40. When logic testing is complete, a predictable set of data will be present in the stages of shift register 41. Checkerboard testing of memory circuits 10 may follow functional testing of memory circuits 10 and logic circuits 90. Initialization may be required prior to the start of checkerboard test. If all the shift registers are in a known state, only shift register 30 must be set to an alternating 1010 ... pattern (or 0101 ...). This is accomplished by scanning new data into all the shift registers or through a logical reset of shift register 30 when mode select 56 is activated. With read/write select switch 54 set to write a path is sensitized from exclusive OR gate 63 through AND gate 67, OR gate 66, and AND gate 64 to shift register 30. Shift clock 52 is used to selectively control the output of AND gate 64 and thus the shifting of data through shift registers 30. With each shift of data through the system shift registers, the parity of the current address and next address are compared in exclusive OR gate 63 and used to control the gating of clock pulses to shift register 30. The output of shift register 30 will thus no longer be controlled strictly by random pattern generator 20, but will output a particular logical state depending upon the parity of the current address and the next address. Such control results in the writing of a checkerboard pattern into memory circuits 10 over the course of an RPG 20 cycle, assuming that the logical memory addresses are the equivalent of physical addresses. If not, a translation table may be used to ensure that a checkerboard pattern is actually generated in memory. At the end of the RPG 20 cycle, read/write select switch 54 is used to disable the output from AND gate 67. During the next PRG cycle, the contents of memory circuit 10 are read out into shift register 41 and shift register 30 is shifted once to complement its data. This single pulse is generated by AND gate 65 and passed through OR gate 66 and AND gate 64. The next RPG 20 cycle is used to again write a checkerboard pattern to memory circuits 10, but such checkerboard pattern because of the switching of the state of shift register 30 during the previous read cycle. After writing the complementary checkerboard pattern, memory circuits 10 are again read out to shift register 41 during the subsequent RPG 20 cycle. When checkerboard memory testing is complete, a predictable set of data will be present in the stages of shift register 41. This output signature is then outputted through node 43 and compared to that predicted for properly operating memory circuits 10 using the same seed data. Such signature may be read out instead of or in addition to the signature read out after functional testing. By reading the signatures twice, one is able to determine whether an error detected is related to the interaction between the memory cells. The aforementioned method of operation is described as generating a single signature in functionally testing both memory circuits 10 or logic circuits 90 or checkerboard testing memory circuits 10. Several variations of this method of operation can also be performed. Checkerboard testing can occur before functional testing, or logic circuits 90 can be tested before memory circuits 10 (and not after), so long as the expected data signature was based similarly and the output of the memory is controlled so as not to corrupt the signature in MISR 40. In addition, data signatures can be outputted for comparison with a known signature at any time during the testing, if so desired. For example, a separate signature comparison can be outputted for comparison with a known signature at any time during the testing, of so desired. For example, a separate signature comparison can be made for functional testing of memory 10 (after the fourth RPG cycle) for functional testing of logic 90 (after scanning data there through), and for checkerboard testing of memory 10. Similarly, portions of the system (such as logic circuits 90 and shift registers 91 and 92) or testing can be eliminated altogether. While the invention has been particularly shown and described with reference to a preferred embodiment thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention. For example, Figure 1 shows only one exclusive OR gate 42 in a single configuration in MISR 40, but the actual number and configuration may be different. Although these features will determine the outputted data signature, such data signature should always be the same for a properly operating circuit tested with the same seed data. RPG 20 may vary similarly.

Claims: A method for testing memory circuits (10) having a random pattern generator (20) outputting addresses to address lines (A i ) and outputting data to data input lines (I i ) of said memory circuits (10), the random pattern generator including means for stepping through each memory address during a random pattern generator cycle, the memory circuits having a multiple input signature register (40) connected to output lines (O i ) thereof, comprising the steps of: providing the random pattern generator (20) with known seed data; continuously monitoring the parity of the current memory address and the next memory address output by the random pattern generator, by using the two least significant address lines (A m , A m -1) of the random pattern generator (20); writing checkerboard data dependent on said parity into the memory circuits during a first random pattern generator cycle; outputting data from the memory circuits (10) to the multiple input signature register (40) during a second random pattern generator cycle; writing checkerboard data into the memory circuits during a third random pattern generator cycle, the data written during the third random pattern generator cycle being the complement of the data written during the first random pattern generator cycle; outputting data from the memory circuits to the multiple input signature register during a fourth random pattern generator cycle, thereby generating a data signature in the multiple input signature register; and comparing the data signature in the multiple input signature register with that which would be generated by properly operating memory circuits provided with the same seed data. A method as claimed in claim 1, further comprising the steps of: writing random data into the memory circuits during a first functional testing random pattern generator cycle; outputting data from the memory circuits to the multiple input signature register during a second functional testing random pattern generator cycle; writing random data into the memory circuits during a third functional testing random pattern generator cycle, the data written during the third functional testing random pattern generator cycle being the complement of the data written during the first functional testing random pattern generator cycle; and outputting data from the memory circuits to the multiple input signature register during a fourth functional testing random pattern generator cycle. A method as claimed in claim 1 or claim 2, in which each of said random pattern generator cycles corresponds to the generation of the same sequence of memory addresses. A method as claimed in any preceding claim wherein said steps of writing checkerboard data into the memory circuits includes writing one binary data state at each memory address determined to be of a particular parity during the step of continuously monitoring the parity of the memory addresses, and writing the other binary data state at each memory address determined to be of the other parity during the step of continuously monitoring the parity of the memory addresses. A method as claimed in any preceding claim wherein said step of continuously monitoring the parity of the memory addresses includes comparing the binary state of the least significant address line with the binary state of the next least significant address line. A system for testing memory circuits (10) comprising: a memory array having address lines (A i ), input lines (I i ), and output lines (O i ); a multiple input signature register (40) connected to the output lines (O i ) of the memory array; a random pattern generator (20) outputting addresses to the address lines (A i ) and outputting data to data input lines (I i ) of the memory array; writing means (30) for writing test data via said input lines (I i ) into the memory array, characterised by monitoring means (63, ..., 68, 30) connected to the address lines and the input lines for monitoring, using the two least significant address lines (A m , A m -1), the parity of the current memory address and the next memory address output by the random pattern generator; and in that said writing means (30) is responsive to the monitoring means for writing said test data dependent on the parity of the current memory address into said memory array. A system as claimed in claim 6, in which the structure of the random pattern generator is based on a primitive polynomial and has one stage in addition to the number of address lines. A system as claimed in claim 6 or claim 7 wherein said monitoring means comprises an exclusive OR gate connected between the address lines and the input lines, the two least significant address lines connected to the input of the exclusive OR gate. A system as claimed in claim 8 wherein said monitoring means further comprises AND, OR, and AND gates sequentially connected between the exclusive OR gate and the input lines. A system as claimed in any of claims 6 to 9 further comprising memory control logic circuits connected between the random pattern generator and the multiple input signature register.

Inventors: HACK GEORGE EDWIN, HACK, GEORGE EDWIN
Applicants: IBM, INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1990
Main classification: G11C29
IPC codes: G01R31, G11C29