US20020046372A1 - Sequence control circuit - Google Patents

Sequence control circuit Download PDF

Info

Publication number
US20020046372A1
US20020046372A1 US08/976,148 US97614897A US2002046372A1 US 20020046372 A1 US20020046372 A1 US 20020046372A1 US 97614897 A US97614897 A US 97614897A US 2002046372 A1 US2002046372 A1 US 2002046372A1
Authority
US
United States
Prior art keywords
sequence control
control circuit
program counter
test
address
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.)
Granted
Application number
US08/976,148
Other versions
US6421773B1 (en
Inventor
Toru Inagaki
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advantest Corp
Original Assignee
Advantest Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Advantest Corp filed Critical Advantest Corp
Assigned to ADVANTEST CORPORATION reassignment ADVANTEST CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: INAGAKI, TORU
Publication of US20020046372A1 publication Critical patent/US20020046372A1/en
Application granted granted Critical
Publication of US6421773B1 publication Critical patent/US6421773B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/32Address formation of the next instruction, e.g. by incrementing the instruction counter
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/27Built-in tests
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23428Select program from look up tables as function of detector states, pointer, index to program

Definitions

  • the present invention relates to a sequence control circuit, in particular to a sequence control circuit to be preferably used in a test pattern generator of a semiconductor memory test apparatus.
  • a memory test apparatus is used for testing a semiconductor memory device.
  • the memory test apparatus gives an address, data and a control signal to a memory under test (MUT) based on a predetermined test program, that is, a pattern program, and discriminates PASS/FAIL of the MUT by judging whether or not the data then read from the MUT agree with the expectation data at a predetermined timing.
  • a predetermined test program that is, a pattern program
  • FIG. 1 is a block diagram showing a basic whole structure of a conventional memory test apparatus which has been used.
  • the memory test apparatus 1 performs a test of MUT 2 and comprises: a timing generator 5 for generating a reference clock; a test pattern generator 6 for generating address signals, test data signals and control signals to be given to the MUT 2 by receiving the reference clock; a waveform shaper 7 for receiving the respective signals from the test pattern generator 6 and applying these signals to the MUT 2 after shaping them into waveforms required for the test; and a logic comparator 8 for receiving the data read from the MUT 2 and judging PASS/FAIL of the expectation data.
  • the test pattern generator 6 produces expectation data in addition to the address signals, test data signals and control signals.
  • the expectation data is supplied to the logic comparator 8 from the test pattern generator 6 .
  • the logic comparator 8 compares the expectation data with a data read from MUT 2 , performs quality judgment of the MUT according to match/mismatch of the data and outputs the result as a PASS/FAIL signal to the test pattern generator 6 . Further, when the logic comparator 8 compares the output data of the MUT 2 with the expectation data in a specific cycle of test cycles and detects the agreement between the two, the logic comparator 8 outputs a match flag MFLG to the test pattern generator 6 .
  • a series of an address, test data and a control signal to be given to the MUT 2 is called as a test pattern.
  • the test pattern generator 6 has an address generator 11 , a test data generator 12 and a control signal generator 13 which generates the address signals, the test data and the control signals to be given to the MUT 2 , respectively, and further has a sequence control circuit 10 which controls the address generator 11 , the test data generator 12 and the control signal generator 13 .
  • FIG. 2 is a block diagram showing an example of an internal structure of a conventional sequence control circuit.
  • the sequence control circuit comprises: an instruction memory 121 for storing a test program consisting of a series of instructions for generating a test pattern; a program counter (PC) 122 for designating an address of the instruction memory 121 ; a stack register 123 for temporary saving of addresses; a program counter controller 124 for controlling the program counter 122 and the stack register 123 ; a starting address register (STA) 125 for storing an initial value of the program counter 122 ; a branch address register (BAR) 126 for storing an address of a branch designated by branch instructions; an index register 127 ; an index work register 128 ; and an index counter 129 .
  • the index register 127 , the index work register 128 and the index counter 129 are all for controlling loop instructions.
  • Every one of instructions to be stored in the instruction memory 121 is composed of an operation code part, that is, an operation code part of a sequence control instruction, and an operand corresponding to each instruction code.
  • the. instruction memory 121 has a pair of a sequence control instruction area for storing the operation code part and an operand storing area for storing the operand.
  • this sequence control circuit has, in addition to the above sequence control instruction area, an address operation area, a data operation area and a control signal generation instruction area provided in a memory area of each address of instruction memory 121 .
  • the address operation area, the data operation area and the control signal generation instruction area are provided in the operand storing area.
  • the program counter controller 124 receives an operation code part of sequence control instructions from the instruction memory 121 , a match flag MFLG from the logic comparator 8 (FIG. 1) and an output of the index counter 129 . Based on the result obtained by decoding the instruction stored in the instruction memory 121 , on the match flag MFLG, and on an output from the index counter 129 , the program counter controller 124 controls the program counter 122 and the stack register 123 . In the concrete, the program counter controller 124 handles a content of the program counter 122 , that is, the value showing an address to be read next in the instruction memory 121 , through increment, decrement or hold operation, and loads the value to the program counter 122 .
  • the program counter controller 124 arranges corresponding to the instructions read out so that any one of (i) an operand of instructions for a present address of the instruction memory 121 , (ii) a content of the starting address register 125 , (iii) a content of the branch address register 126 , and (iv) a content of the stack register 123 is set to the program counter 122 as the value.
  • An address read from the operand storing area of the instruction memory 121 is also supplied to the index register 127 .
  • the index counter 129 controls loop instructions by using this index register 127 and the index work register 128 which serves as a work register, and when the counter value coincides with a specific value, outputs the value to the program counter controller 124 thereby controlling the program counter 122 .
  • the flash memory has a merit that it is a non-volatile memory and hence it can hold memory data without particular power supply from outside and can rewrite data stored in the memory in a state as it mounted on a printed wiring substrate. Characteristics of the operation of the flash memory are summarized in the following six items.
  • a first object of the present invention is to provide a sequence control circuit which can designate in a program description a plurality of branches depending on plural branch conditions, thereby enabling a user to describe the program easily.
  • a second object of the present invention is to provide a sequence control circuit which can designate in a test pattern program description of a semiconductor memory a plurality of branches depending on plural branch conditions, thereby enabling a user to describe the pattern program easily and to reduce the test time.
  • the second object of the present invention is to provide, when contents of signals outputted from a device under test is applied as a branch condition, a sequence control circuit which allows to designate a plurality of branches according to a combination of plural branch conditions.
  • the first object of the present invention is achieved by a sequence control circuit which has a program counter and in which circuit an address to be loaded to the program counter can be switched depending on the result of detection made for combinations of a plurality of branch conditions.
  • the second object of the present invention is achieved by a sequence control circuit provided in a test pattern generator of a memory test apparatus for performing a test of a semiconductor memory device, the sequence control circuit comprising an instruction memory for storing each of the instructions of the test program, a plurality of branch address registers each for storing a branch address, a logic operation circuit for receiving a plurality of flags and detecting a combination of flag values, a program counter for outputting an address to the instruction memory, a program counter controller for controlling the program counter according to a control word read from the instruction memory and selecting one of the branch address registers corresponding to a combination of the flag values, wherein the branch address stored in the branch address register selected by the program counter controller is loaded in the program counter.
  • the sequence control circuit of the present invention according to the detection result of a combination of a plurality of flags which represent branch conditions, the address to be loaded into the program counter is switched. Therefore, by employing the sequence control circuit in the pattern generator of the memory test apparatus for performing the semiconductor memory test, a complicated test pattern can easily be produced through a relatively simple modification of the circuit.
  • FIG. 1 is a block diagram showing a structure of a memory test apparatus of a common type
  • FIG. 2 is a block diagram showing a structure of a conventional sequence control circuit
  • FIG. 3 is a block diagram showing a structure of a sequence control circuit of a preferable embodiment of the present invention.
  • a sequence control circuit shown in FIG. 3 is used, in the same manner as a conventional sequence control circuit shown in FIG. 2, as the sequence control circuit 10 provided in the test pattern generator 6 of memory test apparatus 1 as shown in FIG. 1.
  • the memory test apparatus in this embodiment is different from that of FIG. 1, in that a plurality of flags are inputted in the test pattern generator 6 from the logic comparator 8 .
  • the sequence control circuit of the present embodiment shown in FIG. 3 comprises: an instruction memory 21 for storing a test program consisting of a series of instructions for generating a test pattern; a program counter (PC) 22 for designating an address of instruction memory 21 ; a stack register 23 for temporary saving of addresses; a program counter controller 24 for controlling the program counter 22 and the stack register 23 ; a starting address register (STA) 25 for storing an initial value of the program counter 22 ; a plurality of branch address registers (BARS) 26 1 to 26 n each for storing the address of the branch designated by branch instructions; an index register 27 ; an index work register 28 ; an index counter 29 and a logic operation circuit 30 .
  • an instruction memory 21 for storing a test program consisting of a series of instructions for generating a test pattern
  • PC program counter
  • STA starting address register
  • BARS branch address registers
  • the logic operation circuit 30 receives a plurality of flags (two flags FLG 1 , FLG 2 are shown in the example illustrated) for decoding these plurality of flags.
  • a branch address can be set to each of the branch address registers 26 1 to 26 n , independently.
  • the instruction memory 21 has a same structure and same function as those of the instruction memory 121 in the conventional sequence control circuit shown in FIG. 2 and has a pair of sequence control instruction areas for storing an operation code part and an operand storing area for storing an operand.
  • the program counter controller 24 receives an operation code part of sequence control instructions from the instruction memory 21 , an output from the logic operation circuit 30 and an output of the index counter 29 .
  • the program counter controller 24 controls the program counter 22 and the stack register 23 based on the result obtained by decoding the instructions stored in instruction memory 21 and based on the outputs from the logic operation circuit 30 and the index counter 29 .
  • the program counter controller 24 handles a content of the program counter 22 , that is, the value showing an address to be read next in the instruction memory 21 , through the increment, decrement or hold operation and loads the value into the program counter 22 .
  • the program counter controller 24 arranges according to the instructions read out so that any one of (i) an operand of the instruction for a present address of the instruction memory 21 , (ii) a content of the starting address register 25 , (iii) contents of the branch address registers 26 1 to 26 n , and (iv) a content of the stack register 23 is set to the program counter 22 as the value.
  • An address read from the operand storing area of the instruction memory 21 is also supplied to the index register 27 .
  • the index counter 29 controls loop instructions by using this index register 27 and the index work register 28 which serves as a work register, and when the counter value coincides with a specific value, outputs the value to the program counter controller 24 thereby controlling the program counter 22 .
  • the sequence control circuit shown in FIG. 3 when compared with the conventional sequence control circuit shown in FIG. 2, the sequence control circuit shown in FIG. 3 according to the present invention has a plurality of branch address registers 26 1 to 26 n and the logic operation circuit 30 for decoding a plurality of inputted flags. Accordingly the sequence control circuit shown in FIG. 3 differs from that shown in FIG. 2 in that output data of the logic operation circuit 30 are input, instead of flags, directly to the program counter controller 24 .
  • a plurality of branch address registers 26 1 to 26 n are provided and combinations of respective values of a plurality of flags are detected by the logic operation circuit 30 . It is arranged such that an address stored in a certain branch address register is to be loaded to the program counter 22 according to the detected combination of the flag values. Of course, in some case according to a type of detected combination, an address in the branch address register is not loaded, but instead, increment or decrement operation is performed with reference to the current value of the program counter 22 . In other words, in this sequence control circuit, it is arranged such that an address to be loaded to the program counter 22 can be selected from a plurality of branch addresses by using a plurality of flags.
  • Equation (1) shows that if flag FLG 1 value is “1”, then an branch address is loaded to the program counter, that is, a conditional branch takes place
  • equation (2) shows that a value of a program counter is handled by the increment operation, that is, the program is executed without having any branch. Namely, in this case, it can not finish a loop until the flag value reaches “1”.
  • branches as follows corresponding to the combination of values of two flags FLG 1 , FLG 2 .
  • “(FLG 2 )” represents the value of flag FLG 2
  • marks m, n, k show branch addresses set in the respective different branch address register.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Programmable Controllers (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)
  • Executing Machine-Instructions (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

A sequence control circuit provided in such as a test pattern generator of a memory test apparatus, and made capable of designating a plurality of branches according to a plurality of branch conditions in describing a test pattern program. This sequence control circuit comprises a plurality of branch address registers for storing different branch addresses, respectively, and a logic operation circuit receiving a plurality of flags for detecting combinations of flag values. A program counter controller selects a certain branch address according to a combination of flag values detected in the logic operation circuit and arranges to load the branch address stored in the selected branch address register to a program counter.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to a sequence control circuit, in particular to a sequence control circuit to be preferably used in a test pattern generator of a semiconductor memory test apparatus. [0002]
  • 2. Description of the Prior Art [0003]
  • A memory test apparatus is used for testing a semiconductor memory device. The memory test apparatus gives an address, data and a control signal to a memory under test (MUT) based on a predetermined test program, that is, a pattern program, and discriminates PASS/FAIL of the MUT by judging whether or not the data then read from the MUT agree with the expectation data at a predetermined timing. When address signals, test data signals and control signals are supplied to the MUT, the expectation data is considered to mean the data to be outputted from the normal MUT corresponding to a combination of the above address signals, test data signals and control signals. [0004]
  • FIG. 1 is a block diagram showing a basic whole structure of a conventional memory test apparatus which has been used. The [0005] memory test apparatus 1 performs a test of MUT 2 and comprises: a timing generator 5 for generating a reference clock; a test pattern generator 6 for generating address signals, test data signals and control signals to be given to the MUT 2 by receiving the reference clock; a waveform shaper 7 for receiving the respective signals from the test pattern generator 6 and applying these signals to the MUT 2 after shaping them into waveforms required for the test; and a logic comparator 8 for receiving the data read from the MUT 2 and judging PASS/FAIL of the expectation data.
  • The [0006] test pattern generator 6 produces expectation data in addition to the address signals, test data signals and control signals. The expectation data is supplied to the logic comparator 8 from the test pattern generator 6. The logic comparator 8 compares the expectation data with a data read from MUT 2, performs quality judgment of the MUT according to match/mismatch of the data and outputs the result as a PASS/FAIL signal to the test pattern generator 6. Further, when the logic comparator 8 compares the output data of the MUT 2 with the expectation data in a specific cycle of test cycles and detects the agreement between the two, the logic comparator 8 outputs a match flag MFLG to the test pattern generator 6. Here, a series of an address, test data and a control signal to be given to the MUT 2 is called as a test pattern.
  • Now, the [0007] test pattern generator 6 has an address generator 11, a test data generator 12 and a control signal generator 13 which generates the address signals, the test data and the control signals to be given to the MUT 2, respectively, and further has a sequence control circuit 10 which controls the address generator 11, the test data generator 12 and the control signal generator 13.
  • FIG. 2 is a block diagram showing an example of an internal structure of a conventional sequence control circuit. [0008]
  • The sequence control circuit comprises: an [0009] instruction memory 121 for storing a test program consisting of a series of instructions for generating a test pattern; a program counter (PC) 122 for designating an address of the instruction memory 121; a stack register 123 for temporary saving of addresses; a program counter controller 124 for controlling the program counter 122 and the stack register 123; a starting address register (STA) 125 for storing an initial value of the program counter 122; a branch address register (BAR) 126 for storing an address of a branch designated by branch instructions; an index register 127; an index work register 128; and an index counter 129. The index register 127, the index work register 128 and the index counter 129 are all for controlling loop instructions.
  • Every one of instructions to be stored in the [0010] instruction memory 121 is composed of an operation code part, that is, an operation code part of a sequence control instruction, and an operand corresponding to each instruction code. Corresponding to these instructions, the. instruction memory 121 has a pair of a sequence control instruction area for storing the operation code part and an operand storing area for storing the operand. In case of a sequence control circuit of this type, there is an operand of a type which expresses a designated branch address or loop conditions in a test program or of a type which describes a parameter for generating an address, test data and a control signal to be given to the MUT 2. Accordingly, this sequence control circuit has, in addition to the above sequence control instruction area, an address operation area, a data operation area and a control signal generation instruction area provided in a memory area of each address of instruction memory 121. The address operation area, the data operation area and the control signal generation instruction area are provided in the operand storing area.
  • When the [0011] instruction memory 121 is accessed by the address outputted from the program counter 122, instructions for address generation, test data generation and control signal generation are read from the address operation area, the data operation area and the control signal generation instruction area and then supplied to the address generator 11 (FIG. 1), the test data generator 12 (FIG. 1) and the control signal generator 13 (FIG. 1), respectively. Thus, the address generator 11, the test data generator 12 and the control signal generator 13 generate an address, test data and a control signal for the MUT 2, respectively.
  • The [0012] program counter controller 124 receives an operation code part of sequence control instructions from the instruction memory 121, a match flag MFLG from the logic comparator 8 (FIG. 1) and an output of the index counter 129. Based on the result obtained by decoding the instruction stored in the instruction memory 121, on the match flag MFLG, and on an output from the index counter 129, the program counter controller 124 controls the program counter 122 and the stack register 123. In the concrete, the program counter controller 124 handles a content of the program counter 122, that is, the value showing an address to be read next in the instruction memory 121, through increment, decrement or hold operation, and loads the value to the program counter 122. For loading the above value to the program counter 122, the program counter controller 124 arranges corresponding to the instructions read out so that any one of (i) an operand of instructions for a present address of the instruction memory 121, (ii) a content of the starting address register 125, (iii) a content of the branch address register 126, and (iv) a content of the stack register 123 is set to the program counter 122 as the value.
  • An address read from the operand storing area of the [0013] instruction memory 121 is also supplied to the index register 127. The index counter 129 controls loop instructions by using this index register 127 and the index work register 128 which serves as a work register, and when the counter value coincides with a specific value, outputs the value to the program counter controller 124 thereby controlling the program counter 122.
  • Now in recent years, a semiconductor memory called a flash memory has been developed and manufactured. The flash memory has a merit that it is a non-volatile memory and hence it can hold memory data without particular power supply from outside and can rewrite data stored in the memory in a state as it mounted on a printed wiring substrate. Characteristics of the operation of the flash memory are summarized in the following six items. [0014]
  • (1) operation mode setting by command input, [0015]
  • (2) automatic write, [0016]
  • (3) automatic erase (chip erase/block erase), [0017]
  • (4) detection of data write completion/erase completion, [0018]
  • (5) block protection function, [0019]
  • (6) device code. [0020]
  • Therefore, it is possible to set automatic erasing activity to be performed by a chip unit or a block unit in the flash memory by command input. However, with the flash memory, erasable number of times for the block unit is limited within a certain value while having a probability of breaking down a device due to excess erasing. Therefore, it is necessary to detect the state which informs of write completion/erase completion. In a test pattern for performing a flash memory test, according to a detection result, which is a flag, with reference to a write completion/erase completion state, it switches the branch address of the program counter in the sequence control circuit. [0021]
  • As described above, when the flash memory test is performed, it is required to switch the branch address in the sequence control circuit corresponding to the state of a flag. In the conventional sequence control circuit described above, it is possible to switch the branch address by an indication of one flag. However, when the branch address is switched according to a combination of a plurality of flag values detected from the flash memory, for example, when the branch address of the pattern program is switched according to contents of both flags, one flag showing execution or termination of automatic algorithm and the other flag showing time limit over, with the conventional sequence control circuit described above, it is impossible to describe switching of the branch address like this only with one statement in the test program. [0022]
  • SUMMARY OF THE INVENTION
  • A first object of the present invention is to provide a sequence control circuit which can designate in a program description a plurality of branches depending on plural branch conditions, thereby enabling a user to describe the program easily. [0023]
  • A second object of the present invention is to provide a sequence control circuit which can designate in a test pattern program description of a semiconductor memory a plurality of branches depending on plural branch conditions, thereby enabling a user to describe the pattern program easily and to reduce the test time. In the concrete, the second object of the present invention is to provide, when contents of signals outputted from a device under test is applied as a branch condition, a sequence control circuit which allows to designate a plurality of branches according to a combination of plural branch conditions. [0024]
  • The first object of the present invention is achieved by a sequence control circuit which has a program counter and in which circuit an address to be loaded to the program counter can be switched depending on the result of detection made for combinations of a plurality of branch conditions. [0025]
  • The second object of the present invention is achieved by a sequence control circuit provided in a test pattern generator of a memory test apparatus for performing a test of a semiconductor memory device, the sequence control circuit comprising an instruction memory for storing each of the instructions of the test program, a plurality of branch address registers each for storing a branch address, a logic operation circuit for receiving a plurality of flags and detecting a combination of flag values, a program counter for outputting an address to the instruction memory, a program counter controller for controlling the program counter according to a control word read from the instruction memory and selecting one of the branch address registers corresponding to a combination of the flag values, wherein the branch address stored in the branch address register selected by the program counter controller is loaded in the program counter. [0026]
  • In other words, in the sequence control circuit of the present invention, according to the detection result of a combination of a plurality of flags which represent branch conditions, the address to be loaded into the program counter is switched. Therefore, by employing the sequence control circuit in the pattern generator of the memory test apparatus for performing the semiconductor memory test, a complicated test pattern can easily be produced through a relatively simple modification of the circuit. [0027]
  • When a time-out occurs during block erasing operation in a flash memory test, the flash memory has been considered defective as it is in the test according to the conventional test pattern, however, in this case, the memory is good and usable in the blocks other than the block showing the time-out. Therefore, it is only necessary to jump to any other block to continue the test without merely discarding the useful memory as defective. According to the sequence control circuit of the present invention, it is particularly easy to generate the test pattern in these cases. [0028]
  • The above and other objects, features, and advantages of the present invention will become apparent from the following description based on the accompanying drawings which illustrate an example of a preferred embodiment of the present invention.[0029]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram showing a structure of a memory test apparatus of a common type; [0030]
  • FIG. 2 is a block diagram showing a structure of a conventional sequence control circuit; and [0031]
  • FIG. 3 is a block diagram showing a structure of a sequence control circuit of a preferable embodiment of the present invention.[0032]
  • DESCRIPTION OF THE PREFERRED EMBODIMENT
  • A sequence control circuit shown in FIG. 3 is used, in the same manner as a conventional sequence control circuit shown in FIG. 2, as the [0033] sequence control circuit 10 provided in the test pattern generator 6 of memory test apparatus 1 as shown in FIG. 1. However, the memory test apparatus in this embodiment is different from that of FIG. 1, in that a plurality of flags are inputted in the test pattern generator 6 from the logic comparator 8.
  • The sequence control circuit of the present embodiment shown in FIG. 3 comprises: an [0034] instruction memory 21 for storing a test program consisting of a series of instructions for generating a test pattern; a program counter (PC) 22 for designating an address of instruction memory 21; a stack register 23 for temporary saving of addresses; a program counter controller 24 for controlling the program counter 22 and the stack register 23; a starting address register (STA) 25 for storing an initial value of the program counter 22; a plurality of branch address registers (BARS) 26 1 to 26 n each for storing the address of the branch designated by branch instructions; an index register 27; an index work register 28; an index counter 29 and a logic operation circuit 30. The logic operation circuit 30 receives a plurality of flags (two flags FLG1, FLG2 are shown in the example illustrated) for decoding these plurality of flags. A branch address can be set to each of the branch address registers 26 1 to 26 n, independently.
  • The [0035] instruction memory 21 has a same structure and same function as those of the instruction memory 121 in the conventional sequence control circuit shown in FIG. 2 and has a pair of sequence control instruction areas for storing an operation code part and an operand storing area for storing an operand.
  • The [0036] program counter controller 24 receives an operation code part of sequence control instructions from the instruction memory 21, an output from the logic operation circuit 30 and an output of the index counter 29. The program counter controller 24 controls the program counter 22 and the stack register 23 based on the result obtained by decoding the instructions stored in instruction memory 21 and based on the outputs from the logic operation circuit 30 and the index counter 29. In the concrete, the program counter controller 24 handles a content of the program counter 22, that is, the value showing an address to be read next in the instruction memory 21, through the increment, decrement or hold operation and loads the value into the program counter 22. For loading the above value to program counter 22, the program counter controller 24 arranges according to the instructions read out so that any one of (i) an operand of the instruction for a present address of the instruction memory 21, (ii) a content of the starting address register 25, (iii) contents of the branch address registers 26 1 to 26 n, and (iv) a content of the stack register 23 is set to the program counter 22 as the value.
  • An address read from the operand storing area of the [0037] instruction memory 21 is also supplied to the index register 27. The index counter 29 controls loop instructions by using this index register 27 and the index work register 28 which serves as a work register, and when the counter value coincides with a specific value, outputs the value to the program counter controller 24 thereby controlling the program counter 22.
  • As a result, when compared with the conventional sequence control circuit shown in FIG. 2, the sequence control circuit shown in FIG. 3 according to the present invention has a plurality of branch address registers [0038] 26 1 to 26 n and the logic operation circuit 30 for decoding a plurality of inputted flags. Accordingly the sequence control circuit shown in FIG. 3 differs from that shown in FIG. 2 in that output data of the logic operation circuit 30 are input, instead of flags, directly to the program counter controller 24.
  • In this sequence control circuit, a plurality of branch address registers [0039] 26 1 to 26 n are provided and combinations of respective values of a plurality of flags are detected by the logic operation circuit 30. It is arranged such that an address stored in a certain branch address register is to be loaded to the program counter 22 according to the detected combination of the flag values. Of course, in some case according to a type of detected combination, an address in the branch address register is not loaded, but instead, increment or decrement operation is performed with reference to the current value of the program counter 22. In other words, in this sequence control circuit, it is arranged such that an address to be loaded to the program counter 22 can be selected from a plurality of branch addresses by using a plurality of flags.
  • Now, the present embodiment will be described in more detail by comparing the operation of the conventional sequence control circuit shown in FIG. 2, into which only one flag is inputted, with the operation of the present embodiment. [0040]
  • In case of the conventional sequence control circuit shown in FIG. 2, at most one branch address corresponds to the content of one flag FLG[0041] 1 (here, a match flag MFLG corresponds to flag FLG1). In this case, the process in which the flag is detected and a program counter value changes correspondingly is shown as follows. Here, “(FLG1)” represents the value of flag FLG1, “PC” represents a program counter, “(PC)” shows the present value of the program counter, “m” shows a branch address stored in the branch address register, “→” represents load, that is, the value to the left of this mark is stored in an item on the right side of this mark.
  • If (FLG1)=0, then m→PC  (1)
  • If (FLG1)=1, then (PC)+1→PC  (2)
  • Equation (1) shows that if flag FLG[0042] 1 value is “1”, then an branch address is loaded to the program counter, that is, a conditional branch takes place, equation (2) shows that a value of a program counter is handled by the increment operation, that is, the program is executed without having any branch. Namely, in this case, it can not finish a loop until the flag value reaches “1”. By arranging this flag detection branch instructions and index loop instructions in a combination, it becomes possible to describe a pattern in which, if a write termination flag is not detected after a writing loop of predetermined cycles is completed in a flash memory test, it will be judged as FAIL.
  • While, in case of the present embodiment, it is possible to generate, for example, branches as follows corresponding to the combination of values of two flags FLG[0043] 1, FLG2. “(FLG2)” represents the value of flag FLG2, and marks m, n, k show branch addresses set in the respective different branch address register.
  • If (FLG1)=0 and (FLG2)=0, then m→PC  (3)
  • If (FLG1)=1 and (FLG2)=0, then (PC)+1→PC  (4)
  • If (FLG1)=0 and (FLG2)=1, then n→PC  (5)
  • If (FLG1)=1 and (FLG2)=1, then k→PC  (6)
  • In this way in case of the present embodiment, with combination of two flags FLG[0044] 1 and FLG2, there are three kinds of branch addresses (equations (3), (5), (6)) which can be set, while having one case of no branch address (equation (4)), thus realizing designation of a plurality of branch addresses by using a plurality of flags.
  • By using the sequence control circuit of the present embodiment and by allocating flags, one flag showing execution or termination of automatic algorithm and the other flag showing a time-over, to the above two flags FLG[0045] 1, FLG2, respectively, it becomes possible to simply describe a test pattern with one statement in the test program, the test pattern which allows to change a branch according to the value of two flags, but so far a complicated description has been required to prepare the test pattern.
  • The present invention has been described above with an example which uses two flags, however, the case with flags of three or more can be realized in the same way as described above. [0046]
  • It is to be understood, however, that although the characteristics and advantages of the present invention have been set forth in the foregoing description, the disclosure is illustrative only, and changes may be made in the arrangement of the parts within the scope of the appended claims. [0047]

Claims (7)

What is claimed is:
1. A sequence control circuit comprising:
an instruction memory for storing each of instructions of a program;
a plurality of branch address registers each for storing a branch address;
a logic operation circuit for detecting a combination of flag values by receiving a plurality of flags;
a program counter for outputting an address to the instruction memory; and
a program counter controller for controlling the program counter according to a control word read from the instruction memory and for selecting one of the branch address register corresponding to a combination of the flag values; wherein
the branch address stored in the branch address register selected by the program counter controller is loaded into the program counter.
2. The sequence control circuit according to claim 1, further comprising an index register and an index counter for controlling loop instructions.
3. The sequence control circuit according to claim 1, wherein the program is a test program and the sequence control circuit is provided in a test pattern generator of a memory test apparatus for performing a test of a semiconductor memory device.
4. The sequence control circuit according to claim 2, wherein the program is the test program and the sequence control circuit is provided in the test pattern generator of the memory test apparatus for performing the test of the semiconductor memory device.
5. The sequence control circuit according to claim 3, wherein the instruction memory comprises a sequence control instruction area for storing an operation code part of sequence control instructions and an operand storing area for storing an operand corresponding to the operation code part, and the operation code part stored in the sequence control instruction area is supplied to the program counter controller as the control word.
6. The sequence control circuit according to claim 4, wherein the instruction memory comprises a sequence control instruction area for storing an operation code part of sequence control instructions and an operand storing area for storing an operand corresponding to the operation code part, the operation code part stored in said sequence control instruction area is supplied to the program counter controller as the control word, and address information read from the operand storing area is supplied to the index register.
7. A sequence control circuit provided in a test pattern generator of a memory test apparatus which performs a test of a semiconductor memory device, said sequence control circuit having a program counter, comprising:
a detecting means for detecting a combination of a plurality of branch conditions;
a switching means for switching an address to be loaded into the program counter according to a detection result of the detecting means.
US08/976,148 1996-11-27 1997-11-21 Sequence control circuit Expired - Fee Related US6421773B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP8-316229 1996-11-27
JP8316229A JPH10161899A (en) 1996-11-27 1996-11-27 Sequence control circuit
JP316229/1996 1996-11-27

Publications (2)

Publication Number Publication Date
US20020046372A1 true US20020046372A1 (en) 2002-04-18
US6421773B1 US6421773B1 (en) 2002-07-16

Family

ID=18074756

Family Applications (1)

Application Number Title Priority Date Filing Date
US08/976,148 Expired - Fee Related US6421773B1 (en) 1996-11-27 1997-11-21 Sequence control circuit

Country Status (5)

Country Link
US (1) US6421773B1 (en)
JP (1) JPH10161899A (en)
KR (1) KR100277770B1 (en)
DE (1) DE19752443A1 (en)
TW (1) TW362191B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120066480A1 (en) * 2010-09-13 2012-03-15 Sony Corporation Processor

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19930169B4 (en) * 1999-06-30 2004-09-30 Infineon Technologies Ag Test device and method for testing a memory
JP4686805B2 (en) * 2000-01-25 2011-05-25 ソニー株式会社 Data storage element manufacturing method, data storage element, and data processing apparatus
JP2001282324A (en) * 2000-03-30 2001-10-12 Ando Electric Co Ltd Sequence control circuit
JP2002093193A (en) * 2000-09-13 2002-03-29 Advantest Corp Method and device for testing memory
DE10110050A1 (en) * 2001-03-02 2002-09-05 Bosch Gmbh Robert Method for protecting safety-critical program parts or routines from inadvertent execution, especially for automotive use, in which a safety critical routine will only run if a bit pattern has been set by a calling program section
JP2004151990A (en) 2002-10-30 2004-05-27 Renesas Technology Corp Program counter circuit
KR100788913B1 (en) * 2005-11-18 2007-12-27 주식회사디아이 Pre-Branch Pattern Generator for Test System of Semiconductor Apparatus

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4167779A (en) * 1978-03-10 1979-09-11 Digital Equipment Corporation Diagnostic apparatus in a data processing system
FR2472234A1 (en) * 1979-12-21 1981-06-26 Philips Ind Commerciale COMMUNICATION PROTOCOLS MANAGED BY COMMUNICATION MODULES USED IN A DISTRIBUTED DATA PROCESSING SYSTEM
US5652910A (en) * 1989-05-04 1997-07-29 Texas Instruments Incorporated Devices and systems with conditional instructions
US6047122A (en) * 1992-05-07 2000-04-04 Tm Patents, L.P. System for method for performing a context switch operation in a massively parallel computer system
US5646948A (en) * 1993-09-03 1997-07-08 Advantest Corporation Apparatus for concurrently testing a plurality of semiconductor memories in parallel
JP2646972B2 (en) * 1993-11-01 1997-08-27 日本電気株式会社 Multi-bit memory
JPH08129056A (en) * 1994-10-31 1996-05-21 Ando Electric Co Ltd Pattern generator of semiconductor testing apparatus
US5568437A (en) * 1995-06-20 1996-10-22 Vlsi Technology, Inc. Built-in self test for integrated circuits having read/write memory
US5854801A (en) * 1995-09-06 1998-12-29 Advantest Corp. Pattern generation apparatus and method for SDRAM
JP3249040B2 (en) * 1995-12-05 2002-01-21 株式会社アドバンテスト Scan test equipment
JP3150611B2 (en) * 1996-03-29 2001-03-26 株式会社東芝 Pattern generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120066480A1 (en) * 2010-09-13 2012-03-15 Sony Corporation Processor
CN102402418A (en) * 2010-09-13 2012-04-04 索尼公司 Processor
US9841978B2 (en) * 2010-09-13 2017-12-12 Sony Corporation Processor with a program counter increment based on decoding of predecode bits
US11200059B2 (en) 2010-09-13 2021-12-14 Sony Corporation Processor with a program counter increment based on decoding of predecode bits

Also Published As

Publication number Publication date
DE19752443A1 (en) 1998-06-04
TW362191B (en) 1999-06-21
US6421773B1 (en) 2002-07-16
JPH10161899A (en) 1998-06-19
KR100277770B1 (en) 2001-01-15
KR19980042835A (en) 1998-08-17

Similar Documents

Publication Publication Date Title
KR0148621B1 (en) Device for testing flash memory
US5604756A (en) Testing device for concurrently testing a plurality of semiconductor memories
US7359822B2 (en) Testing device
KR19980055748A (en) Flash memory device
US6097206A (en) Memory tester and method of switching the tester to RAM test mode and ROM test mode
US5019970A (en) IC card
US6421773B1 (en) Sequence control circuit
KR940006148A (en) Memory device with test function
US5889786A (en) Memory testing device
US6484282B1 (en) Test pattern generator, a memory testing device, and a method of generating a plurality of test patterns
US4888715A (en) Semiconductor test system
US6907385B2 (en) Memory defect redress analysis treating method, and memory testing apparatus performing the method
US20040145933A1 (en) Semiconductor memory test apparatus and method for address generation for defect analysis
US6543019B2 (en) Method for built-in self test of an electronic circuit
US5127010A (en) Pattern generator
US6678852B2 (en) Semiconductor device testing apparatus
JPS62226306A (en) Programmable sequencer
US6601204B1 (en) Pattern generating method, pattern generator using the method, and memory tester using the pattern generator
US20070168773A1 (en) Semiconductor memory unit with repair circuit
US5566109A (en) EEPROM, write control method for EEPROM, and IC card
US6590414B2 (en) Circuit architecture for performing a trimming operation on integrated circuits
KR100632338B1 (en) Semiconductor device and test method thereof
JPH033200A (en) Semiconductor memory
US6118294A (en) Integrated circuit testing device
US4829461A (en) Apparatus for detecting sequential data string

Legal Events

Date Code Title Description
AS Assignment

Owner name: ADVANTEST CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:INAGAKI, TORU;REEL/FRAME:008835/0052

Effective date: 19971111

FPAY Fee payment

Year of fee payment: 4

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Expired due to failure to pay maintenance fee

Effective date: 20100716