Memory tester

Abstract: In a memory tester for testing memories of the type having a polarity inversion feature there are provided a bit select circuit (47) for selecting from an address generated by an address generator (11) a plurality of bits necessary for a logical expression expressing a polarity-inverted data storage area of the memory under test (20) and a bit register circuit (46) for storing bit data which is used to supply the bit select circuit with a select signal for specifying bits to be selectively output. The bits selectively output by the bit select circuit are used as an address for reading out a polarity inversion control signal from an area inversion memory (48). A polarity inverter (15), supplied with test data signal from a data generator (12), outputs the test data intact or after inverting its polarity in accordance with the logic of the polarity inversion control signal, and the output data is written into the memory under test.

Description: BACKGROUND OF THE INVENTION The present invention relates to a semiconductor memory tester and, more particularly, to a memory tester additionally provided with a feature suitable for testing large capacity memories. A dynamic random access memory (DRAM) employs a differential sense amplifier as a bit sense circuit for readout of memory cells. For example, as shown in Fig. 1, vertical lines X1, X2, ···, called word lines, are provided corresponding to X addresses (column addresses) and paired horizontal lines (Y1a, Y1b), (Y2a, Y2b), ···, called bit lines, are provided corresponding to Y addresses (row addresses). The paired bit lines (Y1a, Y1b), (Y2a, Y2b), ··· are each connected to alternate memory cells MC of a sequence of X addresses on the same Y address, and the paired bit lines are each connected at one end to non-inverting and inverting inputs of the corresponding one of sense amplifiers SA1, SA2, ···. With such an arrangement, even if a logical value "1" is written into a desired one of the memory cells, the output logic read out therefrom differs, depending on which of the two inputs of the sense amplifier the bit line connected to the desired memory cell MC is connected to. In view of this, the DRAM is adapted so that data stored in the memory cells MC may always be read out in correct logic, by storing the data intact or after inverting its logic, depending on which of the bit lines of each pair the memory cells MC are connected to. Such a function of the DRAM will hereinafter be referred to as an inversion feature. While the above prior art example has been described to employ a structure in which each Y address is accessed via a pair of bit lines, the prior art may sometimes use a structure of accessing each X address via a pair of bit lines and reading it out by a differential sense amplifier, or a combination of such two structures. As the capacity of the DRAM increases to 4 M bits, 16 M bits, and so on, the coupling capacitance between the bit lines increases and the capacity of each memory cell decreases, reducing the SN ratio of readout. As a solution to this problem, the prior art employs a twisted bit-line system in which bit lines of each pair connected to a differential amplifier alternately cross each other to decrease coupling noise by the neighboring bit lines to thereby improve the SN ratio. Yet, this method involves complicated write control, because addresses to be written after inversion of the logic of data and to be written intact are mixed complicatedly. A test of a memory equipped with such an inversion feature calls for a traditional test in which a test pattern signal composed of an address and data (composed of test data and expected data) is applied to the memory under test to write therein the test data at a specified address and the data is read out therefrom and checked for coincidence with the expected data, and a test which is made under the condition that data is written in the memory so that a storage area for holding polarity- or logic-inverted data and a storage area for holding non-inverted data may have the same polarity distribution, or the condition that "1's" or "0's" are written in the two storage areas throughout them. Such a test could be made by modifying or revising a pattern generating program of the pattern generator which generates the test pattern, but the modification of the program is troublesome. Besides, since memories under test are not uniform in specifications and since the polarity-inverted data storage area and the non-inverted data storage area are not fixed, it is also cumbersome to revise the program to meet the specifications. To avoid this, there has heretofore been proposed a tester which recognizes the polarity-inverted data storage area of the memory under test and permits freely selecting whether or not to "invert" the polarity of the test data signal when accessing the inverted data storage area. Fig. 2 shows an example of such a conventional tester. Reference numeral 10 indicates a pattern generator, which includes an address generator 11 and a data generator 12 for creating test data and expected value data. An address signal AD available from the address generator 11 is applied to an address input terminal of a memory under test 20 to access it, and at the same time, test data signal TD is applied from the data generator 12 to the memory 20 at the accessed address to effect a write therein or readout therefrom. A response output OD read out of the memory under test 20 is provided to a logic comparator 30, which compares the output OD with expected value data ED from the data generator 12 and outputs the result of comparison CR. Where the result of comparison CR indicates a mismatch, it is decided that the memory under test 20 is faulty. In some cases, the result of comparison CR is stored in a fail memory (not shown) for a failure analysis of memories. Polarity switches 15 and 16 are provided in a path 13 of the test data signal TD from the data generator 12 to the memory under test 20 and a path of the expected value data ED from the data generator 12 to the logic comparator 30. The polarity switches 15 and 16 are controlled by a polarity control signal CS available from a polarity controller 40 so that the polarity of the test data signal TD to be written into the memory under test 20 can be selected for each storage area being addressed. The polarity controller 40 is made up of inverted area memories 41, 42 and 43 provided for recognizing a polarity-inverted data storage area of the memory under test 20, an inversion data register 44 for determining whether or not to invert the polarity of the test data signal TD which is applied to the polarity-inverted data storage area and the expected value data ED, and an inversion data selector 45 which selectively outputs inversion data stored in the inversion data register 44. In this example, X, Y and Z address signals AX, AY and AZ are employed, which are applied to the three inverted area memories 41, 42 and 43, respectively, to access them individually. For example, a "1" logic is prestored in the inverted area memories 41, 42 and 43 at addresses corresponding to the polarity-inverted data storage areas of the memory under test 20. Now, let it be assumed, for the sake of brevity, that the memory under test 20 has a capacity of 256 bits, that its memory cells are each accessed using a 4-bit X address AX = X 0 X 1 X 2 X 3 , a 4-bit Y address AY = Y 0 Y 1 Y 2 Y 3 and that no Z address is used. Consider that the entire area of the memory 20 is divided into a hatched polarity-inverted data storage area INV and a blank non-polarity-inverted data storage area NINV as shown in Fig. 3. In this instance, as will be seen from Fig. 3, the X address AX in the polarity-inverted data storage area is expressed by AX = **11, where * is a "0" or "1", and the Y address AY is expressed by AY = **11. Hence, in the X address inverted area memory 41 there are prestored "1's" at addresses "0011" to "1111" as depicted in Fig. 4A, whereas in the Y address inverted area memory 42 there are prestored "1's" at addresses "0011" to "1111" as depicted in Fig. 4B. Consequently, when an address in the polarity-inverted data storage area of the memory under test 20 is read out of the address generator 11, the "1" logic is read out of each of the inverted area memories 41, 42 and 43. Pieces of data x, y and z read out of the inverted area memories 41, 42 and 43 are input, as a 3-bit select signal, into the inversion data selector 45. The inversion data selector 45 responds to the 3-bit select signal xyz to select and output inversion data prestored in the inversion data register 44 for determining whether or not to invert the test data signal. The inversion data register 44 can be formed by, for example, an 8-bit register. When the select signal xyz composed of the data read out of the three inverted area memories 41, 42 and 43 is any one of "000" to "111", the inversion data selector 45 outputs corresponding one of first to eighth bits B 1 to B 8 of the inversion data register 44 as shown in Fig. 5. In the case where the memory under test 20 has the polarity-inverted data storage area INV as depicted in Fig. 3, if at least one of the pieces of data or bits x and y read out by the X and Y addresses AX and AY from the X and Y address inverted area memories 41 and 42 shown in Fig. 4A and 4B is a "1", then the memory cell specified by the X and Y addresses AX and AY is within the polarity-inverted data storage area INV; therefore, "1's" are prestored at all of those bit positions in the inversion data register 44 which are selected by the select signal xyz in which at least one of its bits x and y goes to a "1". Thus, there are stored, for example, "0, 1, 1, 1, 0, 1, 1, 1" in the 8-bit register 44 as shown in Fig. 5. That is, when the select signal xyz is either "000" or "001", inversion data "0" of either the first or fifth bits B 1 or B 5 is selected and provided to the polarity switches 15 and 16. When the select signal xyz is any one of "100", "010", "110", "101", "011" and "111", the inversion data selector 45 selects inversion data "1" at a corresponding one of the second, third, fourth, sixth, seventh and eighth bits B 2 , B 3 , B 4 , B 6 , B 7 and B 8 , and provides the inversion data of the logic "1" to the polarity switches 15 and 16. The polarity switches 15 and 16 in this example are shown to be formed by exclusive-OR circuits. When they are supplied with the inversion data of the logic "0" from the inversion data selector 45, the test data signal TD and the expected value data ED from the data generator 12 are applied intact to the memory under test 20 and the logic comparator 30 without being inverted in polarity (i.e. logic). On the other hand, when supplied with the inversion data of the logic "1", the polarity switches 15 and 16 invert the polarities of the test data signal TD and the expected value data ED from the data generator 12 which are applied to the memory under test 20 and the logic comparator 30. Consequently, in the above example the test data signal TD to be written into the polarity-inverted data storage area INV in Fig. 3 is inverted in logic. As will be appreciated from the above, the polarity-inverted data-storage area INV of the memory under test 20 can be altered by modifying data to be prestored in the X and Y address inverted region memories 41 and 42 shown in Figs. 4A and 4B and/or data to be prestored in the inversion data register 44 shown in Fig. 5. In the Fig. 3 example of the polarity-inverted data storage area INV, the polarity inversion takes place in areas where high-order two bits X 2 and X 3 of the X address AX = X 0 X 1 X 2 X 3 are both "1's" and areas where high-order two bits Y 2 and Y 3 of the Y address AY = Y 0 Y 1 Y 2 Y 3 are both "1's"; hence, the polarity-inverted data storage area INV is specified by addresses AX, AY, AZ which satisfy the following logical expression: 1 = X 2 ·X 3 + Y 2 ·Y 3 In the conventional semiconductor memory tester shown in Fig. 2, however, as represented by the example of the logical expression (1), the polarity-inverted data storage areas that can be specified are limited to only simple ones, because the basic principle of specifying the polarity-inverted data storage area is based on the specifying of the X address polarity inverted area, the Y address polarity inverted area and the Z address polarity inverted area by the X address AX, the Y address AY and Z address AZ (X 2 ·X 3 and Y 2 ·Y 3 in the logical expression (1), for example) and on the selection of a combination of the specified areas (a logical sum or logical product, for instance, the logical sum of X 2 ·X 3 and Y 2 ·Y 3 in the above-mentioned logical expression). For example, the hatched polarity-inverted data storage area in Fig. 6 can be specified by addresses which satisfy the following logical expression (2) in which X 3 and Y 2 in the logical expression (1) are exchanged with each other: 1 = X 2 ·Y 2 + X 3 ·Y 3 With the device shown in Fig. 2, however, it is impossible to specify such a polarity-inverted data storage area as expressed by the logical expression (2). That is to say, a polarity-inverted data storage area, which is expressed by a logical expression including at least two of the logical AND between the X and Y addresses AX and AY, the logical AND between the X and Z addresses AX and AZ and the logical AND between the Y and Z addresses AY and AZ, cannot be specified except in special cases. The prior art device calls for large-capacity memories as the inverted area memories 41, 42 and 43, because they need to have a bit capacity corresponding to the number of all addresses used which is determined by the address length of the X, Y and Z address signals AX, AY and AZ. For example, when the address signals AX, AY and AZ are 16-bit, 64 K-bit memories are needed for the X, Y and Z inverted area memories 41, 42 and 43. No Z address may sometimes be needed and when used, it may be appreciably shorter than the X and Y addresses in many cases. The document DE-A-40 11 935 discloses a test signal generator for integrated semiconductor memory circuits having a plurality of bit line pairs each comprising first and second bit lines, and a signal source for outputting first and second voltages having a first and second level, respectively, wherein first switch means are provided for selecting said first and second voltages and applying them to said first and second bit lines, and second switch means for selecting and inverting said first and second voltages and applying them to said first and second bit lines. SUMMARY OF THE INVENTION It is an object of the present invention to provide a memory tester which is used to test memories having built therein the polarity inversion feature and which enables an area of an arbitrary shape to be specified with a small amount of hardware. This object is achieved with a memory tester as claimed in claim 1. Specific embodiments of the invention are subject-matter of the dependent claims. With the construction of the present invention, the bit positions in the address signal which define the area to be polarity inverted in accordance with the type of the memory under test are set in the bit register circuit. The bit data thus set in the bit register circuit is provided to the bit select circuit, by which a predetermined number of bits set in the bit register circuit are extracted and provided as a composite address signal to the area inversion memory. In the area inversion memory the polarity inversion signal is written at addresses corresponding to that area of the memory under test in which data is written after being polarity inverted. Thus, according to the present invention, when that area in the memory under test which is polarity inverted is accessed, the polarity inversion signal is read out of the area inversion memory. The polarity inversion signal is applied to the polarity inverter, by which the polarity of the data signal to be applied from the data generator to the memory under test is inverted. According to the present invention, the area inversion memory need not be large-capacity, because it is accessed using the composite address signal composed of a minimum number of bits necessary for defining the polarity-inverted data storage area of the memory under test as described above. In addition, by prestoring the polarity inversion signal at a desired address in the area inversion memory, the polarity inversion signal can be generated for any address area. Moreover, nonuse of such a large-capacity memory as in the prior art affords reduction of the amount of hardware used -- this cuts the manufacturing cost of the memory tester and permits its high-speed operation. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a diagram for explaining bit lines of a DRAM equipped with a polarity inversion feature; Fig. 2 is a block diagram of a conventional memory tester; Fig. 3 is a diagram showing an example of a polarity-inverted data storage area; Fig. 4A is a diagram showing an example of data which is set in an X address area inversion memory; Fig. 4B is a diagram showing an example of data which is set in a Y address area inversion memory; Fig. 5 is a diagram showing an example of data which is set in an inversion data register circuit; Fig. 6 is a diagram showing another example of the polarity-inverted data storage area; Fig. 7 is a block diagram illustrating an embodiment of the memory tester of the present invention; Fig. 8 is a diagram showing an operative specific example of a polarity controller 40 in Fig. 7; and Fig. 9 is a diagram showing an example of data which is stored in an area inversion memory 48. DESCRIPTION OF THE PREFERRED EMBODIMENT Fig. 7 illustrates in block form an embodiment of the present invention, in which the parts corresponding to those in Fig. 2 are identified by the same reference numerals. According to the present invention, in the memory tester which is provided with the pattern generator 10, the polarity controller 40, the polarity inverters 15 and 16 and the logic comparator 30, for testing memories having the polarity inversion feature, the polarity controller 40 is formed by a bit register circuit 46, a bit select circuit 47 and an area inversion memory 48. All bits of the address signal AD (composed of the X, Y and z addresses AX, AY and AZ) from the address generator 11 are provided in parallel to the bit select circuit 47, from which a desired number of bits at desired bit positions are selected from all the bits and output in response to select signals S applied from the bit register circuit 46. In the bit register circuit 46 there are prestored bit data for outputting a required number of select signals S for specifying the bit positions to be selected in the bit select circuit 47. A composite address CA composed of the bits selected by the bit select circuit 47 is provided to the area inversion memory 48 to read out therefrom the polarity inversion control signal CS, which is applied to the polarity inverters 15 and 16. Fig. 8 illustrates a specific operative example of the polarity controller 40 in Fig. 7. The bit select circuit 47 is made up of a predetermined number n (where n is an integer equal to or greater than 2) of multiplexers 47 1 to 47 n , each of which is supplied with all the bits of the address signal AD in parallel. The bit register circuit 46 includes n registers 46 1 to 46 n , each having stored therein bit select data. The bit select data in the registers 46 1 to 46 n is provided as select signals S 1 to S n to select control terminals SEL of the corresponding multiplexers 47 1 to 47 n , by which each multiplexer outputs a desired bit specified by all the bits of the input address AD. The n pieces of bit data selectively output from the multiplexers 47 1 to 47 n are combined into the composite address CA, which is applied to the area inversion memory 48, from which inversion control data is read out as the polarity inversion control signal CS. Next, the operation of the memory tester of the present invention, shown in Fig. 7, will be described with reference to a simple example as is the case with the prior art example depicted in Fig. 2. Let it be assumed that the memory under test 20 is a 256-bit memory having such a polarity-inverted data storage area INV as shown in Fig. 6. Further, assume that the address AD for accessing the memory 20 is composed of the 4-bit X address AX = X 0 X 1 X 2 X 3 and the 4-bit Y address AY = Y 0 Y 1 Y 2 Y 3 , and consequently the Z address is not used. The polarity-inverted data storage area INV depicted in Fig. 6 can be specified by every address which satisfies the afore-mentioned logical expression (2). Therefore the bits necessary for specifying the polarity-inverted data storage area INV are only X 2 , X 3 , Y 2 and Y 3 , and these bits are selectively output by the bit select circuit 47. Consequently, the numbers of multiplexers 47 1 to 47 n and registers 46 1 to 46 n in Fig. 8 are both at least four, and suppose that the multiplexer and the register corresponding to n in Fig. 8 are not present. The multiplexers 47 1 to 47 4 are supplied with the 8-bit address signal AD and each select one of the eight bits; hence the select signals S 1 to S 4 are each composed of three bits. Thus, the registers 46 1 to 46 n are 3-bit registers. The multiplexers 47 1 to 47 4 respond to the select signals S 1 to S 4 to selectively output the bits X 2 , X 3 , Y 2 and Y 3 , respectively, which are provided as the composite address CA to the area inversion memory 48. In the area inversion memory 48 there are written "1's" at all addresses which satisfy the logical expression (2), as shown in Fig. 9. Consequently, in the case where the bits X 2 , X 3 , Y 2 and Y 3 in the 8-bit address signal AD = X 0 X 1 X 2 X 3 Y 0 Y 1 Y 2 Y 3 generated from the address generator 11 satisfy the logical expression (2), a "1" is read out of the area inversion memory 48 and is provided to the polarity inverters 15 and 16, from which the test data signal TD and the expected value data ED of the inverted logic are output, respectively. In consequence, in the polarity-inverted data storage area INV of the memory under test 20 data is written in the same logic as in the other areas and the logic of the expected value data ED which is applied to the logic comparator 30 is also inverted. The above example has been described in connection with the memory 20 having such a polarity-inverted data storage area INV as depicted in Fig. 6, but in the case of the polarity-inverted data storage area INV of the memory shown in Fig. 3, the same bits X 2 , X 3 , Y 2 and Y 3 as those mentioned above are selectively output by the multiplexers 47 1 to 47 4 and in the area inversion memory 48 "1's" are prestored in all bits of the composite addresses CA = X 2 X 3 Y 2 Y 3 which satisfy the logical expression (1). The data which is written into the area inversion memory 48 at addresses 0000 to 1111 is "0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1". In the above the polarity controller 40 has been described on the assumption n = 4 for the sake of brevity, but it is considered that even if the polarity-inverted data storage area of, for example, a 16 M-bit or 32 M-bit DRAM which is tested by the actual memory tester is complicated in shape, 10 to 12 bits would be sufficient for the logical expression which expresses the complicated area; hence, the actual value n is selected in the range of 10 to 12. Even if n is set to 12, the capacity necessary for the area inversion memory 48 is only 4 K bits, and this is far smaller than the total capacity needed for the X, Y and Z area inversion memories in Fig. 2. As described above, the present invention enables a polarity-inverted data storage area of a complicated shape to be specified, since the polarity controller 40 is made up of the bit register circuit 46, the bit select circuit 47 and the area inversion memory 48 and since the bits necessary for the logical expression which expresses the polarity-inverted data storage area can freely be selected from the input address by the bit select circuit. Furthermore, the present invention affords substantial reduction of manufacturing costs of the memory tester, because the area inversion memories 41, 42 and 43 (see Fig. 2) need not be provided for the address signals AX, AY and AZ. Besides, the large-capacity area inversion memories 41, 42 and 43 used in the prior art need not be used and the area inversion memory 48 employed in the present invention may be a small-capacity memory, so that the operating speed of the memory tester of the present invention can be increased. It will be apparent that many modifications and variations may be effected without departing from the scope of the novel concepts of the present invention as specified by the appended claims.

Claims: A memory tester for testing memories which have a polarity inverted data storage area, comprising address generating means (11) for generating an address signal (AD) to be applied to a memory under test (20), data generating means (12) for generating a test data signal (TD) to be applied to said memory under test in synchronism with said address signal (AD) and for generating an expected value data signal(ED), a polarity inverter (15) responsive to a polarity inversion signal (CS) to invert the polarity of said test data signal (TD) to be applied to said memory under test (20), and a polarity controller (40) for applying said polarity inversion signal to said polarity inverter (15), wherein said polarity inverted data storage area is defined by a logic expression on predetermined bits of said address signal (AD), and wherein said polarity controller (40) includes: inversion memory means (48), register means (46) and selection means (47) for generating said polarity inversion signal (CS) in response to said address signal (AD), characterized in that, said register means (46) comprises a bit register circuit adapted to store bit data for specifying said predetermined ones of the bits in said address signal (AD); said selection means (47) comprises a bit select circuit for selectively outputting, as a composite address signal (CA), those bits in said address signal (AD) specified by said bit data set in said bit register circuit; and said inversion memory means (48) comprises a polarity inversion data memory which is accessed by said composite address signal (CA) to read out a respective polarity inversion date as said polarity inversion signal. The memory tester of claim 1, wherein said bit select circuit (47) includes a predetermined number of multiplexers (47 1 -47 n ) each of which is supplied with said address signal (AD) and selectively outputs a specified one of the bits in said address signal. The memory tester of claim 1 or 2, wherein said polarity inversion data memory (48) has stored therein the one logic at every composite address (CA) which satisfies said logical expression. The memory tester of claim 1, 2 or 3, further comprising another polarity inverter (16) which is supplied with said expected value data signal (ED) and outputs it intact or after converting its logic in accordance with the logic of said polarity inversion signal (CS), and a logic comparator (30) for making a logical comparison between the output of said other polarity inverter (16) and data read out of said memory under test (20) and outputting the result of said logical comparison.

Inventors: OOSAWA TOSHIMI, OOSAWA, TOSHIMI
Applicants: ADVANTEST CORP, ADVANTEST CORPORATION
Application year: 1991
Main classification: G11C29
IPC codes: G01R31, G11C29, G06F12, G06F11