TEST PATTERN GENERATOR

Abstract: A test pattern generator includes: an algorithmic pattern generator (l), a sequential pattern generator (2), a selector (9, l0, ll, l2) for selecting one of pattern data of an algorithmic pattern and a sequential pattern for use with a concerned pin of an object device to be tested; and a pattern controller (6) for controlling the selecter, whereby data to be supplied to a pin or pin block can be assigned in real time by the pattern controller.

Description: BACKGROUND OF THE INVENTION The present invention relates to a test pattern generator as described in the pre-characterizing part of claim 1. Such a test pattern generator is known from US-A-4 125 763. Various complex LSI devices including both memory units and logical units have been developed recently. Generally, the test of specific functions of complex devices is carried out with a memory tester for the memory unit and with a logic tester for the logic unit. Otherwise, if a memory unit is tested with a logic tester, for example, test patterns for the memory unit are to be stored beforehand in a pattern memory of the logic tester. Further, each of a plurality of test patterns must be changed frequently for each pin or pin block, so that it is impossible to perform pin assignment to each test pattern efficiently. The above mentioned prior art document discloses a board tester for testing a microcomputer board in a completely real-time operating state, that is operating at an actual clock frequency, and also operating peripheral logics to watch the influence of interference between the peripheral logics and the microcomputer. To this end, an external timing control function is added to compare the operation of the board with the reference (or normal) operation. In this board tester, the output of one of four multiplexers is selected by a switch, each of which gates through a different one of the data sources for the same selection code, so that the order of selection of the data sources can be varied and four independent programmed sequences are possible at each pin. However, even with the switch, a desired pattern can not arbitrarily be assigned to any pin. From US-A-4 293 950, there is further known a memory tester including an address pattern generation section, a data pattern generation section, a memory control signal generation section and a buffer memory section. Multiplexers output the patterns applied thereto from the address pattern generation section, the data pattern generation section and the memory control signal generation section or the address pattern, the data pattern or the memory control pattern from the buffer memory section in dependence of a buffer memory operation signal. Although the patterns supplied to predetermined pins can thus be changed in the real time manner, specific patterns cannot be selectively applied to an arbitrary pin. Besides, the generated patterns are patterns for a memory only. SUMMARY OF THE INVENTION It is an object of the present invention to eliminate the above problems and provide a compact test pattern generator suitable for testing a complex device having a memory unit and a logical unit, that is a test pattern generator capable of supplying a plurality of different pattern data to a desired pin or pin block at a desired test cycle. Starting from the prior art mentioned at the beginning, this object is achieved by the features given in the characterizing part of claim 1. A specific feature of the present invention resides in that the pattern controller is not constructed using a memory which stores data for the control of said selecting means, but micro control codes are skillfully employed to make the scale of the controller small. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing the construction of a test pattern generator according to an embodiment of the present invention; Fig. 2 is a block diagram showing a detailed construction of the pattern controller; Fig. 3 is a schematic diagram illustrating the input/output response of the pattern controller; Fig. 4 is a table showing an A/D output signal status of the pattern controller referenced to the address/data control signal and an input to the outer setting register; Fig. 5 is a block diagram showing the entire system wherein the test pattern generator of the invention is used as a test equipment; and Fig. 6 shows an example of the configuration of a complex device to which the test pattern generator of the present invention is applicable. DESCRIPTION OF THE PREFERRED EMBODIMENTS The preferred embodiment of the present invention will now be described with reference to the accompanying drawings. Referring to Fig. 1, reference numeral 1 denotes an algorithmic pattern generator (hereinafter abbreviated as ALPG) which generates an algorithmic pattern, while reference numeral 2 denotes a sequential pattern generator (hereinafter abbreviated as SQPG) which generates a sequential pattern. SQPG 2 is mainly constructed of a test sequence controller 3 for controlling each pin-module unit 16, an address register provided for each pin-module unit 16, and a pattern memory 5. The test sequence controller 3 gives an address to an address register 4 of the pin-module unit 16 via an address bus c . An output of the address register 4 is supplied to a pattern memory 5 storing a data pattern. The test sequence controller 3 further sends a micro control code to a pattern controller 6 via a bus line d . The pattern controller 6 controls to select a pattern. In this embodiment, the test sequence controller 3 provides micro control codes in order for the pattern controller to output four signals. The first one is a pattern mode generating signal S/A for switching between ALPG 1 and SQPG 2 in accordance with a pattern combination mode in the direction of pins. The second one is an address/data control signal A/D for selecting an address or data (including control data) of ALPG 1. The third one is an X/Y address control signal X/Y for selecting an X address or Y address of addresses of ALPG 1. The fourth one is a hold signal SH for controlling to output a hold pattern of SQPG 2, signal SH being inputted to an address register 4. ALPG 1 gives an address to an X/Y address register 17 of each pin-module 16 via an address bus a and sends data to a data register 18 via a data bus b . The X/Y address register 17 inputs X address data and Y address data via bus line e , respectively to an X address multiplexer 7 and an Y address multiplexer 8. An externally set value from an outer setting register 13 is inputted to the X address multiplexer to select a desired bit of the X address, while an externally set value from an outer setting register 14 is inputted to the Y address multiplexer to select a desired bit of the Y address. An X address value selected by the X address multiplexer 7 and an Y address value selected by the Y address multiplexer 8 are inputted to an X/Y address multiplexer 10 to which X/Y address control signal X/Y is inputted from the pattern controller 6. The data register 18 sends data to a data multiplexer 9 via a bus line f . An externally set value from an outer setting register 15 is inputted to the data multiplexer 9 to select a desired data bit on the bus line f . Data selected by the data multiplexer 9 and an address signal selected by the X/Y address multiplexer 10 are sent to an address/data multiplexer 11 which selects either the data or the address in accordance with address/data control signal A/D from the pattern controller 6 and sends it to a pattern multiplexer 12. The pattern multiplexer 12, which receives a pattern signal from the pattern memory and an address or data signal of ALPG 1 from the address/data multiplexer 11, selects a pattern in accordance with pattern generating mode signal S/A from the pattern controller 6 and outputs it. The construction of a single pin-module unit 16 is shown in the embodiment of Fig. 1, which unit is provided in one-to-one correspondence with each pin or pin block to readily assign each test pattern to a desired pin. However, the type of pattern applied to a pin or pin block is usually different depending on the type of device such as LSI device to be tested, the construction of a pin-module unit may be varied with each pin or pin block. The operation of the test pattern generator of the embodiment will be described with reference to Figs. 2 to 6. In this embodiment performing multipurpose tests, a pin is supplied either with a data pattern, including address and data (including control data) patterns from ALPG 1 and a data pattern read from the pattern memory 5 under control of the sequence controller 3, or with a hold pattern one cycle before the data pattern. A complex device as shown in Fig. 6 differs from a conventional device constructed of a memory unit or a logic unit alone, instead it is constructed in such a manner that a memory unit 20 and a logic unit composed of an arithmetic unit 30 and a shift register 40 operate in mutual association with each other. Therefore, for example, data of data input signal Din is subjected to arithmetic operation with data in the memory unit and the result is written in the memory unit 20. As a result, a read-out memory signal MO is not necessarily the same as the data input signal Din, which leads to a hardship in generating an expected value pattern if a conventional memory pattern generator ALPG 1 is used. For this reason, a logic pattern is required for an expected value pattern which is used for comparison with a memory output signal MO or an output data of the shift register 40. Further, an address input signal A applied to a memory address input is used in part as a signal for setting an arithmetic mode of the arithmetic unit 30, and also as a signal for designating an output bit length mode of the shift register 40. Consequently, it becomes necessary to switch the address input signal A between the memory unit pattern and the logic unit pattern, even in such a test mode as an operation test using a path through the memory unit and the arithmetic unit, a consecutive test of the memory and the shift register, or other tests. Further, in a parallel operation test (disturb test) of the memory unit and the shift register, it becomes necessary to generate a memory unit pattern and a logic unit pattern in parallel, which leads to a necessity of selecting in real time either an algorithmic pattern or a sequential pattern for each pin. Pattern selection is controlled by the pattern controller 6 the detail of which will first be described with reference to Fig. 2. In the figure, a microcontrol code generated by the test sequence controller 3 is loaded in a code register 61. As previously described, in order to output four types of signals from the pattern controller 6, the micro control codes of the code register 61, together with the outputs from outer setting registers 63 and 64, are inputted to control gates 65 and 66. The outputs of the control gates 65 and 66 control the multiplexers 10, 11 and 12 and the address register 4 to select a pattern in real time. The outer setting register 63 is used for designating pattern assignment of ALPG 1 or SQPG 2 for each corresponding pattern generating mode. The type of pattern selected by the control gate 65, which is inputted with pattern generating mode signals decoded by a decoder and values set by the outer setting register 63, is shown in Fig. 3. In particular, if the bit value of the outer setting register 63 is "1", output signal S/A of the control gate 65 becomes "1" to select an algorithmic pattern (hereinafter abbreviated as ALP) only in a pattern generating mode (hereinafter abbreviated as PG mode) corresponding to that bit. Whereas if the bit value of the outer setting register 63 is "0", output signal S/A becomes "0" to select a sequential pattern (hereinafter abbreviated as SQP) only in PG mode corresponding to that bit. Thus, for a repetitive pattern assignment of ALP → SQP → ALP → SQP of each test cycle for pin 1, bit data "0101" = (5) in hexadecimal notation is set in the outer setting register 63 and the PG mode signals mode 0 → mode 1 → mode 3 → mode 0 are sequentially generated in this order, to thereby perform pattern assignment in real time. In this case, for a repetitive pattern assignment of ALP SQP for respective two test cycles, bit data "0011" = (3) in hexadecimal notation is set in the outer setting register 63. Address/data control signal A/D of an ALP pattern is shown in Fig. 4 which signal varies with an address data control bit from the code register 61 and two bit data of the outer setting register 64, respectively inputted to the control gate 66. That is, three modes are obtained as address data control signal A/D. The first one is a mode selecting an address of ALPG 1 during the entire test cycle irrespective of the address/data control bit from the code register 61. The second one is a mode selecting in real time an address or data for each test cycle, depending upon the address/data control bit from the code register 61. The third one is a mode selecting data of ALPG 1 during the entire test cycle irrespective of the address/data control bit from the code register 61. In more particular, for the first mode the 2⁰ bit of the outer setting register 64 is set at "0" to make the address/data control signal A/D of the control gate 66 as of "0". Thus, the output pattern from the address/data multiplexer 11 is changed to an address. For the second mode the 2⁰ bit and 2¹ bit of the outer setting register 64 are set respectively at "1" and "0" so that the value of the address/data control bit per se from the code register 61 is directly outputted as address/data control signal A/D. The value obtained at that time is used to change the output pattern of the address/data multiplexer 11 to an address or data. For the third mode both the 2⁰ bit and 2¹ bit of the outer setting register 64 are both set at "1" to make address/data control signal A/D as of "1" and change the output pattern of the address/data multiplexer 11 to data. Selection control for an X or Y address of an ALP pattern is executed using an X/Y address control bit exactly in the same manner as selection control for an address or data of an ALP pattern shown in Fig. 4. Hold pattern control for an SQP pattern is also the same as with Fig. 4, wherein signal SH outputted from the control gate 66 inhibits loading an address to the address register 4 to thereby enable outputting from the pattern memory 5 a pattern used one cycle before. It is apparent that in the case of selecting an X/Y address of an ALP pattern, address/data selecting signal A/D is set to an address, and pattern selecting mode signal S/A is set to an ALP pattern. It is also apparent that in case of outputting a hold pattern of an SQP pattern, besides signal SH, pattern selecting mode signal S/A is set to an SQP pattern. The pattern controller described in the above embodiment has an advantageous effect that the size is reduced about one half of that of a conventional pin control table. Fig. 5 shows the entire arrangement of the test pattern generator of the present invention applied to a test equipment. In the figure, the algorithmic pattern generator 1 is used for generating a test pattern for a memory unit of a device 300 to be tested. The generator 1 delivers onto an internal bus 100 a memory address a and b including data to be written in a memory and a memory control signal. The test sequence controller 3 delivers onto the internal bus 100 a memory address c for use in outputting pattern data for a logic unit and a micro control code d of pin assignment information. Various pattern data and control data on the internal bus 100 are supplied to pin-module units 16a to 16n whose number exceeds at least the number of pins of the test device 300. In each of the pin-module unit 16a to 16n, various pattern assignments are attained in real time independently for each pin. In the pin-module, a waveform shaper (although not shown in Fig. 1) for shaping a waveform after pin assignment, is provided. Each of output patterns is supplied to drivers and comparators of a pin circuitry 200 at a tester heading portion and thereafter is supplied to the test device 300 as a test pattern. The algorithmic pattern generator 1 is started under the control of the micro program of the test sequence controller 3 and stops its operation upon reception of a signal from the algorithmic pattern generator 1 itself. In the above embodiment, the number of combination patterns in the direction of pin is mode four by using the PG mode signal. However, if the number ( m bit) of PG mode signals is increased, it is possible to increase the number of combination patterns to 2 m . The outer setting registers 13, 14 and 15 select beforehand an optional one bit for each pin-module unit 16a since the X/Y address and data of ALPG 1 have a specific bit length. Performing such selection in real time may be made by increasing the number of micro control codes of the test sequence controller 3 and by the use of the control gate 66. Further, in the above embodiment, although a pair of ALPG 1 and the sequence controller 3 has been used for all of the pin-module units 16, plural pairs of ALPG 1 and the sequence controller may be used if bus selectors and bus distributers are provided to share the pattern supply to the pin-module units. The present invention enables to provide a compact test pattern generator capable of supplying a desired test pattern among a plurality of different patterns to a desired pin or pin block.

Claims: A test pattern generator comprising means (1) for generating an algorithmic pattern, means (2) for generating a sequential pattern, means (9, 10, 11, 12) for selecting one of pattern data of said algorithmic pattern and said sequential pattern for use with a concerned pin or pin block of an object device to be tested; and a pattern controller (6) for controlling said selecting means, whereby data to be supplied to a pin or pin block can be assigned in real time by said pattern controller; wherein said sequential pattern generating means (2) comprises a test sequence controller (3) for controlling a test sequence, and said pattern controller (6) is controlled in accordance with a micro control code outputted from said test sequence controller (3); wherein said selecting means comprises a pattern multiplexer (12) for selecting one of the outputs of the algorithmic or sequential pattern generators, and wherein said pattern controller (6) comprises a code register (61) to which said micro control code is inputted, and a decoder (62) to which a pattern generating mode signal outputted from said code register (61) is inputted; characterized in that said selecting means comprises further an X/Y address multiplexer (10) for selecting an address signal from said algorithmic pattern generating means, a data multiplexer (9) for selecting a data signal from said algorithmic pattern generating means, and an address/data multiplexer (11) receiving the outputs from said X/Y address multiplexer and said data multiplexer for selecting one of said outputs and feeding it into said pattern multiplexer (12) as said output from the algorithmic pattern generator; and that said pattern controller (6) comprises a control gate (65, 66) for outputting a pattern selecting mode signal (S/A) to said pattern multiplexer (12) which instructs to select either said algorithmic pattern or said sequential pattern; an address/data control signal (A/D) to said address/data multiplexer (11) which instructs to select either an address or data of said algorithmic pattern; an X/Y address control signal (X/Y) to said X/Y address multiplexer (10) which instructs to select either an X address or an Y address of said algorithmic pattern; and a hold signal (SH) for outputting a hold pattern for said sequential pattern; wherein an address/data control bit, an X/Y address control bit and a hold control bit respectively outputted from said code register (61) and the output signal from said decoder (62) are inputted to said control gate (65, 66); and wherein the type of pattern selected by said control gate (65, 66) is, with regard to the pattern selecting mode signal (S/A), determined by a logical combination of the output of said decoder (62) and a value set by a first outer setting register (63) which is used for designating pattern assignment of said algorithmic pattern generating means (1) or said sequential pattern generating means (2); and which is, with regard to said address/data control signal (A/D), said X/Y address control signal (X/Y), and said hold signal (SH), determined by a logical combination of each of said control bits and a respective bit value set by a second outer setting register (64) so that each of said control signals (A/D, X/Y, SH) varies with the corresponding control bit from the code register (61) and data from the second outer setting register (64). A test pattern generator according to claim 1, wherein said sequential pattern generating means (2) comprises an address register (4) for inputting an address designating signal from said test sequence controller (3) and a pattern memory (5) for storing an output of said address register.

Inventors: YAMAGUCHI, KAZUO
Applicants: HITACHI, LTD.
Application year: 1986
Main classification: G01R31
IPC codes: G11C29, G01R31